2#ifndef XAODTRUTHCNV_TRUTHPARTICLEFIXERALG_H
3#define XAODTRUTHCNV_TRUTHPARTICLEFIXERALG_H
36 virtual StatusCode
execute(
const EventContext& ctx)
const override;
41 this,
"InputContainer",
"InputFileTruthParticles",
42 "Input TruthParticles container"};
46 this,
"OutputContainer",
"TruthParticles",
47 "Output TruthParticles container"};
54 this,
"ParticleLinks", {},
"Names of the truth particle links to fix"};
58 this,
"VertexLinks", {},
"Names of the truth vertex links to fix"};
62 this,
"LinkPrefixToRemove",
"",
"Prefix to remove from the link names"};
the base class for EventLoop reentrant algorithms
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Algorithm fixing xAOD::TruthParticle objects in (old) DAOD files.
Gaudi::Property< std::vector< std::string > > m_particleLinks
Names of the truth particle links to fix.
Gaudi::Property< std::string > m_linkPrefixToRemove
Prefix to remove from the link names.
virtual StatusCode initialize() override
Function initialising the algorithm.
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_outputContainerKey
The keys for the output xAOD truth containers.
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_uidKey
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Gaudi::Property< std::vector< std::string > > m_vertexLinks
Names of the truth vertex links to fix.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_inputContainerKey
The keys of the input xAOD truth containers.