Check for the existence of an inclusive particle in the list of generated particles.
InclusiveParticleCheckerModule()
Constructor: Sets the description, the properties and the parameters of the module.
virtual void initialize() override
Register input and output data.
virtual void event() override
Look for the particle and set the return type.
bool m_includeConjugates
If true require either the particle or its charge conjugate.
std::vector< boost::variant< std::string, int > > m_particles
Name or PDG string of the particle to look for.
StoreArray< MCParticle > m_mcParticles
List of generated particles.
std::set< int > m_particleCodes
Set of PDG codes to look for.