ATLAS Offline Software
PhysicsAnalysis
Algorithms
TruthParticleLevelAnalysisAlgorithms
TruthParticleLevelAnalysisAlgorithms
ParticleLevelJetsAlg.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_JETS__ALG_H
8
#define TRUTH__PARTICLELEVEL_JETS__ALG_H
9
10
// Algorithm includes
11
#include <
AnaAlgorithm/AnaAlgorithm.h
>
12
#include <
AsgDataHandles/ReadHandle.h
>
13
#include <
AsgDataHandles/ReadHandleKey.h
>
14
15
// Framework includes
16
#include <
xAODEventInfo/EventInfo.h
>
17
#include <
xAODJet/JetContainer.h
>
18
19
namespace
CP
{
20
class
ParticleLevelJetsAlg
:
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::JetContainer>
m_jetsKey
{
28
this
,
"jets"
,
""
,
"the name of the input truth jets container"
};
29
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
30
this
,
"eventInfo"
,
"EventInfo"
,
"the name of the EventInfo container"
};
31
};
32
33
}
// namespace CP
34
35
#endif
CP::ParticleLevelJetsAlg::execute
virtual StatusCode execute() final
Definition:
ParticleLevelJetsAlg.cxx:19
CP::ParticleLevelJetsAlg
Definition:
ParticleLevelJetsAlg.h:20
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition:
StoreGate/StoreGate/ReadHandleKey.h:39
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
CP::ParticleLevelJetsAlg::initialize
virtual StatusCode initialize() final
Definition:
ParticleLevelJetsAlg.cxx:11
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition:
AnaAlgorithm.h:73
CP::ParticleLevelJetsAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition:
ParticleLevelJetsAlg.h:29
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.
EventInfo.h
JetContainer.h
CP::ParticleLevelJetsAlg::m_jetsKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetsKey
Definition:
ParticleLevelJetsAlg.h:27
Generated on Sun Dec 22 2024 21:16:03 for ATLAS Offline Software by
1.8.18