ATLAS Offline Software
ParticleLevelChargeDecoratorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #ifndef TRUTH__PARTICLELEVEL_CHARGEDECORATOR__ALG_H
8 #define TRUTH__PARTICLELEVEL_CHARGEDECORATOR__ALG_H
9 
10 // Algorithm includes
15 
16 // Framework includes
18 
19 namespace CP {
21  public:
23  virtual StatusCode initialize() final;
24  virtual StatusCode execute() final;
25 
26  private:
28  this, "particles", "", "the name of the input truth particles container"};
29 };
30 
31 } // namespace CP
32 
33 #endif
PropertyWrapper.h
CP::ParticleLevelChargeDecoratorAlg::m_particlesKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_particlesKey
Definition: ParticleLevelChargeDecoratorAlg.h:27
TruthParticleContainer.h
SG::ReadHandleKey< xAOD::TruthParticleContainer >
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
CP::ParticleLevelChargeDecoratorAlg::execute
virtual StatusCode execute() final
Definition: ParticleLevelChargeDecoratorAlg.cxx:18
CP::ParticleLevelChargeDecoratorAlg
Definition: ParticleLevelChargeDecoratorAlg.h:20
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CP::ParticleLevelChargeDecoratorAlg::initialize
virtual StatusCode initialize() final
Definition: ParticleLevelChargeDecoratorAlg.cxx:11
ReadHandle.h
Handle class for reading from StoreGate.