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