ATLAS Offline Software
Loading...
Searching...
No Matches
EgammaCalibrationAndSmearingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8
9#ifndef EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_CALIBRATION_AND_SMEARING_ALG_H
10#define EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_CALIBRATION_AND_SMEARING_ALG_H
11
21
22namespace CP
23{
26
28 {
30 public:
32 StatusCode initialize () override;
33 StatusCode execute () override;
34
35
36
38 private:
39 ToolHandle<CP::IEgammaCalibrationAndSmearingTool> m_calibrationAndSmearingTool {this, "calibrationAndSmearingTool", "EgammaCalibrationAndSmearingTool", "the smearing tool we apply"};
40
50 private:
51 Gaudi::Property<bool> m_noToolSystematics {
52 this, "noToolSystematics", false, "whether to ignore all tool systematics"};
53
55 private:
56 Gaudi::Property<bool> m_skipNominal {
57 this, "skipNominal", false, "whether to skip the nominal correction (for PHYSLITE)"};
58
60 private:
62
64 private:
66 this, "egammas", "Electrons", "the egamma collection to run on"};
67
69 private:
71 this, "preselection", "", "the preselection to apply"};
72
74 private:
76 this, "caloClusterEnergyReso", "caloClusterEnergyReso_%SYS%", "decoration for calorimeter cluster energy resolution" };
77
79 private:
81 };
82}
83
84#endif
an algorithm for calling CP::IEgammaCalibrationAndSmearingTool
ToolHandle< CP::IEgammaCalibrationAndSmearingTool > m_calibrationAndSmearingTool
the smearing tool
Gaudi::Property< bool > m_skipNominal
whether to skip the nominal correction (for PHYSLITE)
SysListHandle m_systematicsList
the systematics list we run
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Gaudi::Property< bool > m_noToolSystematics
whether to ignore all tool systematics
SysWriteDecorHandle< float > m_caloClusterEnergyResoHandle
decoration for calorimeter cluster energy resolution
SysReadSelectionHandle m_preselection
the preselection we apply to our input
SysCopyHandle< xAOD::EgammaContainer > m_egammaHandle
the egamma collection we run on
a helper to translate a CP::CorrectionCode into a StatusCode
a systematics data handle that will either copy the input object or act like an update handle
a class managing the property to configure the list of systematics to process
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.