A Class to store the Monte Carlo particle information.
The PrintTauTauMCParticles module.
virtual ~PrintTauTauMCParticlesModule()
Destructor.
virtual void event() override
Method is called for each event.
std::vector< bool > m_seen
Tag the particles which were already visited using their index.
int m_maxLevel
Show only up to specified depth level.
std::string m_particleList
The name of the MCParticle collection.
PrintTauTauMCParticlesModule()
Constructor.
bool m_onlyPrimaries
Print only primary particles.
void printTree(const MCParticle &mc, int level=0)
Loops recursively over the MCParticle list and prints information about each particle.