ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
TauAnalysisAlgorithms
TauAnalysisAlgorithms
DiTauSmearingAlg.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
#ifndef TAU_ANALYSIS_ALGORITHMS__DI_TAU_CALIBRATION_AND_SMEARING_ALG_H
8
#define TAU_ANALYSIS_ALGORITHMS__DI_TAU_CALIBRATION_AND_SMEARING_ALG_H
9
10
#include <
AnaAlgorithm/AnaAlgorithm.h
>
11
#include <
TauAnalysisTools/IDiTauSmearingTool.h
>
12
#include <
SelectionHelpers/OutOfValidityHelper.h
>
13
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
14
#include <
SystematicsHandles/SysCopyHandle.h
>
15
#include <
SystematicsHandles/SysListHandle.h
>
16
#include <
xAODTau/DiTauJetContainer.h
>
17
18
namespace
CP
19
{
21
22
class
DiTauSmearingAlg
final :
public
EL::AnaAlgorithm
23
{
25
public
:
26
using
EL::AnaAlgorithm::AnaAlgorithm
;
27
StatusCode
initialize
()
override
;
28
StatusCode
execute
(
const
EventContext& ctx)
override
;
29
30
31
33
private
:
34
ToolHandle<TauAnalysisTools::IDiTauSmearingTool>
m_smearingTool
{
this
,
"smearingTool"
,
"TauAnalysisTools::DiTauSmearingTool"
,
"the calibration and smearing tool we apply"
};
35
37
private
:
38
SysListHandle
m_systematicsList
{
this
};
39
41
private
:
42
SysCopyHandle<xAOD::DiTauJetContainer>
m_tauHandle
{
43
this
,
"taus"
,
"DiTauJets"
,
"the tau collection to run on"
};
44
46
private
:
47
SysReadSelectionHandle
m_preselection
{
48
this
,
"preselection"
,
""
,
"the preselection to apply"
};
49
51
private
:
52
OutOfValidityHelper
m_outOfValidity
{
this
};
53
};
54
}
55
56
#endif
AnaAlgorithm.h
DiTauJetContainer.h
IDiTauSmearingTool.h
OutOfValidityHelper.h
SysCopyHandle.h
SysListHandle.h
SysReadSelectionHandle.h
CP::DiTauSmearingAlg
an algorithm for calling IDiTauSmearingTool
Definition
DiTauSmearingAlg.h:23
CP::DiTauSmearingAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
DiTauSmearingAlg.h:47
CP::DiTauSmearingAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition
DiTauSmearingAlg.h:52
CP::DiTauSmearingAlg::m_tauHandle
SysCopyHandle< xAOD::DiTauJetContainer > m_tauHandle
the tau collection we run on
Definition
DiTauSmearingAlg.h:42
CP::DiTauSmearingAlg::m_smearingTool
ToolHandle< TauAnalysisTools::IDiTauSmearingTool > m_smearingTool
the smearing tool
Definition
DiTauSmearingAlg.h:34
CP::DiTauSmearingAlg::initialize
StatusCode initialize() override
Definition
DiTauSmearingAlg.cxx:23
CP::DiTauSmearingAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
DiTauSmearingAlg.h:38
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
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