ATLAS Offline Software
egammaLayerRecalibTool.h
Go to the documentation of this file.
1 // Dear Emacs, this is -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef EGAMMA_LAYER_RECALIB_TOOL
9 #define EGAMMA_LAYER_RECALIB_TOOL
10 
21 
23 
24 // TODO: rewrite with 1 modifier <-> 1 class (not 1 modifier <-> 2 classes amount + modifier)
25 // TODO: remove all not used cases
26 
27 #include <string>
28 #include <vector>
29 #include <memory>
30 
31 #include "AsgTools/AsgTool.h"
33 #include "xAODEgamma/Egamma.h"
37 
38 #include <TH1.h>
39 #include <TH2.h>
40 #include <TFormula.h>
44 
45 
47 {
48  float averageInteractionsPerCrossing; // only for pileup correction
49  unsigned int RunNumber; // only for HV presampler correction and accordion energy correction
50  double eta;
51  double phi; // only for HV presampler correction
52  double E0raw;
53  double E1raw;
54  double E2raw;
55  double E3raw;
56  double etaCalo;
57 };
58 
59 
60 // TODO: add protections for invalid inputs (histogram overflows)
62 {
63  virtual float operator()(const StdCalibrationInputs & input) const = 0;
64  virtual ~GetAmountBase() { };
65  virtual GetAmountBase* clone() const = 0;
66 };
67 
68 
69 // object adaptor (prefer composition vs inheritance)
71 {
72  virtual float operator()(const StdCalibrationInputs & input) const;
73 private:
74  virtual GetAmountHVPSGuillaume* clone() const { return nullptr; };
76 };
77 
79 {
80  virtual float operator()(const StdCalibrationInputs & input) const;
81 private:
82  virtual GetAmountHVEMECPS207* clone() const { return 0;};
84 };
85 
87 {
89  virtual float operator()(const StdCalibrationInputs & inputs) const;
90 private:
91  virtual GetAmountPileupE0* clone() const { return 0; };
93 };
94 
96 {
98  virtual float operator()(const StdCalibrationInputs & inputs) const;
99 private:
100  virtual GetAmountPileupE1* clone() const { return 0; };
102 };
103 
105 {
107  virtual float operator()(const StdCalibrationInputs & inputs) const;
108 private:
109  virtual GetAmountPileupE2* clone() const { return 0; };
111 };
112 
114 {
116  virtual float operator()(const StdCalibrationInputs & inputs) const;
117 private:
118  virtual GetAmountPileupE3* clone() const { return 0; };
120 };
121 
122 
123 
125 {
126  GetAmountFormula(const TFormula & formula) : m_formula(formula) { };
127  virtual GetAmountFormula* clone() const { return new GetAmountFormula(*this); };
128  virtual float operator()(const StdCalibrationInputs & input) const;
129 protected:
130  TFormula m_formula;
131 };
132 
133 
135 {
136  GetAmountHisto1D(const TH1& histo) : m_histo(static_cast<TH1*>(histo.Clone())) { m_histo->SetDirectory(nullptr); };
137  GetAmountHisto1D(const GetAmountHisto1D & oth) : m_histo(static_cast<TH1*>(oth.m_histo->Clone())) { m_histo->SetDirectory(nullptr); };
139  if (this != &oth) // protect against invalid self-assignment
140  {
141  m_histo.reset(static_cast<TH1*>(oth.m_histo->Clone()));
142  m_histo->SetDirectory(nullptr);
143  }
144  return *this;
145  }
146  virtual GetAmountHisto1D* clone() const { return new GetAmountHisto1D(*this); };
147  virtual float operator()(const StdCalibrationInputs & input) const;
148 protected:
149  std::unique_ptr<TH1> m_histo;
150 };
151 
152 
154 {
156  virtual GetAmountHisto1D* clone() const { return new GetAmountHisto1DUp(*this); };
157  virtual float operator()(const StdCalibrationInputs & input) const;
158 };
159 
160 
162 {
164  virtual GetAmountHisto1D* clone() const { return new GetAmountHisto1DDown(*this); };
165  virtual float operator()(const StdCalibrationInputs & input) const;
166 };
167 
168 
170 {
172  virtual GetAmountHisto1D* clone() const { return new GetAmountHisto1DErrorUp(*this); };
173  virtual float operator()(const StdCalibrationInputs & input) const;
174 };
175 
176 
178 {
180  virtual GetAmountHisto1D* clone() const { return new GetAmountHisto1DErrorDown(*this); };
181  virtual float operator()(const StdCalibrationInputs & input) const;
182 };
183 
184 
186 {
187  GetAmountHisto2D(const TH2F& histo) : m_histo(histo) { m_histo.SetDirectory(nullptr); };
188  virtual GetAmountHisto2D* clone() const { return new GetAmountHisto2D(*this); };
189  virtual float operator()(const StdCalibrationInputs & input) const;
190 protected:
192 };
193 
194 
196 {
199  virtual float operator()(const StdCalibrationInputs & input) const;
200 protected:
202 };
203 
204 
206 {
207 public:
208  GetAmountFixed(float amount) : m_amount(amount) { }
209  virtual GetAmountFixed* clone() const { return new GetAmountFixed(*this); };
210  virtual float operator()(const StdCalibrationInputs & input) const;
211 private:
212  float m_amount;
213 };
214 
215 
217 {
218 public:
220  virtual ~GetAmountDecoratorBase() { delete m_getter; }
221  virtual float operator()(const StdCalibrationInputs & input) const {
222  return (*m_getter)(input);
223  }
224 private:
226 };
227 
228 
230 {
232 
234  CP::CorrectionCode operator()(StdCalibrationInputs&, float amount) const;
235  virtual InputModifier* clone() const = 0;
236  virtual ~InputModifier() { };
237 private:
238  InputModifier() { }; // privatize default constructor
239  // here we are one based (amount == 1 <=> null scale)
240  virtual void scale_inputs(StdCalibrationInputs&, float amount) const=0;
241  virtual void shift_inputs(StdCalibrationInputs&, float amount) const=0;
243 };
244 
245 
246 struct ScaleE0 : public InputModifier
247 {
249  ScaleE0* clone() const { return new ScaleE0(*this); };
250 private:
251  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
252  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
253 };
254 
255 
256 struct ScaleE1 : public InputModifier
257 {
259  ScaleE1* clone() const { return new ScaleE1(*this); };
260 private:
261  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
262  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
263 };
264 
265 
266 struct ScaleE2 : public InputModifier
267 {
269  ScaleE2* clone() const { return new ScaleE2(*this); };
270 private:
271  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
272  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
273 };
274 
275 
276 struct ScaleE3 : public InputModifier
277 {
279  ScaleE3* clone() const { return new ScaleE3(*this); };
280 private:
281  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
282  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
283 };
284 
285 
287 {
289  ScaleE1overE2* clone() const { return new ScaleE1overE2(*this); };
290 private:
291  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
292  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
293 };
294 
295 
297 {
299  ScaleEaccordion* clone() const { return new ScaleEaccordion(*this); };
300 private:
301  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
302  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
303 };
304 
305 
307 {
309  ScaleEcalorimeter* clone() const { return new ScaleEcalorimeter(*this); };
310 private:
311  virtual void scale_inputs(StdCalibrationInputs&, float amount) const;
312  virtual void shift_inputs(StdCalibrationInputs&, float amount) const;
313 };
314 
315 
317 {
318 public:
319  typedef std::vector<std::pair<InputModifier*, GetAmountBase*> > ModifiersList;
326  egammaLayerRecalibTool(const std::string& name, const std::string& tune, int SaccEnable = 1);
327  egammaLayerRecalibTool(const std::string& tune, int SaccEnable = 1);
329 
331 
335  static std::pair<std::string, egammaLayerRecalibTool*> create(const std::string& type,
336  const std::string& args);
337 
345  void add_scale(InputModifier * modifier, GetAmountBase * amount);
350  void add_scale(const std::string& scale);
354  void clear_corrections();
355 
356  void fixForMissingCells(bool fix = true) { m_aodFixMissingCells = fix; }
357  void scaleMC(bool scaleMC = true) { m_scaleMC = scaleMC; }
361 
362 private:
363 
364  static const unsigned int m_Run2Run3runNumberTransition = 400000;
365 
366  std::string m_tune;
367  bool m_doPSCorrections = true;
368  bool m_doS12Corrections = true;
369  bool m_doSaccCorrections = true;
370  const std::string resolve_path(std::string filename) const;
371  static std::string resolve_alias(const std::string& tune) ;
373 
375 
376  bool m_aodFixMissingCells = false;
377  bool m_scaleMC = false;
378 };
379 
380 #endif // EGAMMA_LAYER_RECALIB_TOOL
InputModifier::SCALE
@ SCALE
Definition: egammaLayerRecalibTool.h:231
ScaleE2::ScaleE2
ScaleE2(NullPoint base)
Definition: egammaLayerRecalibTool.h:268
egammaLayerRecalibTool::ModifiersList
std::vector< std::pair< InputModifier *, GetAmountBase * > > ModifiersList
Definition: egammaLayerRecalibTool.h:319
base
std::string base
Definition: hcg.cxx:78
GetAmountHisto1DDown::clone
virtual GetAmountHisto1D * clone() const
Definition: egammaLayerRecalibTool.h:164
GetAmountHVPSGuillaume
Definition: egammaLayerRecalibTool.h:71
GetAmountPileupE3
Definition: egammaLayerRecalibTool.h:114
GetAmountHisto2D::clone
virtual GetAmountHisto2D * clone() const
Definition: egammaLayerRecalibTool.h:188
GetAmountPileupE2::GetAmountPileupE2
GetAmountPileupE2(corr_pileupShift *tool)
Definition: egammaLayerRecalibTool.h:106
GetAmountBase::~GetAmountBase
virtual ~GetAmountBase()
Definition: egammaLayerRecalibTool.h:64
GetAmountHVPSGuillaume::m_tool
corr_HV_EMBPS m_tool
Definition: egammaLayerRecalibTool.h:74
GetAmountHisto1D::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:55
ScaleE3::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:154
egammaLayerRecalibTool::m_aodFixMissingCells
bool m_aodFixMissingCells
Definition: egammaLayerRecalibTool.h:376
egammaLayerRecalibTool::m_pileup_tool
corr_pileupShift * m_pileup_tool
Definition: egammaLayerRecalibTool.h:374
InputModifier::ZEROBASED
@ ZEROBASED
Definition: egammaLayerRecalibTool.h:231
StdCalibrationInputs::E1raw
double E1raw
Definition: egammaLayerRecalibTool.h:53
InputModifier::SHIFT
@ SHIFT
Definition: egammaLayerRecalibTool.h:231
StdCalibrationInputs::phi
double phi
Definition: egammaLayerRecalibTool.h:51
GetAmountPileupE2::operator()
virtual float operator()(const StdCalibrationInputs &inputs) const
Definition: egammaLayerRecalibTool.cxx:121
GetAmountBase
Definition: egammaLayerRecalibTool.h:62
GetAmountHisto1DErrorDown::clone
virtual GetAmountHisto1D * clone() const
Definition: egammaLayerRecalibTool.h:180
NNPDF30NNLO.tune
tune
Definition: GeneratorFilters/share/common/NNPDF30NNLO.py:1
GetAmountPileupE0::m_tool
corr_pileupShift * m_tool
Definition: egammaLayerRecalibTool.h:91
InputModifier::InputModifier
InputModifier(NullPoint base)
Definition: egammaLayerRecalibTool.h:233
ScaleEcalorimeter::ScaleEcalorimeter
ScaleEcalorimeter(NullPoint base)
Definition: egammaLayerRecalibTool.h:308
GetAmountFixed::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:97
InputModifier::NullPoint
NullPoint
Definition: egammaLayerRecalibTool.h:231
GetAmountPileupE2::m_tool
corr_pileupShift * m_tool
Definition: egammaLayerRecalibTool.h:109
GetAmountHisto1DDown::GetAmountHisto1DDown
GetAmountHisto1DDown(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:163
egammaLayerRecalibTool::scale_inputs
CP::CorrectionCode scale_inputs(StdCalibrationInputs &inputs) const
apply layer calibration to the
Definition: egammaLayerRecalibTool.cxx:937
GetAmountDecoratorBase
Definition: egammaLayerRecalibTool.h:217
ScaleE0::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:151
corr_pileupShift.h
GetAmountHVEMECPS207::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:109
GetAmountPileupE2
Definition: egammaLayerRecalibTool.h:105
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
egammaLayerRecalibTool::disable_S12Corrections
void disable_S12Corrections()
Definition: egammaLayerRecalibTool.h:359
egammaLayerRecalibTool::applyCorrection
CP::CorrectionCode applyCorrection(xAOD::Egamma &, const xAOD::EventInfo &event_info) const
Definition: egammaLayerRecalibTool.cxx:951
GetAmountPileupE3::clone
virtual GetAmountPileupE3 * clone() const
Definition: egammaLayerRecalibTool.h:118
GetAmountHisto1DErrorUp::GetAmountHisto1DErrorUp
GetAmountHisto1DErrorUp(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:171
GetAmountHisto2DEtaCaloRunNumber::GetAmountHisto2DEtaCaloRunNumber
GetAmountHisto2DEtaCaloRunNumber(const TH2F &histo)
Definition: egammaLayerRecalibTool.h:197
GetAmountPileupE1::operator()
virtual float operator()(const StdCalibrationInputs &inputs) const
Definition: egammaLayerRecalibTool.cxx:117
GetAmountHisto1DUp::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:61
GetAmountFormula::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:101
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:277
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:196
ScaleE1overE2::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:157
GetAmountHisto2D::m_histo
TH2F m_histo
Definition: egammaLayerRecalibTool.h:191
InputModifier::SUBTRACT
@ SUBTRACT
Definition: egammaLayerRecalibTool.h:231
postInclude.inputs
inputs
Definition: postInclude.SortInput.py:15
GetAmountHisto1D::GetAmountHisto1D
GetAmountHisto1D(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:136
GetAmountFixed::m_amount
float m_amount
Definition: egammaLayerRecalibTool.h:212
InputModifier::~InputModifier
virtual ~InputModifier()
Definition: egammaLayerRecalibTool.h:236
GetAmountPileupE1::m_tool
corr_pileupShift * m_tool
Definition: egammaLayerRecalibTool.h:100
GetAmountHisto2D
Definition: egammaLayerRecalibTool.h:186
GetAmountHisto2DEtaCaloRunNumber::m_histo
TH2F m_histo
Definition: egammaLayerRecalibTool.h:201
StdCalibrationInputs::eta
double eta
Definition: egammaLayerRecalibTool.h:50
ScaleE1::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:152
ScaleE3::ScaleE3
ScaleE3(NullPoint base)
Definition: egammaLayerRecalibTool.h:278
InputModifier::ONEBASED_ALPHA
@ ONEBASED_ALPHA
Definition: egammaLayerRecalibTool.h:231
GetAmountHisto1DErrorDown
Definition: egammaLayerRecalibTool.h:178
ScaleE0
Definition: egammaLayerRecalibTool.h:247
InputModifier::InputModifier
InputModifier()
Definition: egammaLayerRecalibTool.h:238
AsgMessaging.h
Egamma.h
ScaleE0::ScaleE0
ScaleE0(NullPoint base)
Definition: egammaLayerRecalibTool.h:248
GetAmountHisto2DEtaCaloRunNumber::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:91
GetAmountHisto1DErrorDown::GetAmountHisto1DErrorDown
GetAmountHisto1DErrorDown(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:179
GetAmountPileupE3::GetAmountPileupE3
GetAmountPileupE3(corr_pileupShift *tool)
Definition: egammaLayerRecalibTool.h:115
ScaleEaccordion::clone
ScaleEaccordion * clone() const
Definition: egammaLayerRecalibTool.h:299
ScaleEcalorimeter
Definition: egammaLayerRecalibTool.h:307
GetAmountHisto1DDown::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:67
GetAmountFormula::clone
virtual GetAmountFormula * clone() const
Definition: egammaLayerRecalibTool.h:127
GetAmountHisto1D::operator=
GetAmountHisto1D & operator=(const GetAmountHisto1D &oth)
Definition: egammaLayerRecalibTool.h:138
egammaLayerRecalibTool::m_modifiers
ModifiersList m_modifiers
Definition: egammaLayerRecalibTool.h:372
InputModifier::ONEBASED
@ ONEBASED
Definition: egammaLayerRecalibTool.h:231
GetAmountPileupE0::operator()
virtual float operator()(const StdCalibrationInputs &inputs) const
Definition: egammaLayerRecalibTool.cxx:113
CaloCluster.h
ScaleE1::ScaleE1
ScaleE1(NullPoint base)
Definition: egammaLayerRecalibTool.h:258
GetAmountPileupE1
Definition: egammaLayerRecalibTool.h:96
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:298
GetAmountPileupE3::m_tool
corr_pileupShift * m_tool
Definition: egammaLayerRecalibTool.h:118
StdCalibrationInputs::E3raw
double E3raw
Definition: egammaLayerRecalibTool.h:55
egammaLayerRecalibTool::egammaLayerRecalibTool
egammaLayerRecalibTool(const std::string &name, const std::string &tune, int SaccEnable=1)
Definition: egammaLayerRecalibTool.cxx:921
GetAmountFixed::GetAmountFixed
GetAmountFixed(float amount)
Definition: egammaLayerRecalibTool.h:208
GetAmountPileupE3::operator()
virtual float operator()(const StdCalibrationInputs &inputs) const
Definition: egammaLayerRecalibTool.cxx:125
GetAmountFormula
Definition: egammaLayerRecalibTool.h:125
InputModifier::clone
virtual InputModifier * clone() const =0
GetAmountFixed
Definition: egammaLayerRecalibTool.h:206
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
egammaLayerRecalibTool::clear_corrections
void clear_corrections()
remove all the scale corrections
Definition: egammaLayerRecalibTool.cxx:1043
ScaleE2::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:148
GetAmountHisto1D::GetAmountHisto1D
GetAmountHisto1D(const GetAmountHisto1D &oth)
Definition: egammaLayerRecalibTool.h:137
egammaLayerRecalibTool::disable_PSCorrections
void disable_PSCorrections()
Definition: egammaLayerRecalibTool.h:358
corr_HV_EMBPS.h
GetAmountDecoratorBase::GetAmountDecoratorBase
GetAmountDecoratorBase(GetAmountBase *getter)
Definition: egammaLayerRecalibTool.h:219
GetAmountPileupE0::clone
virtual GetAmountPileupE0 * clone() const
Definition: egammaLayerRecalibTool.h:91
StdCalibrationInputs::RunNumber
unsigned int RunNumber
Definition: egammaLayerRecalibTool.h:49
GetAmountHisto1D::clone
virtual GetAmountHisto1D * clone() const
Definition: egammaLayerRecalibTool.h:146
egammaLayerRecalibTool::m_scaleMC
bool m_scaleMC
Definition: egammaLayerRecalibTool.h:377
InputModifier::ZEROBASED_ALPHA
@ ZEROBASED_ALPHA
Definition: egammaLayerRecalibTool.h:231
GetAmountHVEMECPS207
Definition: egammaLayerRecalibTool.h:79
ScaleE1
Definition: egammaLayerRecalibTool.h:257
egammaLayerRecalibTool::m_doPSCorrections
bool m_doPSCorrections
Definition: egammaLayerRecalibTool.h:367
egammaLayerRecalibTool::m_doSaccCorrections
bool m_doSaccCorrections
Definition: egammaLayerRecalibTool.h:369
egammaLayerRecalibTool::m_Run2Run3runNumberTransition
static const unsigned int m_Run2Run3runNumberTransition
Definition: egammaLayerRecalibTool.h:364
GetAmountBase::operator()
virtual float operator()(const StdCalibrationInputs &input) const =0
ScaleE3::clone
ScaleE3 * clone() const
Definition: egammaLayerRecalibTool.h:279
GetAmountHisto2D::GetAmountHisto2D
GetAmountHisto2D(const TH2F &histo)
Definition: egammaLayerRecalibTool.h:187
InputModifier
Definition: egammaLayerRecalibTool.h:230
ScaleEaccordion::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:186
egammaLayerRecalibTool::add_scale
void add_scale(InputModifier *modifier, GetAmountBase *amount)
add custom layer scale correction.
Definition: egammaLayerRecalibTool.cxx:932
ScaleE1::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:147
StdCalibrationInputs::E2raw
double E2raw
Definition: egammaLayerRecalibTool.h:54
egammaLayerRecalibTool::scaleMC
void scaleMC(bool scaleMC=true)
Definition: egammaLayerRecalibTool.h:357
GetAmountHisto1DErrorUp
Definition: egammaLayerRecalibTool.h:170
ScaleE3::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:149
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ScaleE1overE2::clone
ScaleE1overE2 * clone() const
Definition: egammaLayerRecalibTool.h:289
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition: AsgMessaging.h:40
StdCalibrationInputs::averageInteractionsPerCrossing
float averageInteractionsPerCrossing
Definition: egammaLayerRecalibTool.h:48
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
GetAmountPileupE0
Definition: egammaLayerRecalibTool.h:87
ScaleE2::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:153
GetAmountHisto1D
Definition: egammaLayerRecalibTool.h:135
InputModifier::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const =0
ScaleE0::clone
ScaleE0 * clone() const
Definition: egammaLayerRecalibTool.h:249
make_hlt_rep.modifier
string modifier
Definition: make_hlt_rep.py:14
GetAmountHisto1DUp::clone
virtual GetAmountHisto1D * clone() const
Definition: egammaLayerRecalibTool.h:156
GetAmountHVPSGuillaume::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:105
egammaLayerRecalibTool::~egammaLayerRecalibTool
~egammaLayerRecalibTool()
Definition: egammaLayerRecalibTool.h:328
GetAmountHisto1DErrorDown::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:79
EventInfo.h
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
egammaLayerRecalibTool
Definition: egammaLayerRecalibTool.h:317
StdCalibrationInputs::etaCalo
double etaCalo
Definition: egammaLayerRecalibTool.h:56
GetAmountHisto1DErrorUp::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:73
ScaleEaccordion
Definition: egammaLayerRecalibTool.h:297
ScaleEcalorimeter::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:193
StdCalibrationInputs
Name : egammaLayerRecalibTool.h Package : egammaLayerRecalibTool Author : R.
Definition: egammaLayerRecalibTool.h:47
GetAmountPileupE1::GetAmountPileupE1
GetAmountPileupE1(corr_pileupShift *tool)
Definition: egammaLayerRecalibTool.h:97
ScaleE1overE2
Definition: egammaLayerRecalibTool.h:287
GetAmountDecoratorBase::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.h:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
egammaLayerRecalibTool::resolve_alias
static std::string resolve_alias(const std::string &tune)
Definition: egammaLayerRecalibTool.cxx:209
GetAmountFormula::GetAmountFormula
GetAmountFormula(const TFormula &formula)
Definition: egammaLayerRecalibTool.h:126
GetAmountDecoratorBase::~GetAmountDecoratorBase
virtual ~GetAmountDecoratorBase()
Definition: egammaLayerRecalibTool.h:220
GetAmountHisto1DErrorUp::clone
virtual GetAmountHisto1D * clone() const
Definition: egammaLayerRecalibTool.h:172
GetAmountFixed::clone
virtual GetAmountFixed * clone() const
Definition: egammaLayerRecalibTool.h:209
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:1088
GetAmountPileupE2::clone
virtual GetAmountPileupE2 * clone() const
Definition: egammaLayerRecalibTool.h:109
ScaleE2
Definition: egammaLayerRecalibTool.h:267
GetAmountDecoratorBase::m_getter
GetAmountBase * m_getter
Definition: egammaLayerRecalibTool.h:225
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:146
InputModifier::m_base
NullPoint m_base
Definition: egammaLayerRecalibTool.h:242
GetAmountPileupE0::GetAmountPileupE0
GetAmountPileupE0(corr_pileupShift *tool)
Definition: egammaLayerRecalibTool.h:88
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
GetAmountBase::clone
virtual GetAmountBase * clone() const =0
egammaLayerRecalibTool::m_doS12Corrections
bool m_doS12Corrections
Definition: egammaLayerRecalibTool.h:368
corr_HV_EMECPS.h
GetAmountPileupE1::clone
virtual GetAmountPileupE1 * clone() const
Definition: egammaLayerRecalibTool.h:100
ScaleEcalorimeter::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:201
CorrectionCode.h
ScaleEaccordion::scale_inputs
virtual void scale_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:179
egammaLayerRecalibTool::fixForMissingCells
void fixForMissingCells(bool fix=true)
Definition: egammaLayerRecalibTool.h:356
GetAmountHVPSGuillaume::clone
virtual GetAmountHVPSGuillaume * clone() const
Definition: egammaLayerRecalibTool.h:74
GetAmountHisto1DDown
Definition: egammaLayerRecalibTool.h:162
egammaLayerRecalibTool::disable_SaccCorrections
void disable_SaccCorrections()
Definition: egammaLayerRecalibTool.h:360
InputModifier::operator()
CP::CorrectionCode operator()(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:130
ScaleE1::clone
ScaleE1 * clone() const
Definition: egammaLayerRecalibTool.h:259
GetAmountHisto1DUp
Definition: egammaLayerRecalibTool.h:154
egammaLayerRecalibTool::m_tune
std::string m_tune
Definition: egammaLayerRecalibTool.h:366
GetAmountHisto2D::operator()
virtual float operator()(const StdCalibrationInputs &input) const
Definition: egammaLayerRecalibTool.cxx:85
AsgTool.h
ScaleEcalorimeter::clone
ScaleEcalorimeter * clone() const
Definition: egammaLayerRecalibTool.h:309
plotBeamSpotCompare.histo
histo
Definition: plotBeamSpotCompare.py:415
GetAmountHVEMECPS207::clone
virtual GetAmountHVEMECPS207 * clone() const
Definition: egammaLayerRecalibTool.h:82
ScaleE1overE2::ScaleE1overE2
ScaleE1overE2(NullPoint base)
Definition: egammaLayerRecalibTool.h:288
GetAmountHisto2DEtaCaloRunNumber::clone
virtual GetAmountHisto2DEtaCaloRunNumber * clone() const
Definition: egammaLayerRecalibTool.h:198
GetAmountHVEMECPS207::m_toolEMECPS
corr_HV_EMECPS m_toolEMECPS
Definition: egammaLayerRecalibTool.h:82
ScaleE1overE2::shift_inputs
virtual void shift_inputs(StdCalibrationInputs &, float amount) const
Definition: egammaLayerRecalibTool.cxx:173
GetAmountHisto1DUp::GetAmountHisto1DUp
GetAmountHisto1DUp(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:155
GetAmountFormula::m_formula
TFormula m_formula
Definition: egammaLayerRecalibTool.h:130
GetAmountHisto1D::m_histo
std::unique_ptr< TH1 > m_histo
Definition: egammaLayerRecalibTool.h:149
StdCalibrationInputs::E0raw
double E0raw
Definition: egammaLayerRecalibTool.h:52
corr_HV_EMECPS
Correction for wrong HV EMEC presampler correction for 20.7 processed data (2015,2016)
Definition: corr_HV_EMECPS.h:14
python.CaloScaleNoiseConfig.args
args
Definition: CaloScaleNoiseConfig.py:80
ScaleE2::clone
ScaleE2 * clone() const
Definition: egammaLayerRecalibTool.h:269