ATLAS Offline Software
TauEfficiencyCorrectionsAlg.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 #ifndef TAU_ANALYSIS_ALGORITHMS__TAU_EFFICIENCY_CORRECTIONS_ALG_H
9 #define TAU_ANALYSIS_ALGORITHMS__TAU_EFFICIENCY_CORRECTIONS_ALG_H
10 
20 
21 namespace CP
22 {
24 
26  {
28  public:
30  StatusCode initialize () override;
31  StatusCode execute () override;
32 
33 
34 
36  private:
37  ToolHandle<TauAnalysisTools::ITauEfficiencyCorrectionsTool> m_efficiencyCorrectionsTool {this, "efficiencyCorrectionsTool", "TauAnalysisTools::TauEfficiencyCorrectionsTool", "the calibration and smearing tool we apply"};
38 
40  private:
42 
44  private:
46  this, "taus", "TauJets", "the tau collection to run on"};
47 
49  private:
51  this, "preselection", "", "the preselection to apply"};
52 
54  private:
56 
58  private:
60  this, "scaleFactorDecoration", "", "the decoration for the tau efficiency scale factor"};
61  };
62 }
63 
64 #endif
OutOfValidityHelper.h
CP::TauEfficiencyCorrectionsAlg::m_tauHandle
SysReadHandle< xAOD::TauJetContainer > m_tauHandle
the tau collection we run on
Definition: TauEfficiencyCorrectionsAlg.h:45
CP::TauEfficiencyCorrectionsAlg
an algorithm for calling ITauEfficiencyCorrectionsTool
Definition: TauEfficiencyCorrectionsAlg.h:26
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
CP::OutOfValidityHelper
a helper to translate a CP::CorrectionCode into a ::StatusCode
Definition: OutOfValidityHelper.h:73
SysListHandle.h
CP::TauEfficiencyCorrectionsAlg::initialize
StatusCode initialize() override
Definition: TauEfficiencyCorrectionsAlg.cxx:23
CP::TauEfficiencyCorrectionsAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: TauEfficiencyCorrectionsAlg.h:50
CP::SysReadHandle< xAOD::TauJetContainer >
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
ITauEfficiencyCorrectionsTool.h
SysReadHandle.h
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
CP::TauEfficiencyCorrectionsAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: TauEfficiencyCorrectionsAlg.h:41
CP::TauEfficiencyCorrectionsAlg::execute
StatusCode execute() override
Definition: TauEfficiencyCorrectionsAlg.cxx:44
CP::TauEfficiencyCorrectionsAlg::m_scaleFactorDecoration
SysWriteDecorHandle< float > m_scaleFactorDecoration
the decoration for the tau scale factor
Definition: TauEfficiencyCorrectionsAlg.h:59
TauJetContainer.h
SysReadSelectionHandle.h
CP::TauEfficiencyCorrectionsAlg::m_efficiencyCorrectionsTool
ToolHandle< TauAnalysisTools::ITauEfficiencyCorrectionsTool > m_efficiencyCorrectionsTool
the smearing tool
Definition: TauEfficiencyCorrectionsAlg.h:37
CP::TauEfficiencyCorrectionsAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition: TauEfficiencyCorrectionsAlg.h:55
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::SysWriteDecorHandle< float >