Converts GenParticles into MCParticles preserving the graph structure. More...
Public Member Functions | |
def | __init__ (self, SQLite3DB db) |
Acquires the reference to an open connection to the DB. More... | |
Converts GenParticles into MCParticles preserving the graph structure.
The event described with GenParticles and GenVertices is described with much more detail than what is needed to match reconstructed particles to their MC-true couterparts. MCParticleSelector
is a Transformer copying the GenParticles table into an MCParticle table, "skipping" particles irrelevant for MC matching while preserving the tree structure of the decay representation.
Note that the GenParticles
graph is a DAG, but not a tree, with vertices (graph nodes) defining multiple inputs (describing interactions) while the MCParticle
graph is a tree, with each vertex (node) accepting a single input particle (decay vertex).
Definition at line 19 of file MCParticleSelector.py.
def SQLamarr.MCParticleSelector.MCParticleSelector.__init__ | ( | self, | |
SQLite3DB | db | ||
) |
Acquires the reference to an open connection to the DB.
Definition at line 35 of file MCParticleSelector.py.