ATLAS Offline Software
PhysicsAnalysis
Algorithms
TruthParticleLevelAnalysisAlgorithms
TruthParticleLevelAnalysisAlgorithms
ParticleLevelJetsAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 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/AnaReentrantAlgorithm.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::AnaReentrantAlgorithm
{
21
public
:
22
using
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
;
23
virtual
StatusCode
initialize
()
final
;
24
virtual
StatusCode
execute
(
const
EventContext &ctx)
const
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
Definition:
ParticleLevelJetsAlg.h:20
SG::ReadHandleKey< xAOD::JetContainer >
CP
Select isolated Photons, Electrons and Muons.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:49
CP::ParticleLevelJetsAlg::initialize
virtual StatusCode initialize() final
Definition:
ParticleLevelJetsAlg.cxx:11
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.
CP::ParticleLevelJetsAlg::execute
virtual StatusCode execute(const EventContext &ctx) const final
Definition:
ParticleLevelJetsAlg.cxx:19
ReadHandle.h
Handle class for reading from StoreGate.
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition:
AnaReentrantAlgorithm.cxx:29
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition:
AnaReentrantAlgorithm.h:51
EventInfo.h
JetContainer.h
AnaReentrantAlgorithm.h
CP::ParticleLevelJetsAlg::m_jetsKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetsKey
Definition:
ParticleLevelJetsAlg.h:27
Generated on Mon Sep 29 2025 21:16:25 for ATLAS Offline Software by
1.8.18