ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
JetAnalysisAlgorithms
JetAnalysisAlgorithms
JvtEfficiencyAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
#ifndef JET_ANALYSIS_ALGORITHMS__JVT_EFFICIENCY_ALG_H
9
#define JET_ANALYSIS_ALGORITHMS__JVT_EFFICIENCY_ALG_H
10
11
#include <
AnaAlgorithm/AnaAlgorithm.h
>
12
#include <
AsgTools/PropertyWrapper.h
>
13
#include <
JetAnalysisInterfaces/IJvtEfficiencyTool.h
>
14
#include <
SelectionHelpers/OutOfValidityHelper.h
>
15
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
16
#include <
SystematicsHandles/SysReadHandle.h
>
17
#include <
SystematicsHandles/SysWriteDecorHandle.h
>
18
#include <
SystematicsHandles/SysListHandle.h
>
19
#include <
xAODJet/JetContainer.h
>
20
21
namespace
CP
22
{
24
25
class
JvtEfficiencyAlg
final :
public
EL::AnaAlgorithm
26
{
28
public
:
29
using
EL::AnaAlgorithm::AnaAlgorithm
;
30
StatusCode
initialize
()
override
;
31
StatusCode
execute
(
const
EventContext& ctx)
override
;
32
33
34
36
private
:
37
ToolHandle<CP::IJvtEfficiencyTool>
m_efficiencyTool
{
38
this
,
"efficiencyTool"
,
""
,
"the JVT efficiency tool to apply"
};
39
41
private
:
42
SysListHandle
m_systematicsList
{
this
};
43
45
private
:
46
SysReadHandle<xAOD::JetContainer>
m_jetHandle
{
47
this
,
"jets"
,
""
,
"the jet collection to run on"
};
48
50
private
:
51
SysReadSelectionHandle
m_preselection
{
52
this
,
"preselection"
,
""
,
"the preselection to apply"
};
53
55
private
:
56
SysReadSelectionHandle
m_selectionHandle
{
57
this
,
"selection"
,
""
,
"the input decoration for the JVT selection"
};
58
60
private
:
61
SysWriteDecorHandle<float>
m_scaleFactorDecoration
{
62
this
,
"scaleFactorDecoration"
,
""
,
"the decoration for the JVT efficiency scale factor"
};
63
65
private
:
66
Gaudi::Property<bool>
m_skipBadEfficiency
{
67
this
,
68
"skipBadEfficiency"
,
69
false
,
70
"Whether to skip calculating scale factors for objects that failed the JVT selection"
};
71
73
private
:
74
OutOfValidityHelper
m_outOfValidity
{
this
};
75
};
76
}
77
78
#endif
AnaAlgorithm.h
IJvtEfficiencyTool.h
JetContainer.h
OutOfValidityHelper.h
PropertyWrapper.h
SysListHandle.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteDecorHandle.h
CP::JvtEfficiencyAlg
an algorithm for calling IJEREfficiencyTool
Definition
JvtEfficiencyAlg.h:26
CP::JvtEfficiencyAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition
JvtEfficiencyAlg.h:74
CP::JvtEfficiencyAlg::m_jetHandle
SysReadHandle< xAOD::JetContainer > m_jetHandle
the jet collection we run on
Definition
JvtEfficiencyAlg.h:46
CP::JvtEfficiencyAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
JvtEfficiencyAlg.h:42
CP::JvtEfficiencyAlg::m_efficiencyTool
ToolHandle< CP::IJvtEfficiencyTool > m_efficiencyTool
the efficiency tool
Definition
JvtEfficiencyAlg.h:37
CP::JvtEfficiencyAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
JvtEfficiencyAlg.h:51
CP::JvtEfficiencyAlg::m_scaleFactorDecoration
SysWriteDecorHandle< float > m_scaleFactorDecoration
the decoration for the JVT scale factor
Definition
JvtEfficiencyAlg.h:61
CP::JvtEfficiencyAlg::m_selectionHandle
SysReadSelectionHandle m_selectionHandle
the decoration for the JVT selection
Definition
JvtEfficiencyAlg.h:56
CP::JvtEfficiencyAlg::m_skipBadEfficiency
Gaudi::Property< bool > m_skipBadEfficiency
whether to skip efficiency calculation if the selection failed
Definition
JvtEfficiencyAlg.h:66
CP::JvtEfficiencyAlg::initialize
StatusCode initialize() override
Definition
JvtEfficiencyAlg.cxx:25
CP::OutOfValidityHelper
a helper to translate a CP::CorrectionCode into a StatusCode
Definition
OutOfValidityHelper.h:73
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
Generated on
for ATLAS Offline Software by
1.17.0