int m_maxLevel
Show only up to specified depth level.
std::string m_particleList
The name of the MCParticle collection.
StoreArray< MCParticle > m_mcparticles
store array for the MCParticles
virtual void initialize() override
init.
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.
A Class to store the Monte Carlo particle information.
std::vector< bool > m_seen
Tag the particles which were already visited using their index.
virtual ~PrintMCParticlesModule()
Destructor.
virtual void event() override
Method is called for each event.