ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
AsgEventScaleFactorAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
#ifndef ASG_ANALYSIS_ALGORITHMS__ASG_EVENT_SCALE_FACTOR_ALG_H
9
#define ASG_ANALYSIS_ALGORITHMS__ASG_EVENT_SCALE_FACTOR_ALG_H
10
11
#include <
AnaAlgorithm/AnaAlgorithm.h
>
12
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
13
#include <
SystematicsHandles/SysReadHandle.h
>
14
#include <
SystematicsHandles/SysReadDecorHandle.h
>
15
#include <
SystematicsHandles/SysWriteDecorHandle.h
>
16
#include <
SystematicsHandles/SysListHandle.h
>
17
#include <
xAODBase/IParticleContainer.h
>
18
#include <
xAODEventInfo/EventInfo.h
>
19
20
namespace
CP
21
{
23
24
class
AsgEventScaleFactorAlg
final :
public
EL::AnaAlgorithm
25
{
27
public
:
28
AsgEventScaleFactorAlg
(
const
std::string&
name
,
29
ISvcLocator* pSvcLocator);
30
31
32
public
:
33
StatusCode
initialize
()
override
;
34
35
public
:
36
StatusCode
execute
(
const
EventContext& ctx)
override
;
37
38
40
private
:
41
SysListHandle
m_systematicsList
{
this
};
42
44
private
:
45
SysReadHandle<xAOD::EventInfo>
m_eventInfoHandle
{
46
this
,
"eventInfo"
,
"EventInfo"
,
"the event info object to run on"
};
47
49
private
:
50
SysReadHandle<xAOD::IParticleContainer>
m_particleHandle
{
51
this
,
"particles"
,
""
,
"the particle collection to run on"
};
52
54
private
:
55
SysReadSelectionHandle
m_preselection
{
56
this
,
"preselection"
,
""
,
"the preselection to apply"
};
57
59
private
:
60
SysReadDecorHandle<float>
m_scaleFactorInputDecoration
{
61
this
,
"scaleFactorInputDecoration"
,
""
,
"the decoration for the input efficiency scale factor"
};
62
64
private
:
65
SysWriteDecorHandle<float>
m_scaleFactorOutputDecoration
{
66
this
,
"scaleFactorOutputDecoration"
,
""
,
"the decoration for the output efficiency scale factor"
};
67
};
68
}
69
70
#endif
AnaAlgorithm.h
SysListHandle.h
SysReadDecorHandle.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteDecorHandle.h
CP::AsgEventScaleFactorAlg::m_particleHandle
SysReadHandle< xAOD::IParticleContainer > m_particleHandle
the jet collection we run on
Definition
AsgEventScaleFactorAlg.h:50
CP::AsgEventScaleFactorAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
AsgEventScaleFactorAlg.h:55
CP::AsgEventScaleFactorAlg::m_eventInfoHandle
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info we run on (empty by default)
Definition
AsgEventScaleFactorAlg.h:45
CP::AsgEventScaleFactorAlg::m_scaleFactorOutputDecoration
SysWriteDecorHandle< float > m_scaleFactorOutputDecoration
the decoration for writing the scale factor
Definition
AsgEventScaleFactorAlg.h:65
CP::AsgEventScaleFactorAlg::initialize
StatusCode initialize() override
Definition
AsgEventScaleFactorAlg.cxx:29
CP::AsgEventScaleFactorAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
AsgEventScaleFactorAlg.h:41
CP::AsgEventScaleFactorAlg::m_scaleFactorInputDecoration
SysReadDecorHandle< float > m_scaleFactorInputDecoration
the decoration for reading the scale factor
Definition
AsgEventScaleFactorAlg.h:60
CP::AsgEventScaleFactorAlg::AsgEventScaleFactorAlg
AsgEventScaleFactorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition
AsgEventScaleFactorAlg.cxx:21
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition
SysListHandle.h:33
CP::SysReadDecorHandle
a data handle for reading systematics varied input data
Definition
SysReadDecorHandle.h:34
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::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
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
IParticleContainer.h
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0