ATLAS Offline Software
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 
19 
20 namespace CP
21 {
23 
24  class TauSmearingAlg final : public EL::AnaAlgorithm
25  {
27  public:
29  StatusCode initialize () override;
30  StatusCode execute () 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:
41 
43  private:
45  this, "taus", "TauJets", "the tau collection to run on"};
46 
48  private:
50  this, "preselection", "", "the preselection to apply"};
51 
53  private:
55  };
56 }
57 
58 #endif
OutOfValidityHelper.h
CP::TauSmearingAlg
an algorithm for calling ITauSmearingTool
Definition: TauSmearingAlg.h:25
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::OutOfValidityHelper
a helper to translate a CP::CorrectionCode into a ::StatusCode
Definition: OutOfValidityHelper.h:73
SysListHandle.h
CP::TauSmearingAlg::initialize
StatusCode initialize() override
Definition: TauSmearingAlg.cxx:23
CP::TauSmearingAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: TauSmearingAlg.h:49
SysCopyHandle.h
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
CP::TauSmearingAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: TauSmearingAlg.h:40
CP::TauSmearingAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition: TauSmearingAlg.h:54
AnaAlgorithm.h
CP::TauSmearingAlg::m_smearingTool
ToolHandle< TauAnalysisTools::ITauSmearingTool > m_smearingTool
the smearing tool
Definition: TauSmearingAlg.h:36
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
CP::TauSmearingAlg::m_tauHandle
SysCopyHandle< xAOD::TauJetContainer > m_tauHandle
the tau collection we run on
Definition: TauSmearingAlg.h:44
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TauJetContainer.h
SysReadSelectionHandle.h
CP::TauSmearingAlg::execute
StatusCode execute() override
Definition: TauSmearingAlg.cxx:37
CP::SysCopyHandle
a systematics data handle that will either copy the input object or act like an update handle
Definition: SysCopyHandle.h:62
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
ITauSmearingTool.h