ATLAS Offline Software
Loading...
Searching...
No Matches
ParticleLevelChargeDecoratorAlg.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_CHARGEDECORATOR_ALG_H
8#define TRUTH_PARTICLELEVEL_CHARGEDECORATOR_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, "chargeDecoration", m_particlesKey, "charge", "the charge decoration"};
31};
32
33} // namespace CP
34
35#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_decChargeKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_particlesKey
virtual StatusCode execute(const EventContext &ctx) const final
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.