ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
TauAnalysisAlgorithms
TauAnalysisAlgorithms
TauSmearingAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
#ifndef TAU_ANALYSIS_ALGORITHMS__TAU_CALIBRATION_AND_SMEARING_ALG_H
10
#define TAU_ANALYSIS_ALGORITHMS__TAU_CALIBRATION_AND_SMEARING_ALG_H
11
12
#include <
AnaAlgorithm/AnaAlgorithm.h
>
13
#include <
TauAnalysisTools/ITauSmearingTool.h
>
14
#include <
SelectionHelpers/OutOfValidityHelper.h
>
15
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
16
#include <
SystematicsHandles/SysCopyHandle.h
>
17
#include <
SystematicsHandles/SysListHandle.h
>
18
#include <
xAODTau/TauJetContainer.h
>
19
20
namespace
CP
21
{
23
24
class
TauSmearingAlg
final :
public
EL::AnaAlgorithm
25
{
27
public
:
28
using
EL::AnaAlgorithm::AnaAlgorithm
;
29
StatusCode
initialize
()
override
;
30
StatusCode
execute
(
const
EventContext& ctx)
override
;
31
32
33
35
private
:
36
ToolHandle<TauAnalysisTools::ITauSmearingTool>
m_smearingTool
{
this
,
"smearingTool"
,
"TauAnalysisTools::TauSmearingTool"
,
"the calibration and smearing tool we apply"
};
37
39
private
:
40
SysListHandle
m_systematicsList
{
this
};
41
43
private
:
44
SysCopyHandle<xAOD::TauJetContainer>
m_tauHandle
{
45
this
,
"taus"
,
"TauJets"
,
"the tau collection to run on"
};
46
48
private
:
49
SysReadSelectionHandle
m_preselection
{
50
this
,
"preselection"
,
""
,
"the preselection to apply"
};
51
53
private
:
54
OutOfValidityHelper
m_outOfValidity
{
this
};
55
};
56
}
57
58
#endif
AnaAlgorithm.h
ITauSmearingTool.h
OutOfValidityHelper.h
SysCopyHandle.h
SysListHandle.h
SysReadSelectionHandle.h
TauJetContainer.h
CP::OutOfValidityHelper
a helper to translate a CP::CorrectionCode into a StatusCode
Definition
OutOfValidityHelper.h:73
CP::SysCopyHandle
a systematics data handle that will either copy the input object or act like an update handle
Definition
SysCopyHandle.h:65
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition
SysListHandle.h:33
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition
SysReadSelectionHandle.h:32
CP::TauSmearingAlg
an algorithm for calling ITauSmearingTool
Definition
TauSmearingAlg.h:25
CP::TauSmearingAlg::m_smearingTool
ToolHandle< TauAnalysisTools::ITauSmearingTool > m_smearingTool
the smearing tool
Definition
TauSmearingAlg.h:36
CP::TauSmearingAlg::initialize
StatusCode initialize() override
Definition
TauSmearingAlg.cxx:26
CP::TauSmearingAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition
TauSmearingAlg.h:54
CP::TauSmearingAlg::m_tauHandle
SysCopyHandle< xAOD::TauJetContainer > m_tauHandle
the tau collection we run on
Definition
TauSmearingAlg.h:44
CP::TauSmearingAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
TauSmearingAlg.h:40
CP::TauSmearingAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
TauSmearingAlg.h:49
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