ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
TauID
TauAnalysisTools
TauAnalysisTools
TauSmearingTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TAUANALYSISTOOLS_TAUSMEARINGTOOL_H
6
#define TAUANALYSISTOOLS_TAUSMEARINGTOOL_H
7
8
/*
9
author: Dirk Duschinger
10
mail: dirk.duschinger@cern.ch
11
*/
12
13
// Framework include(s):
14
#include "
AsgTools/AsgTool.h
"
15
#include "
AsgTools/ToolHandle.h
"
16
#include "
AsgTools/AsgMetadataTool.h
"
17
#include "
AsgTools/PropertyWrapper.h
"
18
19
// Local include(s):
20
#include "
TauAnalysisTools/Enums.h
"
21
#include "
TauAnalysisTools/ITauSmearingTool.h
"
22
#include "
TauAnalysisTools/CommonSmearingTool.h
"
23
24
namespace
ADD_CMODE(TauAnalysisTools)
25
{
26
27
class
TauSmearingTool
28
:
public
asg::AsgMetadataTool
29
,
public
virtual
ITauSmearingTool
30
{
32
ASG_TOOL_CLASS
( TauSmearingTool, TauAnalysisTools::ITauSmearingTool )
33
34
public
:
36
TauSmearingTool(
const
std::string& sName );
37
38
~TauSmearingTool();
39
41
virtual
StatusCode
initialize
();
42
43
virtual
StatusCode beginInputFile();
44
46
virtual
CP::CorrectionCode
applyCorrection(
xAOD::TauJet
& xTau )
const
;
47
49
virtual
CP::CorrectionCode
correctedCopy(
const
xAOD::TauJet
& input,
50
xAOD::TauJet
*& output )
const
;
51
53
virtual
bool
isAffectedBySystematic(
const
CP::SystematicVariation
& systematic )
const
;
54
56
virtual
CP::SystematicSet
affectingSystematics()
const
;
57
59
virtual
CP::SystematicSet
recommendedSystematics()
const
;
60
61
virtual
StatusCode applySystematicVariation(
const
CP::SystematicSet
& systConfig );
62
63
private
:
64
ToolHandle<ITauSmearingTool> m_tCommonSmearingTool{
this
,
"Tool"
, {}};
65
66
Gaudi::Property<std::string> m_sInputFilePath{
this
,
"InputFilePath"
,
""
};
67
Gaudi::Property<std::string> m_sRecommendationTag{
this
,
"RecommendationTag"
,
"2025-prerec"
};
68
Gaudi::Property<std::string> m_sCampaign{
this
,
"Campaign"
,
"mc23"
};
69
Gaudi::Property<bool> m_bSkipTruthMatchCheck{
this
,
"SkipTruthMatchCheck"
,
false
};
70
Gaudi::Property<bool> m_bApplyFading{
this
,
"ApplyFading"
,
true
};
71
Gaudi::Property<bool> m_bMVATESQualityCheck{
this
,
"MVATESQualityCheck"
,
true
};
72
Gaudi::Property<bool> m_bApplyInsituCorrection{
this
,
"ApplyInsituCorrection"
,
true
};
73
Gaudi::Property<bool> m_useFastSim{
this
,
"useFastSim"
,
false
};
74
Gaudi::Property<bool> m_useGNTau{
this
,
"useGNTau"
,
false
};
75
76
};
// class TauSmearingTool
77
78
}
// namespace ADD_CMODE(TauAnalysisTools)
79
80
#endif
// TAUANALYSISTOOLS_TAUSMEARINGTOOL_H
AsgMetadataTool.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
CommonSmearingTool.h
ITauSmearingTool.h
Enums.h
PropertyWrapper.h
ToolHandle.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::AsgMetadataTool
Base class for dual-use tools that provide file metadata access.
Definition
AsgMetadataTool.h:48
xAOD::TauJet
TauJet_v3 TauJet
Definition of the current "tau version".
Definition
TauJet.h:17
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0