ATLAS Offline Software
Loading...
Searching...
No Matches
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"
21
22// Local include(s):
25
26namespace ADD_CMODE(TauAnalysisTools)
27{
28
29class DiTauSmearingTool
30 : public asg::AsgTool
31 , public virtual IDiTauSmearingTool
32{
34 ASG_TOOL_CLASS( DiTauSmearingTool, TauAnalysisTools::IDiTauSmearingTool )
35
36public:
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
60private:
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
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Return value from object correction CP tools.
Class to wrap a set of SystematicVariations.
a modified tool handle that allows its owner to configure new tools from the C++ side
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
DiTauJet_v1 DiTauJet
Definition of the current version.
Definition DiTauJet.h:17
void initialize()