ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
TauID
TauAnalysisTools
TauAnalysisTools
DiTauSmearingTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TAUANALYSISTOOLS_DITAUSMEARINGTOOL_H
6
#define TAUANALYSISTOOLS_DITAUSMEARINGTOOL_H
7
8
/*
9
author: David Kirchmeier
10
mail: david.kirchmeier@cern.ch
11
ported in R22 by: Antonio De Maria
12
mail: antonio.de.maria@cern.ch
13
documentation in: ../doc/README-DiTauSmearingTool.rst
14
*/
15
16
17
// Framework include(s):
18
#include "
AsgTools/AsgTool.h
"
19
#include "
AsgTools/AnaToolHandle.h
"
20
#include "
AsgTools/PropertyWrapper.h
"
21
22
// Local include(s):
23
#include "
TauAnalysisTools/IDiTauSmearingTool.h
"
24
#include "
TauAnalysisTools/CommonDiTauSmearingTool.h
"
25
26
namespace
ADD_CMODE(TauAnalysisTools)
27
{
28
29
class
DiTauSmearingTool
30
:
public
asg::AsgTool
31
,
public
virtual
IDiTauSmearingTool
32
{
34
ASG_TOOL_CLASS
( DiTauSmearingTool, TauAnalysisTools::IDiTauSmearingTool )
35
36
public
:
38
DiTauSmearingTool(
const
std::string& sName );
39
41
virtual
StatusCode
initialize
()
override
;
42
44
virtual
CP::CorrectionCode
applyCorrection(
xAOD::DiTauJet
& xDiTau )
const override
;
46
virtual
CP::CorrectionCode
correctedCopy(
const
xAOD::DiTauJet
& input,
47
xAOD::DiTauJet
*& output )
const override
;
48
50
virtual
bool
isAffectedBySystematic(
const
CP::SystematicVariation
& systematic )
const override
;
51
53
virtual
CP::SystematicSet
affectingSystematics()
const override
;
54
56
virtual
CP::SystematicSet
recommendedSystematics()
const override
;
57
58
virtual
StatusCode applySystematicVariation(
const
CP::SystematicSet
& systConfig )
override
;
59
60
private
:
61
asg::AnaToolHandle<IDiTauSmearingTool>
m_tCommonDiTauSmearingTool;
62
std::string m_sInputFilePath;
63
64
Gaudi::Property<std::string> m_sRecommendationTag{
this
,
"RecommendationTag"
,
"2019-winter"
};
65
Gaudi::Property<bool> m_bSkipTruthMatchCheck{
this
,
"SkipTruthMatchCheck"
,
false
};
66
67
68
};
// class DiTauSmearingTool
69
70
}
// namespace ADD_CMODE(TauAnalysisTools)
71
72
#endif
// TAUANALYSISTOOLS_DITAUSMEARINGTOOL_H
73
74
75
AnaToolHandle.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
CommonDiTauSmearingTool.h
IDiTauSmearingTool.h
PropertyWrapper.h
CP::CorrectionCode
Return value from object correction CP tools.
Definition
CorrectionCode.h:31
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition
SystematicSet.h:31
CP::SystematicVariation
Definition
SystematicVariation.h:47
asg::AnaToolHandle
a modified tool handle that allows its owner to configure new tools from the C++ side
Definition
AnaToolHandle.h:167
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
xAOD::DiTauJet
DiTauJet_v1 DiTauJet
Definition of the current version.
Definition
DiTauJet.h:17
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0