ATLAS Offline Software
Loading...
Searching...
No Matches
ParticleLevelPtEtaPhiDecoratorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef TRUTH_PARTICLELEVEL_PTETAPHIDECORATOR_ALG_H
8#define TRUTH_PARTICLELEVEL_PTETAPHIDECORATOR_ALG_H
9
10// Algorithm includes
15
16// Framework includes
18
19namespace CP {
21 public:
23 virtual StatusCode initialize() final;
24 virtual StatusCode execute(const EventContext &ctx) const final;
25
26 private:
28 this, "particles", "", "the name of the input truth particles container"};
30 this, "ptDecoration", m_particlesKey, "pt", "the pt decoration"};
32 this, "etaDecoration", m_particlesKey, "eta", "the eta decoration"};
34 this, "phiDecoration", m_particlesKey, "phi", "the phi decoration"};
35};
36
37} // namespace CP
38
39#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_particlesKey
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_decPhiKey
virtual StatusCode execute(const EventContext &ctx) const final
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_decPtKey
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_decEtaKey
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.
Select isolated Photons, Electrons and Muons.