ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
JetAnalysisAlgorithms
Root
JetDecoratorAlg.cxx
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
8
//
9
// includes
10
//
11
12
#include <
JetAnalysisAlgorithms/JetDecoratorAlg.h
>
13
14
//
15
// method implementations
16
//
17
18
namespace
CP
19
{
20
StatusCode JetDecoratorAlg ::
21
initialize ()
22
{
23
24
ANA_CHECK
(
m_decorator
.retrieve());
25
ANA_CHECK
(
m_jetHandle
.initialize (
m_systematicsList
));
26
ANA_CHECK
(
m_systematicsList
.initialize());
27
return
StatusCode::SUCCESS;
28
}
29
30
31
32
StatusCode JetDecoratorAlg ::
33
execute (
const
EventContext& ctx)
34
{
35
for
(
const
auto
& sys :
m_systematicsList
.systematicsVector())
36
{
37
const
xAOD::JetContainer
*jets =
nullptr
;
38
ANA_CHECK
(
m_jetHandle
.getCopy(jets, sys, ctx));
39
ANA_CHECK
(
m_decorator
->decorate(*jets));
40
}
41
42
return
StatusCode::SUCCESS;
43
}
44
}
ANA_CHECK
#define ANA_CHECK(EXP)
check whether the given expression was successful
Definition
Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:325
JetDecoratorAlg.h
CP::JetDecoratorAlg::m_jetHandle
SysCopyHandle< const xAOD::JetContainer > m_jetHandle
the jet collection we run on
Definition
JetDecoratorAlg.h:44
CP::JetDecoratorAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
JetDecoratorAlg.h:40
CP::JetDecoratorAlg::m_decorator
ToolHandle< IJetDecorator > m_decorator
the update tool
Definition
JetDecoratorAlg.h:36
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0