SQLamarr
The stand-alone ultra-fast simulation option for the LHCb experiment
SQLamarr.MCParticleSelector.MCParticleSelector Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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.


The documentation for this class was generated from the following file: