xAODParticleDecayFilter(const std::string &name, ISvcLocator *pSvcLocator)
Class to filter events based on the decay of a parent particle into a set of children particles.
StatusCode filterEvent() override
StatusCode filterFinalize() override
StatusCode filterInitialize() override
SG::ReadHandleKey< xAOD::TruthEventContainer > m_truthEventsKey
ReadHandle for the TruthEvents.
Gaudi::Property< unsigned int > m_pdgIdParent
Particle ID of parent particle.
Gaudi::Property< bool > m_checkCharge
Toggle whether we check the charge of children particles.
Gaudi::Property< std::vector< int > > m_pdgIdChildren
Particle IDs of children of parent particle.