ATLAS Offline Software
PhysicsAnalysis
Algorithms
TruthParticleLevelAnalysisAlgorithms
TruthParticleLevelAnalysisAlgorithms
ParticleLevelPtEtaPhiDecoratorAlg.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_PTETAPHIDECORATOR__ALG_H
8
#define TRUTH__PARTICLELEVEL_PTETAPHIDECORATOR__ALG_H
9
10
// Algorithm includes
11
#include <
AnaAlgorithm/AnaAlgorithm.h
>
12
#include <
AsgDataHandles/ReadHandle.h
>
13
#include <
AsgDataHandles/ReadHandleKey.h
>
14
#include <
AsgTools/PropertyWrapper.h
>
15
16
// Framework includes
17
#include <
xAODTruth/TruthParticleContainer.h
>
18
19
namespace
CP
{
20
class
ParticleLevelPtEtaPhiDecoratorAlg
:
public
EL::AnaAlgorithm
{
21
public
:
22
using
EL::AnaAlgorithm::AnaAlgorithm
;
23
virtual
StatusCode
initialize
()
final
;
24
virtual
StatusCode
execute
()
final
;
25
26
private
:
27
SG::ReadHandleKey<xAOD::TruthParticleContainer>
m_particlesKey
{
28
this
,
"particles"
,
""
,
"the name of the input truth particles container"
};
29
};
30
31
}
// namespace CP
32
33
#endif
PropertyWrapper.h
TruthParticleContainer.h
CP::ParticleLevelPtEtaPhiDecoratorAlg
Definition:
ParticleLevelPtEtaPhiDecoratorAlg.h:20
SG::ReadHandleKey< xAOD::TruthParticleContainer >
CP::ParticleLevelPtEtaPhiDecoratorAlg::initialize
virtual StatusCode initialize() final
Definition:
ParticleLevelPtEtaPhiDecoratorAlg.cxx:11
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
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.
ReadHandle.h
Handle class for reading from StoreGate.
CP::ParticleLevelPtEtaPhiDecoratorAlg::execute
virtual StatusCode execute() final
Definition:
ParticleLevelPtEtaPhiDecoratorAlg.cxx:18
CP::ParticleLevelPtEtaPhiDecoratorAlg::m_particlesKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_particlesKey
Definition:
ParticleLevelPtEtaPhiDecoratorAlg.h:27
Generated on Sun Dec 22 2024 21:16:03 for ATLAS Offline Software by
1.8.18