ATLAS Offline Software
Loading...
Searching...
No Matches
PhotonEfficiencyCorrectionAlg.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__PHOTON_EFFICIENCY_SCALE_FACTOR_ALG_H
9#define ELECTRON_ANALYSIS_ALGORITHMS__PHOTON_EFFICIENCY_SCALE_FACTOR_ALG_H
10
19
20namespace CP
21{
23
25 {
27 public:
29 StatusCode initialize () override;
30 StatusCode execute () override;
31
32
33
35 private:
36 ToolHandle<IAsgPhotonEfficiencyCorrectionTool> m_efficiencyCorrectionTool {this, "efficiencyCorrectionTool", "AsgPhotonEfficiencyCorrectionTool", "the efficiency correction tool we apply"};
37
39 private:
41
43 private:
45 this, "photons", "Photons", "the photon collection to run on"};
46
48 private:
50 this, "preselection", "", "the preselection to apply"};
51
53 private:
55
57 private:
59 this, "scaleFactorDecoration", "", "the decoration for the photon efficiency scale factor"};
60 };
61}
62
63#endif
a helper to translate a CP::CorrectionCode into a StatusCode
an algorithm for calling IPhotonEfficiencyCorrectionTool
SysReadHandle< xAOD::PhotonContainer > m_photonHandle
the photon collection we run on
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
SysListHandle m_systematicsList
the systematics list we run
ToolHandle< IAsgPhotonEfficiencyCorrectionTool > m_efficiencyCorrectionTool
the smearing tool
SysReadSelectionHandle m_preselection
the preselection we apply to our input
SysWriteDecorHandle< float > m_scaleFactorDecoration
the decoration for the photon scale factor
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
a data handle for reading systematics varied input data
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.