GraphTemplate (Python)
The GraphTemplate Cython class wraps the C++ graph_template.
User graph classes must subclass it and override CompileEvent to call
define_particle_nodes and register features.
Special Methods
Signature |
Description |
|---|---|
|
Integer hash from the first 8 hex digits of |
|
Equality based on C++ |
|
Return |
Properties
Property |
Type |
Description |
|---|---|---|
|
|
Event index (read-only, from the underlying |
|
|
ROOT TTree name (read-only). |
|
|
Pre-selection flag (read/write). Return |
C++ Interface (called from subclass CompileEvent)
Method |
Description |
|---|---|
|
Set the node particle list from a |
|
Set the edge connectivity function |
|
Return the underlying event cast to type |
|
Register a truth graph-level feature function. |
|
Register a data graph-level feature function. |
|
Register a truth node-level feature function. |
|
Register a data node-level feature function. |
|
Register a truth edge-level feature function. |
|
Register a data edge-level feature function. |