virtual StatusCode initialize()
Dummy implementation of the initialisation function.
virtual int execute() const
Method to be called for each event.
CopyTruthParticles(const std::string &name)
Constructor.
SG::WriteHandleKey< ConstDataVector< xAOD::TruthParticleContainer > > m_outTruthPartKey
Key for output truth particles.
Class describing a truth particle in the MC record.
virtual bool classify(const xAOD::TruthParticle *tp) const =0
Classifier function(s)
SG::ReadHandleKey< xAOD::TruthEventContainer > m_truthEventKey
Key for input truth event.
Gaudi::Property< float > m_ptmin
Minimum pT for particle selection (in MeV)