ATLAS Offline Software
ElectronEfficiencyCorrectionAlg.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 ELECTRON_ANALYSIS_ALGORITHMS__ELECTRON_EFFICIENCY_SCALE_FACTOR_ALG_H
9 #define ELECTRON_ANALYSIS_ALGORITHMS__ELECTRON_EFFICIENCY_SCALE_FACTOR_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<IAsgElectronEfficiencyCorrectionTool> m_efficiencyCorrectionTool {this, "efficiencyCorrectionTool", "AsgElectronEfficiencyCorrectionTool", "the calibration and smearing tool we apply"};
38 
40  private:
42 
44  private:
46  this, "electrons", "Electrons", "the electron 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 electron efficiency scale factor"};
61  };
62 }
63 
64 #endif
OutOfValidityHelper.h
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
IAsgElectronEfficiencyCorrectionTool.h
SysListHandle.h
CP::SysReadHandle< xAOD::ElectronContainer >
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::ElectronEfficiencyCorrectionAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition: ElectronEfficiencyCorrectionAlg.h:55
SysReadHandle.h
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
ElectronContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::ElectronEfficiencyCorrectionAlg::initialize
StatusCode initialize() override
Definition: ElectronEfficiencyCorrectionAlg.cxx:23
CP::ElectronEfficiencyCorrectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: ElectronEfficiencyCorrectionAlg.h:50
CP::ElectronEfficiencyCorrectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: ElectronEfficiencyCorrectionAlg.h:41
SysReadSelectionHandle.h
CP::ElectronEfficiencyCorrectionAlg
an algorithm for calling IElectronEfficiencyCorrectionTool
Definition: ElectronEfficiencyCorrectionAlg.h:26
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::ElectronEfficiencyCorrectionAlg::m_scaleFactorDecoration
SysWriteDecorHandle< float > m_scaleFactorDecoration
the decoration for the electron scale factor
Definition: ElectronEfficiencyCorrectionAlg.h:59
CP::ElectronEfficiencyCorrectionAlg::m_efficiencyCorrectionTool
ToolHandle< IAsgElectronEfficiencyCorrectionTool > m_efficiencyCorrectionTool
the smearing tool
Definition: ElectronEfficiencyCorrectionAlg.h:37
CP::ElectronEfficiencyCorrectionAlg::m_electronHandle
SysReadHandle< xAOD::ElectronContainer > m_electronHandle
the electron collection we run on
Definition: ElectronEfficiencyCorrectionAlg.h:45
CP::SysWriteDecorHandle< float >
CP::ElectronEfficiencyCorrectionAlg::execute
StatusCode execute() override
Definition: ElectronEfficiencyCorrectionAlg.cxx:45