ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
NJetDecoratorAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
7
#ifndef ASG_ANALYSIS_ALGORITHMS__NJET_DECORATOR_ALG_H
8
#define ASG_ANALYSIS_ALGORITHMS__NJET_DECORATOR_ALG_H
9
10
#include <
xAODEventInfo/EventInfo.h
>
11
#include <
xAODJet/JetContainer.h
>
12
#include <
AnaAlgorithm/AnaAlgorithm.h
>
13
#include <
SystematicsHandles/SysReadHandle.h
>
14
#include <
SystematicsHandles/SysListHandle.h
>
15
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
16
#include <
SystematicsHandles/SysWriteDecorHandle.h
>
17
#include <
AsgTools/PropertyWrapper.h
>
18
19
namespace
CP
20
{
22
23
class
NJetDecoratorAlg
final :
public
EL::AnaAlgorithm
24
{
25
public
:
26
28
using
EL::AnaAlgorithm::AnaAlgorithm
;
29
StatusCode
initialize
()
override
;
30
StatusCode
execute
(
const
EventContext& ctx)
override
;
31
32
33
34
private
:
35
37
SysListHandle
m_systematicsList
{
this
};
38
40
CP::SysReadHandle<xAOD::EventInfo>
m_eventInfoHandle
{
this
,
"eventInfo"
,
"EventInfo"
,
"the input EventInfo object"
};
41
43
CP::SysReadHandle<xAOD::JetContainer>
m_jetsHandle
{
44
this
,
"jets"
,
""
,
"the jet container to use"
};
45
CP::SysReadSelectionHandle
m_jetSelection
{
46
this
,
"jetSelection"
,
""
,
"the selection on the input jets"
};
47
CP::SysWriteDecorHandle<int>
m_Njet_decor
{
48
this
,
"Njet"
,
"Njet_%SYS%"
,
"Number of jets"
49
};
50
};
51
}
52
53
#endif
AnaAlgorithm.h
JetContainer.h
PropertyWrapper.h
SysListHandle.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteDecorHandle.h
CP::NJetDecoratorAlg
an algorithm for decorating EventInfo
Definition
NJetDecoratorAlg.h:24
CP::NJetDecoratorAlg::initialize
StatusCode initialize() override
Definition
NJetDecoratorAlg.cxx:19
CP::NJetDecoratorAlg::m_Njet_decor
CP::SysWriteDecorHandle< int > m_Njet_decor
Definition
NJetDecoratorAlg.h:47
CP::NJetDecoratorAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
NJetDecoratorAlg.h:37
CP::NJetDecoratorAlg::m_jetSelection
CP::SysReadSelectionHandle m_jetSelection
Definition
NJetDecoratorAlg.h:45
CP::NJetDecoratorAlg::m_jetsHandle
CP::SysReadHandle< xAOD::JetContainer > m_jetsHandle
Definition
NJetDecoratorAlg.h:43
CP::NJetDecoratorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the name of the event info object
Definition
NJetDecoratorAlg.h:40
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition
SysListHandle.h:33
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition
SysReadHandle.h:33
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition
SysReadSelectionHandle.h:32
CP::SysWriteDecorHandle
a data handle for reading systematics varied input data
Definition
SysWriteDecorHandle.h:42
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:74
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaAlgorithm.cxx:40
EL::AnaAlgorithm::execute
virtual::StatusCode execute()
execute this algorithm
Definition
AnaAlgorithm.cxx:315
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0