5#ifndef TRUTHCLOSURECHECK_H
6#define TRUTHCLOSURECHECK_H
18 using AthReentrantAlgorithm::AthReentrantAlgorithm;
19 virtual StatusCode
initialize()
override final;
20 virtual StatusCode
execute(
const EventContext& ctx)
const override final;
23 StatusCode
sanityCheck(
const HepMC::GenEvent& event)
const;
33 const HepMC::GenVertex& resetVertex)
const;
35 const HepMC::GenParticle& resetParticle)
const;
37 const HepMC::GenVertex& resetVertex)
const;
40 const HepMC::FourVector& resetMomenta)
const;
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< McEventCollection > m_originalMcEventCollection
virtual StatusCode execute(const EventContext &ctx) const override final
StatusCode compareMomenta(const HepMC::FourVector &origMomenta, const HepMC::FourVector &resetMomenta) const
StatusCode compareGenVertex(const HepMC::GenVertex &origVertex, const HepMC::GenVertex &resetVertex) const
StatusCode sanityCheck(const HepMC::GenEvent &event) const
StatusCode compareGenParticle(const HepMC::GenParticle &origParticle, const HepMC::GenParticle &resetParticle) const
void printGenVertex(const HepMC::GenVertex &origVertex, const HepMC::GenVertex &resetVertex) const
virtual StatusCode initialize() override final
Gaudi::Property< bool > m_compareMomenta
Gaudi::Property< bool > m_postSimulation
SG::ReadHandleKey< McEventCollection > m_resetMcEventCollection
const GenParticle * ConstGenParticlePtr
const HepMC::GenVertex * ConstGenVertexPtr