Loading [MathJax]/jax/input/TeX/config.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
egammaLayerRecalibTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef EGAMMA_LAYER_RECALIB_TOOL
7 #define EGAMMA_LAYER_RECALIB_TOOL
8 
19 
21 
22 // TODO: rewrite with 1 modifier <-> 1 class (not 1 modifier <-> 2 classes amount + modifier)
23 // TODO: remove all not used cases
24 
25 #include <string>
26 #include <vector>
27 #include <memory>
28 
29 #include "AsgTools/AsgTool.h"
31 #include "xAODEgamma/Egamma.h"
35 
36 #include <TH1.h>
37 #include <TH2.h>
38 #include <TFormula.h>
42 
43 
45 {
46  float averageInteractionsPerCrossing; // only for pileup correction
47  unsigned int RunNumber; // only for HV presampler correction and accordion energy correction
48  double eta;
49  double phi; // only for HV presampler correction
50  double E0raw;
51  double E1raw;
52  double E2raw;
53  double E3raw;
54  double etaCalo;
55 };
56 
57 
58 // TODO: add protections for invalid inputs (histogram overflows)
60 {
61  virtual float operator()(const StdCalibrationInputs & input) const = 0;
62  virtual ~GetAmountBase() { };
63 };
64 
65 
66 // object adaptor (prefer composition vs inheritance)
68 {
69  virtual float operator()(const StdCalibrationInputs & input) const;
70 private:
72 };
73 
75 {
76  virtual float operator()(const StdCalibrationInputs & input) const;
77 private:
79 };
80 
82 {
84  virtual float operator()(const StdCalibrationInputs & inputs) const;
85 private:
87 };
88 
90 {
92  virtual float operator()(const StdCalibrationInputs & inputs) const;
93 private:
95 };
96 
98 {
100  virtual float operator()(const StdCalibrationInputs & inputs) const;
101 private:
103 };
104 
106 {
108  virtual float operator()(const StdCalibrationInputs & inputs) const;
109 private:
111 };
112 
113 
114 
116 {
117  GetAmountFormula(const TFormula & formula) : m_formula(formula) { };
118  virtual float operator()(const StdCalibrationInputs & input) const;
119 protected:
120  TFormula m_formula;
121 };
122 
123 
125 {
127  : m_histo(static_cast<TH1*>(histo.Clone())) {
128  m_histo->SetDirectory(nullptr);
129  };
130  virtual float operator()(const StdCalibrationInputs & input) const;
131 protected:
132  std::unique_ptr<TH1> m_histo;
133 };
134 
135 
137 {
139  virtual float operator()(const StdCalibrationInputs & input) const;
140 };
141 
142 
144 {
146  virtual float operator()(const StdCalibrationInputs & input) const;
147 };
148 
149 
151 {
153  virtual float operator()(const StdCalibrationInputs & input) const;
154 };
155 
156 
158 {
160  virtual float operator()(const StdCalibrationInputs & input) const;
161 };
162 
164 {
165  GetAmountHisto2D(const TH2F& histo) : m_histo(histo) { m_histo.SetDirectory(nullptr); };
166  virtual float operator()(const StdCalibrationInputs & input) const;
167 private:
169 };
170 
171 
173 {
175  virtual float operator()(const StdCalibrationInputs & input) const;
176 protected:
178 };
179 
180 
182 {
183 public:
184  GetAmountFixed(float amount) : m_amount(amount) { }
185  virtual float operator()(const StdCalibrationInputs & input) const;
186 private:
187  float m_amount;
188 };
189 
191 {
192 public:
194  virtual ~GetAmountDecoratorBase() { delete m_getter; }
195  virtual float operator()(const StdCalibrationInputs & input) const {
196  return (*m_getter)(input);
197  }
198 private:
200 };
201 
202 
204 {
206 
208  CP::CorrectionCode operator()(StdCalibrationInputs&, float amount) const;
209  virtual ~InputModifier() { };
210 private:
211  InputModifier() { }; // privatize default constructor
212  // here we are one based (amount == 1 <=> null scale)
213  virtual void scale_inputs(StdCalibrationInputs&, float amount) const=0;
214  virtual void shift_inputs(StdCalibrationInputs&, float amount) const=0;
216 };
217 
218 
219 struct ScaleE0 : public InputModifier
220 {
222 private:
223  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
224  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
225 };
226 
227 
228 struct ScaleE1 : public InputModifier
229 {
231 private:
232  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
233  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
234 };
235 
236 
237 struct ScaleE2 : public InputModifier
238 {
240 private:
241  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
242  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
243 };
244 
245 
246 struct ScaleE3 : public InputModifier
247 {
249 private:
250  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
251  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
252 };
253 
254 
256 {
258 private:
259  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
260  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
261 };
262 
263 
265 {
267 private:
268  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
269  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
270 };
271 
272 
274 {
276 private:
277  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
278  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
279 };
280 
281 
283 {
284 public:
285  typedef std::vector<std::pair<InputModifier*, GetAmountBase*> > ModifiersList;
292  egammaLayerRecalibTool(const std::string& name, const std::string& tune, int SaccEnable = 1);
293  egammaLayerRecalibTool(const std::string& tune, int SaccEnable = 1);
295 
297 
301  static std::pair<std::string, egammaLayerRecalibTool*> create(const std::string& type,
302  const std::string& args);
303 
311  void add_scale(InputModifier * modifier, GetAmountBase * amount);
316  void add_scale(const std::string& scale);
320  void clear_corrections();
321 
322  void fixForMissingCells(bool fix = true) { m_aodFixMissingCells = fix; }
323  void scaleMC(bool scaleMC = true) { m_scaleMC = scaleMC; }
327 
328 private:
329 
330  static const unsigned int m_Run2Run3runNumberTransition = 400000;
331 
332  std::string m_tune;
333  bool m_doPSCorrections = true;
334  bool m_doS12Corrections = true;
335  bool m_doSaccCorrections = true;
336  const std::string resolve_path(std::string filename) const;
337  static std::string resolve_alias(const std::string& tune) ;
339 
341 
342  bool m_aodFixMissingCells = false;
343  bool m_scaleMC = false;
344 };
345 
346 #endif // EGAMMA_LAYER_RECALIB_TOOL
InputModifier::SCALE
@ SCALE
Definition: egammaLayerRecalibTool.h:205
ScaleE2::ScaleE2
ScaleE2(NullPoint base)
Definition: egammaLayerRecalibTool.h:239
egammaLayerRecalibTool::ModifiersList
std::vector< std::pair< InputModifier *, GetAmountBase * > > ModifiersList
Definition: egammaLayerRecalibTool.h:285
base
std::string base
Definition: hcg.cxx:78
GetAmountHVPSGuillaume
Definition: egammaLayerRecalibTool.h:68
GetAmountPileupE3
Definition: egammaLayerRecalibTool.h:106
GetAmountPileupE2::GetAmountPileupE2
GetAmountPileupE2(corr_pileupShift *tool)
Definition: egammaLayerRecalibTool.h:99
GetAmountBase::~GetAmountBase
virtual ~GetAmountBase()
Definition: egammaLayerRecalibTool.h:62
GetAmountHVPSGuillaume::m_tool
corr_HV_EMBPS m_tool
Definition: egammaLayerRecalibTool.h:71
GetAmountHisto1D::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:53
ScaleE3::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:152
egammaLayerRecalibTool::m_aodFixMissingCells
bool m_aodFixMissingCells
Definition: egammaLayerRecalibTool.h:342
egammaLayerRecalibTool::m_pileup_tool
corr_pileupShift * m_pileup_tool
Definition: egammaLayerRecalibTool.h:340
InputModifier::ZEROBASED
@ ZEROBASED
Definition: egammaLayerRecalibTool.h:205
StdCalibrationInputs::E1raw
double E1raw
Definition: egammaLayerRecalibTool.h:51
python.CaloAddPedShiftConfig.args
args
Definition: CaloAddPedShiftConfig.py:45
InputModifier::SHIFT
@ SHIFT
Definition: egammaLayerRecalibTool.h:205
StdCalibrationInputs::phi
double phi
Definition: egammaLayerRecalibTool.h:49
GetAmountPileupE2::operator()
virtual float operator()(const StdCalibrationInputs &inputs) const
Definition: egammaLayerRecalibTool.cxx:119
GetAmountBase
Definition: egammaLayerRecalibTool.h:60
NNPDF30NNLO.tune
tune
Definition: GeneratorFilters/share/common/NNPDF30NNLO.py:1
GetAmountPileupE0::m_tool
corr_pileupShift * m_tool
Definition: egammaLayerRecalibTool.h:86
InputModifier::InputModifier
InputModifier(NullPoint base)
Definition: egammaLayerRecalibTool.h:207
ScaleEcalorimeter::ScaleEcalorimeter
ScaleEcalorimeter(NullPoint base)
Definition: egammaLayerRecalibTool.h:275
GetAmountFixed::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:95
InputModifier::NullPoint
NullPoint
Definition: egammaLayerRecalibTool.h:205
GetAmountPileupE2::m_tool
corr_pileupShift * m_tool
Definition: egammaLayerRecalibTool.h:102
GetAmountHisto1DDown::GetAmountHisto1DDown
GetAmountHisto1DDown(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:145
egammaLayerRecalibTool::scale_inputs
CP::CorrectionCode scale_inputs(StdCalibrationInputs &inputs) const
apply layer calibration to the
Definition: egammaLayerRecalibTool.cxx:963
GetAmountDecoratorBase
Definition: egammaLayerRecalibTool.h:191
ScaleE0::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:149
corr_pileupShift.h
GetAmountHVEMECPS207::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:107
GetAmountPileupE2
Definition: egammaLayerRecalibTool.h:98
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
egammaLayerRecalibTool::disable_S12Corrections
void disable_S12Corrections()
Definition: egammaLayerRecalibTool.h:325
egammaLayerRecalibTool::applyCorrection
CP::CorrectionCode applyCorrection(xAOD::Egamma &, const xAOD::EventInfo &event_info) const
Definition: egammaLayerRecalibTool.cxx:977
GetAmountHisto1DErrorUp::GetAmountHisto1DErrorUp
GetAmountHisto1DErrorUp(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:152
GetAmountHisto2DEtaCaloRunNumber::GetAmountHisto2DEtaCaloRunNumber
GetAmountHisto2DEtaCaloRunNumber(const TH2F &histo)
Definition: egammaLayerRecalibTool.h:174
GetAmountPileupE1::operator()
virtual float operator()(const StdCalibrationInputs &inputs) const
Definition: egammaLayerRecalibTool.cxx:115
GetAmountHisto1DUp::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:59
GetAmountFormula::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:99
corr_pileupShift
Correction for pileup induced energy shit as function of mu per layer for 2016 data.
Definition: corr_pileupShift.h:13
InputModifier::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const =0
yodamerge_tmp.scale
scale
Definition: yodamerge_tmp.py:138
ScaleE3
Definition: egammaLayerRecalibTool.h:247
python.TrigEgammaMonitorHelper.TH2F
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:45
egammaLayerRecalibTool::resolve_path
const std::string resolve_path(std::string filename) const
GetAmountHisto2DEtaCaloRunNumber
Definition: egammaLayerRecalibTool.h:173
ScaleE1overE2::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:155
GetAmountHisto2D::m_histo
TH2F m_histo
Definition: egammaLayerRecalibTool.h:168
InputModifier::SUBTRACT
@ SUBTRACT
Definition: egammaLayerRecalibTool.h:205
postInclude.inputs
inputs
Definition: postInclude.SortInput.py:15
GetAmountHisto1D::GetAmountHisto1D
GetAmountHisto1D(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:126
GetAmountFixed::m_amount
float m_amount
Definition: egammaLayerRecalibTool.h:187
InputModifier::~InputModifier
virtual ~InputModifier()
Definition: egammaLayerRecalibTool.h:209
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
GetAmountPileupE1::m_tool
corr_pileupShift * m_tool
Definition: egammaLayerRecalibTool.h:94
GetAmountHisto2D
Definition: egammaLayerRecalibTool.h:164
GetAmountHisto2DEtaCaloRunNumber::m_histo
TH2F m_histo
Definition: egammaLayerRecalibTool.h:177
StdCalibrationInputs::eta
double eta
Definition: egammaLayerRecalibTool.h:48
ScaleE1::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:150
ScaleE3::ScaleE3
ScaleE3(NullPoint base)
Definition: egammaLayerRecalibTool.h:248
InputModifier::ONEBASED_ALPHA
@ ONEBASED_ALPHA
Definition: egammaLayerRecalibTool.h:205
GetAmountHisto1DErrorDown
Definition: egammaLayerRecalibTool.h:158
ScaleE0
Definition: egammaLayerRecalibTool.h:220
InputModifier::InputModifier
InputModifier()
Definition: egammaLayerRecalibTool.h:211
AsgMessaging.h
Egamma.h
ScaleE0::ScaleE0
ScaleE0(NullPoint base)
Definition: egammaLayerRecalibTool.h:221
GetAmountHisto2DEtaCaloRunNumber::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:89
GetAmountHisto1DErrorDown::GetAmountHisto1DErrorDown
GetAmountHisto1DErrorDown(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:159
GetAmountPileupE3::GetAmountPileupE3
GetAmountPileupE3(corr_pileupShift *tool)
Definition: egammaLayerRecalibTool.h:107
ScaleEcalorimeter
Definition: egammaLayerRecalibTool.h:274
GetAmountHisto1DDown::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:65
egammaLayerRecalibTool::m_modifiers
ModifiersList m_modifiers
Definition: egammaLayerRecalibTool.h:338
InputModifier::ONEBASED
@ ONEBASED
Definition: egammaLayerRecalibTool.h:205
GetAmountPileupE0::operator()
virtual float operator()(const StdCalibrationInputs &inputs) const
Definition: egammaLayerRecalibTool.cxx:111
CaloCluster.h
ScaleE1::ScaleE1
ScaleE1(NullPoint base)
Definition: egammaLayerRecalibTool.h:230
GetAmountPileupE1
Definition: egammaLayerRecalibTool.h:90
corr_HV_EMBPS
Correction for time dependent HV effect in barrel presampler scale in 2012.
Definition: corr_HV_EMBPS.h:32
ScaleEaccordion::ScaleEaccordion
ScaleEaccordion(NullPoint base)
Definition: egammaLayerRecalibTool.h:266
GetAmountPileupE3::m_tool
corr_pileupShift * m_tool
Definition: egammaLayerRecalibTool.h:110
StdCalibrationInputs::E3raw
double E3raw
Definition: egammaLayerRecalibTool.h:53
egammaLayerRecalibTool::egammaLayerRecalibTool
egammaLayerRecalibTool(const std::string &name, const std::string &tune, int SaccEnable=1)
Definition: egammaLayerRecalibTool.cxx:947
GetAmountFixed::GetAmountFixed
GetAmountFixed(float amount)
Definition: egammaLayerRecalibTool.h:184
GetAmountPileupE3::operator()
virtual float operator()(const StdCalibrationInputs &inputs) const
Definition: egammaLayerRecalibTool.cxx:123
GetAmountFormula
Definition: egammaLayerRecalibTool.h:116
GetAmountFixed
Definition: egammaLayerRecalibTool.h:182
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
egammaLayerRecalibTool::clear_corrections
void clear_corrections()
remove all the scale corrections
Definition: egammaLayerRecalibTool.cxx:1069
ScaleE2::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:146
egammaLayerRecalibTool::disable_PSCorrections
void disable_PSCorrections()
Definition: egammaLayerRecalibTool.h:324
corr_HV_EMBPS.h
GetAmountDecoratorBase::GetAmountDecoratorBase
GetAmountDecoratorBase(GetAmountBase *getter)
Definition: egammaLayerRecalibTool.h:193
StdCalibrationInputs::RunNumber
unsigned int RunNumber
Definition: egammaLayerRecalibTool.h:47
egammaLayerRecalibTool::m_scaleMC
bool m_scaleMC
Definition: egammaLayerRecalibTool.h:343
InputModifier::ZEROBASED_ALPHA
@ ZEROBASED_ALPHA
Definition: egammaLayerRecalibTool.h:205
GetAmountHVEMECPS207
Definition: egammaLayerRecalibTool.h:75
ScaleE1
Definition: egammaLayerRecalibTool.h:229
egammaLayerRecalibTool::m_doPSCorrections
bool m_doPSCorrections
Definition: egammaLayerRecalibTool.h:333
egammaLayerRecalibTool::m_doSaccCorrections
bool m_doSaccCorrections
Definition: egammaLayerRecalibTool.h:335
egammaLayerRecalibTool::m_Run2Run3runNumberTransition
static const unsigned int m_Run2Run3runNumberTransition
Definition: egammaLayerRecalibTool.h:330
GetAmountBase::operator()
virtual float operator()(const StdCalibrationInputs &input) const =0
GetAmountHisto2D::GetAmountHisto2D
GetAmountHisto2D(const TH2F &histo)
Definition: egammaLayerRecalibTool.h:165
InputModifier
Definition: egammaLayerRecalibTool.h:204
ScaleEaccordion::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:184
egammaLayerRecalibTool::add_scale
void add_scale(InputModifier *modifier, GetAmountBase *amount)
add custom layer scale correction.
Definition: egammaLayerRecalibTool.cxx:958
ScaleE1::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:145
StdCalibrationInputs::E2raw
double E2raw
Definition: egammaLayerRecalibTool.h:52
egammaLayerRecalibTool::scaleMC
void scaleMC(bool scaleMC=true)
Definition: egammaLayerRecalibTool.h:323
GetAmountHisto1DErrorUp
Definition: egammaLayerRecalibTool.h:151
ScaleE3::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:147
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition: AsgMessaging.h:40
StdCalibrationInputs::averageInteractionsPerCrossing
float averageInteractionsPerCrossing
Definition: egammaLayerRecalibTool.h:46
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
GetAmountPileupE0
Definition: egammaLayerRecalibTool.h:82
ScaleE2::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:151
GetAmountHisto1D
Definition: egammaLayerRecalibTool.h:125
InputModifier::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const =0
make_hlt_rep.modifier
string modifier
Definition: make_hlt_rep.py:14
GetAmountHVPSGuillaume::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:103
egammaLayerRecalibTool::~egammaLayerRecalibTool
~egammaLayerRecalibTool()
Definition: egammaLayerRecalibTool.h:294
GetAmountHisto1DErrorDown::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:77
EventInfo.h
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
egammaLayerRecalibTool
Definition: egammaLayerRecalibTool.h:283
StdCalibrationInputs::etaCalo
double etaCalo
Definition: egammaLayerRecalibTool.h:54
GetAmountHisto1DErrorUp::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:71
ScaleEaccordion
Definition: egammaLayerRecalibTool.h:265
ScaleEcalorimeter::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:191
StdCalibrationInputs
Name : egammaLayerRecalibTool.h Package : egammaLayerRecalibTool Author : R.
Definition: egammaLayerRecalibTool.h:45
GetAmountPileupE1::GetAmountPileupE1
GetAmountPileupE1(corr_pileupShift *tool)
Definition: egammaLayerRecalibTool.h:91
ScaleE1overE2
Definition: egammaLayerRecalibTool.h:256
GetAmountDecoratorBase::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.h:195
egammaLayerRecalibTool::resolve_alias
static std::string resolve_alias(const std::string &tune)
Definition: egammaLayerRecalibTool.cxx:207
GetAmountFormula::GetAmountFormula
GetAmountFormula(const TFormula &formula)
Definition: egammaLayerRecalibTool.h:117
GetAmountDecoratorBase::~GetAmountDecoratorBase
virtual ~GetAmountDecoratorBase()
Definition: egammaLayerRecalibTool.h:194
egammaLayerRecalibTool::create
static std::pair< std::string, egammaLayerRecalibTool * > create(const std::string &type, const std::string &args)
helper to create a tool from a string (useful for command line arguments)
Definition: egammaLayerRecalibTool.cxx:1114
ScaleE2
Definition: egammaLayerRecalibTool.h:238
GetAmountDecoratorBase::m_getter
GetAmountBase * m_getter
Definition: egammaLayerRecalibTool.h:199
CP::CorrectionCode
Return value from object correction CP tools.
Definition: CorrectionCode.h:31
ScaleE0::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:144
InputModifier::m_base
NullPoint m_base
Definition: egammaLayerRecalibTool.h:215
GetAmountPileupE0::GetAmountPileupE0
GetAmountPileupE0(corr_pileupShift *tool)
Definition: egammaLayerRecalibTool.h:83
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
egammaLayerRecalibTool::m_doS12Corrections
bool m_doS12Corrections
Definition: egammaLayerRecalibTool.h:334
corr_HV_EMECPS.h
ScaleEcalorimeter::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:199
CorrectionCode.h
ScaleEaccordion::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:177
egammaLayerRecalibTool::fixForMissingCells
void fixForMissingCells(bool fix=true)
Definition: egammaLayerRecalibTool.h:322
GetAmountHisto1DDown
Definition: egammaLayerRecalibTool.h:144
egammaLayerRecalibTool::disable_SaccCorrections
void disable_SaccCorrections()
Definition: egammaLayerRecalibTool.h:326
InputModifier::operator()
CP::CorrectionCode operator()(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:128
GetAmountHisto1DUp
Definition: egammaLayerRecalibTool.h:137
egammaLayerRecalibTool::m_tune
std::string m_tune
Definition: egammaLayerRecalibTool.h:332
GetAmountHisto2D::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:83
AsgTool.h
plotBeamSpotCompare.histo
histo
Definition: plotBeamSpotCompare.py:415
ScaleE1overE2::ScaleE1overE2
ScaleE1overE2(NullPoint base)
Definition: egammaLayerRecalibTool.h:257
GetAmountHVEMECPS207::m_toolEMECPS
corr_HV_EMECPS m_toolEMECPS
Definition: egammaLayerRecalibTool.h:78
ScaleE1overE2::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:171
GetAmountHisto1DUp::GetAmountHisto1DUp
GetAmountHisto1DUp(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:138
GetAmountFormula::m_formula
TFormula m_formula
Definition: egammaLayerRecalibTool.h:120
GetAmountHisto1D::m_histo
std::unique_ptr< TH1 > m_histo
Definition: egammaLayerRecalibTool.h:132
StdCalibrationInputs::E0raw
double E0raw
Definition: egammaLayerRecalibTool.h:50
corr_HV_EMECPS
Correction for wrong HV EMEC presampler correction for 20.7 processed data (2015,2016)
Definition: corr_HV_EMECPS.h:14