CMS 3D CMS Logo

CaloParamsHelper.h
Go to the documentation of this file.
1 // CaloParamsHelper.h
2 // Author: R. Alex Barbieri
3 //
4 // Wrapper class for CaloParams and Et scales
5 
6 #include <iostream>
7 
9 
15 
16 #ifndef CaloParamsHelper_h
17 #define CaloParamsHelper_h
18 
19 namespace l1t {
20 
21  class CaloParamsHelper : public CaloParams {
22  public:
23  // DO NOT ADD ENTRIES ANYWHERE BUT DIRECTLY BEFORE "NUM_CALOPARAMNODES"
24  // DO NOT CHANGE NUMERICAL VALUES OF ANY ALREADY EXISTING FIELDS, YOU CAN ONLY EXTEND, AT THE END.
25  enum {
26  regionPUS = 0,
30  egShapeId = 4,
32  egPUS = 6,
35  tauPUS = 9,
37  jetPUS = 11,
40  hiQ2 = 14,
43  layer1ECal = 17,
44  layer1HCal = 18,
45  layer1HF = 19,
77  };
78 
82 
83  bool isValidForStage1() const { return true; }
84  bool isValidForStage2() const { return (version_ >= 2); }
85 
86  L1CaloEtScale emScale() const { return emScale_; }
88  L1CaloEtScale jetScale() const { return jetScale_; }
94 
95  // towers
96  double towerLsbH() const { return towerp_.lsbH_; }
97  double towerLsbE() const { return towerp_.lsbE_; }
98  double towerLsbSum() const { return towerp_.lsbSum_; }
99  int towerNBitsH() const { return towerp_.nBitsH_; }
100  int towerNBitsE() const { return towerp_.nBitsE_; }
101  int towerNBitsSum() const { return towerp_.nBitsSum_; }
102  int towerNBitsRatio() const { return towerp_.nBitsRatio_; }
103  int towerMaskE() const { return towerp_.maskE_; }
104  int towerMaskH() const { return towerp_.maskH_; }
105  int towerMaskSum() const { return towerp_.maskSum_; }
106  int towerMaskRatio() const { return towerp_.maskRatio_; }
107  bool doTowerEncoding() const { return towerp_.doEncoding_; }
108 
109  void setTowerLsbH(double lsb) { towerp_.lsbH_ = lsb; }
110  void setTowerLsbE(double lsb) { towerp_.lsbE_ = lsb; }
111  void setTowerLsbSum(double lsb) { towerp_.lsbSum_ = lsb; }
112  void setTowerNBitsH(int n) {
113  towerp_.nBitsH_ = n;
114  towerp_.maskH_ = std::pow(2, n) - 1;
115  }
116  void setTowerNBitsE(int n) {
117  towerp_.nBitsE_ = n;
118  towerp_.maskE_ = std::pow(2, n) - 1;
119  }
120  void setTowerNBitsSum(int n) {
121  towerp_.nBitsSum_ = n;
122  towerp_.maskSum_ = std::pow(2, n) - 1;
123  }
124  void setTowerNBitsRatio(int n) {
126  towerp_.maskRatio_ = std::pow(2, n) - 1;
127  }
128  void setTowerEncoding(bool doit) { towerp_.doEncoding_ = doit; }
129 
130  // regions
131  double regionLsb() const { return regionLsb_; }
132  std::string const& regionPUSType() const { return pnode_[regionPUS].type_; }
133  std::vector<double> const& regionPUSParams() const { return pnode_[regionPUS].dparams_; }
134  l1t::LUT* regionPUSLUT() { return &pnode_[regionPUS].LUT_; }
135  l1t::LUT const* regionPUSLUT() const { return &pnode_[regionPUS].LUT_; }
136 
137  int regionPUSValue(int PUM0, int eta) const {
138  int puSub = ceil(regionPUSParams()[18 * eta + PUM0] * 2);
139  return puSub;
140  }
141 
142  void setRegionLsb(double lsb) { regionLsb_ = lsb; }
144  void setRegionPUSParams(const std::vector<double>& params) { pnode_[regionPUS].dparams_ = params; }
145  void setRegionPUSLUT(const l1t::LUT& lut) { pnode_[regionPUS].LUT_ = lut; }
146 
147  int pileUpTowerThreshold() const { return pnode_[PUTowerThreshold].iparams_[0]; }
149  pnode_[PUTowerThreshold].iparams_.resize(1);
150  pnode_[PUTowerThreshold].iparams_[0] = thresh;
151  }
152 
153  // EG
154  int egEtaCut() const {
155  if (pnode_[egPUS].version_ == 1)
156  return pnode_[egPUS].iparams_[0];
157  else
158  return 0;
159  }
160  double egLsb() const { return egp_.lsb_; }
161  double egSeedThreshold() const { return egp_.seedThreshold_; }
162  double egNeighbourThreshold() const { return egp_.neighbourThreshold_; }
163  double egHcalThreshold() const { return egp_.hcalThreshold_; }
164  l1t::LUT* egTrimmingLUT() { return &pnode_[egTrimming].LUT_; }
165  l1t::LUT const* egTrimmingLUT() const { return &pnode_[egTrimming].LUT_; }
166  double egMaxHcalEt() const { return egp_.maxHcalEt_; }
167  double egMaxPtHOverE() const { return egp_.maxPtHOverE_; }
169  l1t::LUT const* egMaxHOverELUT() const { return &pnode_[egMaxHOverE].LUT_; }
171  l1t::LUT const* egCompressShapesLUT() const { return &pnode_[egCompressShapes].LUT_; }
172  l1t::LUT* egShapeIdLUT() { return &pnode_[egShapeId].LUT_; }
173  l1t::LUT const* egShapeIdLUT() const { return &pnode_[egShapeId].LUT_; }
178  unsigned egBypassEGVetos() const { return pnode_[egBypassEGVetosFlag].uparams_[0]; }
179  unsigned egBypassExtHOverE() const { return pnode_[egBypassExtHoE].uparams_[0]; }
180  unsigned egBypassShape() const {
181  if (pnode_[egBypassShapeFlag].uparams_.empty())
182  return 0;
183  else
184  return pnode_[egBypassShapeFlag].uparams_[0];
185  }
186  unsigned egBypassECALFG() const {
187  if (pnode_[egBypassECALFGFlag].uparams_.empty())
188  return 0;
189  else
190  return pnode_[egBypassECALFGFlag].uparams_[0];
191  }
192  unsigned egBypassHoE() const {
193  if (pnode_[egBypassHoEFlag].uparams_.empty())
194  return 0;
195  else
196  return pnode_[egBypassHoEFlag].uparams_[0];
197  }
198 
199  int egHOverEcutBarrel() const { return pnode_[egHOverEBarrel].iparams_[0]; }
200  int egHOverEcutEndcap() const { return pnode_[egHOverEEndcap].iparams_[0]; }
201 
202  unsigned egIsoAreaNrTowersEta() const { return egp_.isoAreaNrTowersEta_; }
203  unsigned egIsoAreaNrTowersPhi() const { return egp_.isoAreaNrTowersPhi_; }
204  unsigned egIsoVetoNrTowersPhi() const { return egp_.isoVetoNrTowersPhi_; }
205  const std::string& egPUSType() const { return pnode_[egPUS].type_; }
206  const std::vector<double>& egPUSParams() const { return pnode_[egPUS].dparams_; }
207  double egPUSParam(int ipar) const { return pnode_[egPUS].dparams_.at(ipar); }
208 
209  std::string const& egIsolationType() const { return pnode_[egIsolation].type_; }
210  l1t::LUT const* egIsolationLUT() const { return &pnode_[egIsolation].LUT_; }
212  l1t::LUT const* egIsolationLUT2() const { return &pnode_[egIsolation2].LUT_; }
214  std::string const& egCalibrationType() const { return pnode_[egCalibration].type_; }
215  std::vector<double> const& egCalibrationParams() const { return pnode_[egCalibration].dparams_; }
216  l1t::LUT const* egCalibrationLUT() const { return &pnode_[egCalibration].LUT_; }
218 
219  void setEgEtaCut(int mask) {
220  pnode_[egPUS].iparams_.resize(1);
221  pnode_[egPUS].iparams_[0] = mask;
222  }
223  void setEgLsb(double lsb) { egp_.lsb_ = lsb; }
227  void setEgTrimmingLUT(const l1t::LUT& lut) { pnode_[egTrimming].LUT_ = lut; }
228  void setEgMaxHcalEt(double cut) { egp_.maxHcalEt_ = cut; }
230  void setEgMaxHOverELUT(const l1t::LUT& lut) { pnode_[egMaxHOverE].LUT_ = lut; }
231  void setEgCompressShapesLUT(const l1t::LUT& lut) { pnode_[egCompressShapes].LUT_ = lut; }
232  void setEgShapeIdLUT(const l1t::LUT& lut) { pnode_[egShapeId].LUT_ = lut; }
233  void setEgMinPtJetIsolation(int cutValue) { egp_.minPtJetIsolation_ = cutValue; }
234  void setEgMaxPtJetIsolation(int cutValue) { egp_.maxPtJetIsolation_ = cutValue; }
235  void setEgMinPtHOverEIsolation(int cutValue) { egp_.minPtHOverEIsolation_ = cutValue; }
236  void setEgMaxPtHOverEIsolation(int cutValue) { egp_.maxPtHOverEIsolation_ = cutValue; }
237  void setEgBypassEGVetos(unsigned flag) {
238  pnode_[egBypassEGVetosFlag].uparams_.resize(1);
239  pnode_[egBypassEGVetosFlag].uparams_[0] = flag;
240  }
241  void setEgBypassExtHOverE(unsigned flag) {
242  pnode_[egBypassExtHoE].uparams_.resize(1);
243  pnode_[egBypassExtHoE].uparams_[0] = flag;
244  }
245  void setEgBypassShape(unsigned flag) {
246  pnode_[egBypassShapeFlag].uparams_.resize(1);
247  pnode_[egBypassShapeFlag].uparams_[0] = flag;
248  }
249  void setEgBypassECALFG(unsigned flag) {
250  pnode_[egBypassECALFGFlag].uparams_.resize(1);
251  pnode_[egBypassECALFGFlag].uparams_[0] = flag;
252  }
253  void setEgBypassHoE(unsigned flag) {
254  pnode_[egBypassHoEFlag].uparams_.resize(1);
255  pnode_[egBypassHoEFlag].uparams_[0] = flag;
256  }
258  pnode_[egHOverEBarrel].iparams_.resize(1);
259  pnode_[egHOverEBarrel].iparams_[0] = cut;
260  }
262  pnode_[egHOverEEndcap].iparams_.resize(1);
263  pnode_[egHOverEEndcap].iparams_[0] = cut;
264  }
265 
266  void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta) { egp_.isoAreaNrTowersEta_ = iEgIsoAreaNrTowersEta; }
267  void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi) { egp_.isoAreaNrTowersPhi_ = iEgIsoAreaNrTowersPhi; }
268  void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi) { egp_.isoVetoNrTowersPhi_ = iEgIsoVetoNrTowersPhi; }
270  void setEgPUSParams(const std::vector<double>& params) { pnode_[egPUS].dparams_ = params; }
272  void setEgIsolationLUT(const l1t::LUT& lut) { pnode_[egIsolation].LUT_ = lut; }
273  void setEgIsolationLUT2(const l1t::LUT& lut) { pnode_[egIsolation2].LUT_ = lut; }
275  void setEgCalibrationParams(std::vector<double> params) { pnode_[egCalibration].dparams_ = params; }
276  void setEgCalibrationLUT(const l1t::LUT& lut) { pnode_[egCalibration].LUT_ = lut; }
277 
278  // - recently imported:
279  std::string const& egShapeIdType() const { return pnode_[egShapeId].type_; }
281  unsigned egShapeIdVersion() const { return pnode_[egShapeId].version_; }
282  void setEgShapeIdVersion(unsigned version) { pnode_[egShapeId].version_ = version; }
283  unsigned egCalibrationVersion() const { return pnode_[egCalibration].version_; }
285 
286  // tau
287  int tauRegionMask() const {
288  if (pnode_[tauPUS].version_ == 1)
289  return pnode_[tauPUS].iparams_[0];
290  else
291  return 0;
292  }
293  double tauLsb() const { return taup_.lsb_; }
294  double tauSeedThreshold() const { return taup_.seedThreshold_; }
296  double tauMaxPtTauVeto() const { return taup_.maxPtTauVeto_; }
298  double tauMaxJetIsolationB() const { return taup_.maxJetIsolationB_; }
299  double tauMaxJetIsolationA() const { return taup_.maxJetIsolationA_; }
300  int isoTauEtaMin() const { return taup_.isoEtaMin_; }
301  int isoTauEtaMax() const { return taup_.isoEtaMax_; }
302  std::string tauPUSType() const { return pnode_[tauPUS].type_; }
303  const std::vector<double>& tauPUSParams() const { return pnode_[tauPUS].dparams_; }
304  double tauPUSParam(int ipar) const { return pnode_[tauPUS].dparams_.at(ipar); }
305 
307  l1t::LUT const* tauIsolationLUT() const { return &pnode_[tauIsolation].LUT_; }
309  l1t::LUT const* tauIsolationLUT2() const { return &pnode_[tauIsolation2].LUT_; }
312 
313  std::string const& tauCalibrationType() const { return pnode_[tauCalibration].type_; }
314  std::vector<double> const& tauCalibrationParams() const { return pnode_[tauCalibration].dparams_; }
316  l1t::LUT const* tauCalibrationLUT() const { return &pnode_[tauCalibration].LUT_; }
318  l1t::LUT const* tauCompressLUT() const { return &pnode_[tauCompress].LUT_; }
319 
320  l1t::LUT const* tauEtToHFRingEtLUT() const { return &pnode_[tauEtToHFRingEt].LUT_; }
322 
323  unsigned tauIsoAreaNrTowersEta() const { return taup_.isoAreaNrTowersEta_; }
324  unsigned tauIsoAreaNrTowersPhi() const { return taup_.isoAreaNrTowersPhi_; }
325  unsigned tauIsoVetoNrTowersPhi() const { return taup_.isoVetoNrTowersPhi_; }
326 
327  void setTauRegionMask(int mask) {
328  pnode_[tauPUS].iparams_.resize(1);
329  pnode_[tauPUS].iparams_[0] = mask;
330  }
331  void setTauLsb(double lsb) { taup_.lsb_ = lsb; }
337  void setTauMaxJetIsolationA(double cutValue) { taup_.maxJetIsolationA_ = cutValue; }
341  void setTauIsolationLUT(const l1t::LUT& lut) { pnode_[tauIsolation].LUT_ = lut; }
342  void setTauIsolationLUT2(const l1t::LUT& lut) { pnode_[tauIsolation2].LUT_ = lut; }
344 
346  void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta) {
347  taup_.isoAreaNrTowersEta_ = iTauIsoAreaNrTowersEta;
348  }
349  void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi) {
350  taup_.isoAreaNrTowersPhi_ = iTauIsoAreaNrTowersPhi;
351  }
352  void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi) {
353  taup_.isoVetoNrTowersPhi_ = iTauIsoVetoNrTowersPhi;
354  }
355 
356  void setTauCalibrationParams(std::vector<double> params) { pnode_[tauCalibration].dparams_ = params; }
357  void setTauCalibrationLUT(const l1t::LUT& lut) { pnode_[tauCalibration].LUT_ = lut; }
358  void setTauCompressLUT(const l1t::LUT& lut) { pnode_[tauCompress].LUT_ = lut; }
359  void setTauPUSParams(const std::vector<double>& params) { pnode_[tauPUS].dparams_ = params; }
360 
361  void setTauEtToHFRingEtLUT(const l1t::LUT& lut) { pnode_[tauEtToHFRingEt].LUT_ = lut; }
362 
363  // jets
364  double jetLsb() const { return jetp_.lsb_; }
365  double jetSeedThreshold() const { return jetp_.seedThreshold_; }
367  int jetRegionMask() const {
368  if (pnode_[jetPUS].version_ == 1)
369  return pnode_[jetPUS].iparams_[0];
370  else
371  return 0;
372  }
373 
374  unsigned jetBypassPUS() const { return pnode_[jetBypassPUSFlag].uparams_[0]; }
375  unsigned jetPUSUsePhiRing() const {
376  if (pnode_[jetPUSUsePhiRingFlag].uparams_.empty())
377  return 0;
378  else
379  return pnode_[jetPUSUsePhiRingFlag].uparams_[0];
380  }
381 
382  std::string jetPUSType() const { return pnode_[jetPUS].type_; }
383  std::vector<double> const& jetPUSParams() const { return pnode_[jetPUS].dparams_; }
384  std::string const& jetCalibrationType() const { return pnode_[jetCalibration].type_; }
385  std::vector<double> const& jetCalibrationParams() const { return pnode_[jetCalibration].dparams_; }
386 
388  l1t::LUT const* jetCalibrationLUT() const { return &pnode_[jetCalibration].LUT_; }
390  l1t::LUT const* jetCompressPtLUT() const { return &pnode_[jetCompressPt].LUT_; }
392  l1t::LUT const* jetCompressEtaLUT() const { return &pnode_[jetCompressEta].LUT_; }
393 
394  void setJetLsb(double lsb) { jetp_.lsb_ = lsb; }
397  void setJetRegionMask(int mask) {
398  pnode_[jetPUS].iparams_.resize(1);
399  pnode_[jetPUS].iparams_[0] = mask;
400  }
402  void setJetPUSParams(std::vector<double> params) { pnode_[jetPUS].dparams_ = params; }
404  void setJetCalibrationParams(std::vector<double> params) { pnode_[jetCalibration].dparams_ = params; }
405  void setJetCalibrationLUT(const l1t::LUT& lut) { pnode_[jetCalibration].LUT_ = lut; }
406  void setJetCompressEtaLUT(const l1t::LUT& lut) { pnode_[jetCompressEta].LUT_ = lut; }
407  void setJetCompressPtLUT(const l1t::LUT& lut) { pnode_[jetCompressPt].LUT_ = lut; }
408  void setJetBypassPUS(unsigned flag) {
409  pnode_[jetBypassPUSFlag].uparams_.resize(1);
410  pnode_[jetBypassPUSFlag].uparams_[0] = flag;
411  }
412  void setJetPUSUsePhiRing(unsigned flag) {
413  pnode_[jetPUSUsePhiRingFlag].uparams_.resize(1);
414  pnode_[jetPUSUsePhiRingFlag].uparams_[0] = flag;
415  }
416 
417  // sums
418 
419  double etSumLsb() const { return etSumLsb_; }
420  int etSumEtaMin(unsigned isum) const;
421  int etSumEtaMax(unsigned isum) const;
422  double etSumEtThreshold(unsigned isum) const;
423  unsigned etSumBypassMetPUS() const { return pnode_[etSumBypassMetPUSFlag].uparams_[0]; }
424  unsigned etSumBypassEttPUS() const { return pnode_[etSumBypassEttPUSFlag].uparams_[0]; }
425  unsigned etSumBypassEcalSumPUS() const { return pnode_[etSumBypassEcalSumPUSFlag].uparams_[0]; }
426  std::string const& etSumMetPUSType() const { return pnode_[etSumMetPUS].type_; }
427  std::string const& etSumEttPUSType() const { return pnode_[etSumEttPUS].type_; }
428  std::string const& etSumEcalSumPUSType() const { return pnode_[etSumEcalSumPUS].type_; }
429  std::string const& metCalibrationType() const { return pnode_[metCalibration].type_; }
430  std::string const& metHFCalibrationType() const { return pnode_[metHFCalibration].type_; }
433 
435  l1t::LUT const* etSumMetPUSLUT() const { return &pnode_[etSumMetPUS].LUT_; }
437  l1t::LUT const* etSumEttPUSLUT() const { return &pnode_[etSumEttPUS].LUT_; }
439  l1t::LUT const* etSumEcalSumPUSLUT() const { return &pnode_[etSumEcalSumPUS].LUT_; }
441  l1t::LUT const* metCalibrationLUT() const { return &pnode_[metCalibration].LUT_; }
443  l1t::LUT const* metHFCalibrationLUT() const { return &pnode_[metHFCalibration].LUT_; }
445  l1t::LUT const* etSumEttCalibrationLUT() const { return &pnode_[etSumEttCalibration].LUT_; }
449  l1t::LUT const* metPhiCalibrationLUT() const { return &pnode_[metPhiCalibration].LUT_; }
451  l1t::LUT const* metHFPhiCalibrationLUT() const { return &pnode_[metHFPhiCalibration].LUT_; }
452 
453  void setEtSumLsb(double lsb) { etSumLsb_ = lsb; }
454  void setEtSumEtaMin(unsigned isum, int eta);
455  void setEtSumEtaMax(unsigned isum, int eta);
456  void setEtSumEtThreshold(unsigned isum, double thresh);
464  void setEtSumBypassMetPUS(unsigned flag) {
465  pnode_[etSumBypassMetPUSFlag].uparams_.resize(1);
466  pnode_[etSumBypassMetPUSFlag].uparams_[0] = flag;
467  }
468  void setEtSumBypassEttPUS(unsigned flag) {
469  pnode_[etSumBypassEttPUSFlag].uparams_.resize(1);
470  pnode_[etSumBypassEttPUSFlag].uparams_[0] = flag;
471  }
473  pnode_[etSumBypassEcalSumPUSFlag].uparams_.resize(1);
474  pnode_[etSumBypassEcalSumPUSFlag].uparams_[0] = flag;
475  }
476 
477  void setEtSumMetPUSLUT(const l1t::LUT& lut) { pnode_[etSumMetPUS].LUT_ = lut; }
478  void setEtSumEttPUSLUT(const l1t::LUT& lut) { pnode_[etSumEttPUS].LUT_ = lut; }
479  void setEtSumEcalSumPUSLUT(const l1t::LUT& lut) { pnode_[etSumEcalSumPUS].LUT_ = lut; }
480  void setMetCalibrationLUT(const l1t::LUT& lut) { pnode_[metCalibration].LUT_ = lut; }
481  void setMetHFCalibrationLUT(const l1t::LUT& lut) { pnode_[metHFCalibration].LUT_ = lut; }
484  void setMetPhiCalibrationLUT(const l1t::LUT& lut) { pnode_[metPhiCalibration].LUT_ = lut; }
486 
487  // HI centrality
488  int centralityRegionMask() const {
489  if (pnode_[hiCentrality].version_ == 1)
490  return pnode_[hiCentrality].iparams_[0];
491  else
492  return 0;
493  }
494  std::vector<int> minimumBiasThresholds() const {
495  if (pnode_[hiCentrality].version_ == 1 && pnode_[hiCentrality].iparams_.size() == 5) {
496  std::vector<int> newVec;
497  for (int i = 0; i < 4; i++) {
498  newVec.push_back(pnode_[hiCentrality].iparams_.at(i + 1));
499  }
500  return newVec;
501  } else {
502  std::vector<int> newVec;
503  return newVec;
504  }
505  }
507  l1t::LUT const* centralityLUT() const { return &pnode_[hiCentrality].LUT_; }
508  void setCentralityRegionMask(int mask) {
509  pnode_[hiCentrality].iparams_.resize(5);
510  pnode_[hiCentrality].iparams_[0] = mask;
511  }
512  void setMinimumBiasThresholds(std::vector<int> thresholds) {
513  pnode_[hiCentrality].iparams_.resize(5);
514  for (int i = 0; i < 4; i++) {
515  pnode_[hiCentrality].iparams_[i + 1] = thresholds.at(i);
516  }
517  }
518  void setCentralityLUT(const l1t::LUT& lut) { pnode_[hiCentrality].LUT_ = lut; }
519 
520  // HI Q2
521  l1t::LUT* q2LUT() { return &pnode_[hiQ2].LUT_; }
522  l1t::LUT const* q2LUT() const { return &pnode_[hiQ2].LUT_; }
523  void setQ2LUT(const l1t::LUT& lut) { pnode_[hiQ2].LUT_ = lut; }
524 
525  // HI parameters
526  double etSumCentLower(unsigned centClass) const {
527  if (pnode_[etSumCentralityLower].dparams_.size() > centClass)
528  return pnode_[etSumCentralityLower].dparams_.at(centClass);
529  else
530  return 0.;
531  }
532  double etSumCentUpper(unsigned centClass) const {
533  if (pnode_[etSumCentralityUpper].dparams_.size() > centClass)
534  return pnode_[etSumCentralityUpper].dparams_.at(centClass);
535  else
536  return 0.;
537  }
538  void setEtSumCentLower(unsigned centClass, double loBound) {
539  if (pnode_[etSumCentralityLower].dparams_.size() <= centClass)
540  pnode_[etSumCentralityLower].dparams_.resize(centClass + 1);
541  pnode_[etSumCentralityLower].dparams_.at(centClass) = loBound;
542  }
543  void setEtSumCentUpper(unsigned centClass, double upBound) {
544  if (pnode_[etSumCentralityUpper].dparams_.size() <= centClass)
545  pnode_[etSumCentralityUpper].dparams_.resize(centClass + 1);
546  pnode_[etSumCentralityUpper].dparams_.at(centClass) = upBound;
547  }
548 
549  // Layer 1 LUT specification
550  std::vector<double> const& layer1ECalScaleFactors() const { return pnode_[layer1ECal].dparams_; }
551  std::vector<double> const& layer1HCalScaleFactors() const { return pnode_[layer1HCal].dparams_; }
552  std::vector<double> const& layer1HFScaleFactors() const { return pnode_[layer1HF].dparams_; }
553  std::vector<int> const& layer1ECalScaleETBins() const { return pnode_[layer1ECal].iparams_; }
554  std::vector<int> const& layer1HCalScaleETBins() const { return pnode_[layer1HCal].iparams_; }
555  std::vector<int> const& layer1HFScaleETBins() const { return pnode_[layer1HF].iparams_; }
556  std::vector<unsigned> const& layer1ECalScalePhiBins() const { return pnode_[layer1ECal].uparams_; }
557  std::vector<unsigned> const& layer1HCalScalePhiBins() const { return pnode_[layer1HCal].uparams_; }
558  std::vector<unsigned> const& layer1HFScalePhiBins() const { return pnode_[layer1HF].uparams_; }
559  void setLayer1ECalScaleFactors(std::vector<double> params) { pnode_[layer1ECal].dparams_ = std::move(params); }
560  void setLayer1HCalScaleFactors(std::vector<double> params) { pnode_[layer1HCal].dparams_ = std::move(params); }
561  void setLayer1HFScaleFactors(std::vector<double> params) { pnode_[layer1HF].dparams_ = std::move(params); }
562  void setLayer1ECalScaleETBins(std::vector<int> params) { pnode_[layer1ECal].iparams_ = std::move(params); }
563  void setLayer1HCalScaleETBins(std::vector<int> params) { pnode_[layer1HCal].iparams_ = std::move(params); }
564  void setLayer1HFScaleETBins(std::vector<int> params) { pnode_[layer1HF].iparams_ = std::move(params); }
565  void setLayer1ECalScalePhiBins(std::vector<unsigned> params) { pnode_[layer1ECal].uparams_ = std::move(params); }
566  void setLayer1HCalScalePhiBins(std::vector<unsigned> params) { pnode_[layer1HCal].uparams_ = std::move(params); }
567  void setLayer1HFScalePhiBins(std::vector<unsigned> params) { pnode_[layer1HF].uparams_ = std::move(params); }
568 
569  std::vector<unsigned> const& layer1SecondStageLUT() const { return pnode_[layer1HOverE].uparams_; }
570  void setLayer1SecondStageLUT(const std::vector<unsigned>& lut) { pnode_[layer1HOverE].uparams_ = lut; }
571 
572  void setNode(int pos, const Node& n) { pnode_[pos] = n; }
573  const std::vector<Node>& getNodes(void) const { return pnode_; }
574 
575  private:
580  friend std::ostream& operator<<(std::ostream& os, const CaloParamsHelper& h);
581  };
582 
583  std::ostream& operator<<(std::ostream& os, const l1t::CaloParamsHelper& p);
584 
585 } // namespace l1t
586 
587 #endif
l1t::CaloParamsHelper::egBypassEGVetosFlag
Definition: CaloParamsHelper.h:53
L1EmEtScaleRcd.h
l1t::CaloParams::TowerParams::lsbE_
double lsbE_
Definition: CaloParams.h:53
l1t::CaloParamsHelper::setTowerNBitsRatio
void setTowerNBitsRatio(int n)
Definition: CaloParamsHelper.h:124
l1t::CaloParamsHelper::setTauMaxJetIsolationA
void setTauMaxJetIsolationA(double cutValue)
Definition: CaloParamsHelper.h:337
l1t::CaloParamsHelper::egHOverEEndcap
Definition: CaloParamsHelper.h:56
l1t::CaloParamsHelper::tauCompressLUT
l1t::LUT const * tauCompressLUT() const
Definition: CaloParamsHelper.h:318
l1t::CaloParamsHelper::layer1HFScalePhiBins
std::vector< unsigned > const & layer1HFScalePhiBins() const
Definition: CaloParamsHelper.h:558
l1t::CaloParamsHelper::setEtSumEcalSumCalibrationLUT
void setEtSumEcalSumCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:483
l1t::CaloParamsHelper::metHFCalibration
Definition: CaloParamsHelper.h:49
l1t::CaloParams::EgParams::minPtJetIsolation_
int minPtJetIsolation_
Definition: CaloParams.h:124
l1t::CaloParamsHelper::setEtSumEtaMax
void setEtSumEtaMax(unsigned isum, int eta)
Definition: CaloParamsHelper.cc:45
l1t::CaloParamsHelper::setEtSumEcalSumPUSType
void setEtSumEcalSumPUSType(std::string type)
Definition: CaloParamsHelper.h:459
l1t::CaloParamsHelper::jetCalibrationLUT
l1t::LUT * jetCalibrationLUT()
Definition: CaloParamsHelper.h:387
l1t::CaloParamsHelper::setEgCalibrationVersion
void setEgCalibrationVersion(unsigned version)
Definition: CaloParamsHelper.h:284
l1t::CaloParamsHelper::egShapeIdType
std::string const & egShapeIdType() const
Definition: CaloParamsHelper.h:279
l1t::CaloParamsHelper::jetBypassPUS
unsigned jetBypassPUS() const
Definition: CaloParamsHelper.h:374
l1t::CaloParamsHelper::jetCalibrationLUT
l1t::LUT const * jetCalibrationLUT() const
Definition: CaloParamsHelper.h:388
mps_fire.i
i
Definition: mps_fire.py:355
l1t::CaloParamsHelper::etSumMetPUSLUT
l1t::LUT * etSumMetPUSLUT()
Definition: CaloParamsHelper.h:434
l1t::CaloParamsHelper::etSumEttPUS
Definition: CaloParamsHelper.h:61
l1t::CaloParamsHelper::operator<<
friend std::ostream & operator<<(std::ostream &os, const CaloParamsHelper &h)
Definition: CaloParamsHelper.cc:16
l1t::CaloParamsHelper::tauMaxJetIsolationB
double tauMaxJetIsolationB() const
Definition: CaloParamsHelper.h:298
l1t::CaloParamsHelper::etSumEttPUSLUT
l1t::LUT * etSumEttPUSLUT()
Definition: CaloParamsHelper.h:436
l1t::CaloParamsHelper::setTauEtToHFRingEtLUT
void setTauEtToHFRingEtLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:361
l1t::CaloParamsHelper::egIsoAreaNrTowersPhi
unsigned egIsoAreaNrTowersPhi() const
Definition: CaloParamsHelper.h:203
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
l1t::CaloParamsHelper::setCentralityLUT
void setCentralityLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:518
l1t::CaloParamsHelper::centralityLUT
l1t::LUT * centralityLUT()
Definition: CaloParamsHelper.h:506
l1t::CaloParamsHelper::metHFPhiCalibrationLUT
l1t::LUT const * metHFPhiCalibrationLUT() const
Definition: CaloParamsHelper.h:451
l1t::CaloParamsHelper::etSumCentLower
double etSumCentLower(unsigned centClass) const
Definition: CaloParamsHelper.h:526
l1t::CaloParamsHelper::isValidForStage2
bool isValidForStage2() const
Definition: CaloParamsHelper.h:84
l1t::CaloParamsHelper::setMetPhiCalibrationLUT
void setMetPhiCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:484
l1t::CaloParamsHelper::setLayer1HFScaleFactors
void setLayer1HFScaleFactors(std::vector< double > params)
Definition: CaloParamsHelper.h:561
l1t::CaloParamsHelper::setEgLsb
void setEgLsb(double lsb)
Definition: CaloParamsHelper.h:223
l1t::CaloParamsHelper::towerMaskRatio
int towerMaskRatio() const
Definition: CaloParamsHelper.h:106
particleFlowZeroSuppressionECAL_cff.thresholds
thresholds
Definition: particleFlowZeroSuppressionECAL_cff.py:31
l1t::CaloParamsHelper::egPUS
Definition: CaloParamsHelper.h:32
l1t::CaloParamsHelper::setJetCalibrationParams
void setJetCalibrationParams(std::vector< double > params)
Definition: CaloParamsHelper.h:404
TkAlMuonSelectors_cfi.cut
cut
Definition: TkAlMuonSelectors_cfi.py:5
l1t::CaloParamsHelper::setIsoTauEtaMax
void setIsoTauEtaMax(int value)
Definition: CaloParamsHelper.h:339
l1t::CaloParamsHelper::jetPUS
Definition: CaloParamsHelper.h:37
l1t::CaloParamsHelper::doTowerEncoding
bool doTowerEncoding() const
Definition: CaloParamsHelper.h:107
l1t::CaloParamsHelper::setEgNeighbourThreshold
void setEgNeighbourThreshold(double thresh)
Definition: CaloParamsHelper.h:225
l1t::CaloParams::TowerParams::lsbH_
double lsbH_
Definition: CaloParams.h:50
l1t::CaloParamsHelper::emScale
L1CaloEtScale emScale() const
Definition: CaloParamsHelper.h:86
l1t::CaloParamsHelper::etSumCentUpper
double etSumCentUpper(unsigned centClass) const
Definition: CaloParamsHelper.h:532
l1t::CaloParamsHelper::towerMaskH
int towerMaskH() const
Definition: CaloParamsHelper.h:104
l1t::CaloParams::TauParams::isoEtaMax_
int isoEtaMax_
Definition: CaloParams.h:184
l1t::CaloParamsHelper::egBypassHoEFlag
Definition: CaloParamsHelper.h:70
l1t::CaloParamsHelper::etSumBypassEcalSumPUS
unsigned etSumBypassEcalSumPUS() const
Definition: CaloParamsHelper.h:425
l1t::CaloParamsHelper::egCompressShapesLUT
l1t::LUT const * egCompressShapesLUT() const
Definition: CaloParamsHelper.h:171
l1t::CaloParamsHelper::egTrimming
Definition: CaloParamsHelper.h:27
l1t::CaloParamsHelper::metCalibrationLUT
l1t::LUT * metCalibrationLUT()
Definition: CaloParamsHelper.h:440
l1t::CaloParamsHelper::setTauIsolationLUT
void setTauIsolationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:341
l1t::CaloParamsHelper::setEgMinPtHOverEIsolation
void setEgMinPtHOverEIsolation(int cutValue)
Definition: CaloParamsHelper.h:235
l1t::CaloParamsHelper::towerLsbE
double towerLsbE() const
Definition: CaloParamsHelper.h:97
l1t::CaloParamsHelper::etSumEcalSumPUSType
std::string const & etSumEcalSumPUSType() const
Definition: CaloParamsHelper.h:428
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
l1t::CaloParamsHelper::setJetCalibrationLUT
void setJetCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:405
l1t::CaloParamsHelper::setRegionPUSType
void setRegionPUSType(std::string type)
Definition: CaloParamsHelper.h:143
l1t::CaloParamsHelper::etSumEcalSumPUS
Definition: CaloParamsHelper.h:63
l1t::CaloParamsHelper::setTauLsb
void setTauLsb(double lsb)
Definition: CaloParamsHelper.h:331
l1t::CaloParamsHelper::tauPUSParam
double tauPUSParam(int ipar) const
Definition: CaloParamsHelper.h:304
l1t::CaloParamsHelper::towerMaskSum
int towerMaskSum() const
Definition: CaloParamsHelper.h:105
l1t::CaloParamsHelper::setTauMinPtJetIsolationB
void setTauMinPtJetIsolationB(double limit)
Definition: CaloParamsHelper.h:335
l1t::CaloParamsHelper::setEtSumBypassMetPUS
void setEtSumBypassMetPUS(unsigned flag)
Definition: CaloParamsHelper.h:464
l1t::CaloParamsHelper::jetScale
L1CaloEtScale jetScale() const
Definition: CaloParamsHelper.h:88
l1t::CaloParamsHelper::setEtSumMetPUSLUT
void setEtSumMetPUSLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:477
l1t::CaloParams::TowerParams::nBitsE_
int nBitsE_
Definition: CaloParams.h:62
l1t::CaloParamsHelper::regionPUSLUT
l1t::LUT * regionPUSLUT()
Definition: CaloParamsHelper.h:134
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
pos
Definition: PixelAliasList.h:18
l1t::CaloParams::TowerParams::maskRatio_
int maskRatio_
Definition: CaloParams.h:80
l1t::CaloParamsHelper::setTauCalibrationLUT
void setTauCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:357
l1t::CaloParams::EgParams::maxHcalEt_
double maxHcalEt_
Definition: CaloParams.h:118
l1t::CaloParamsHelper::egCalibrationVersion
unsigned egCalibrationVersion() const
Definition: CaloParamsHelper.h:283
l1t::CaloParams::EgParams::maxPtHOverEIsolation_
int maxPtHOverEIsolation_
Definition: CaloParams.h:129
l1t::CaloParamsHelper::egBypassHoE
unsigned egBypassHoE() const
Definition: CaloParamsHelper.h:192
l1t::CaloParamsHelper::tauIsoAreaNrTowersEta
unsigned tauIsoAreaNrTowersEta() const
Definition: CaloParamsHelper.h:323
l1t::CaloParamsHelper::tauPUSParams
const std::vector< double > & tauPUSParams() const
Definition: CaloParamsHelper.h:303
l1t::CaloParamsHelper::layer1ECalScalePhiBins
std::vector< unsigned > const & layer1ECalScalePhiBins() const
Definition: CaloParamsHelper.h:556
l1t::CaloParamsHelper::setJetScale
void setJetScale(L1CaloEtScale jetScale)
Definition: CaloParamsHelper.h:89
l1t::CaloParamsHelper::egIsolationLUT
l1t::LUT const * egIsolationLUT() const
Definition: CaloParamsHelper.h:210
l1t::CaloParamsHelper::jetPUSType
std::string jetPUSType() const
Definition: CaloParamsHelper.h:382
l1t::CaloParamsHelper::setEtSumBypassEcalSumPUS
void setEtSumBypassEcalSumPUS(unsigned flag)
Definition: CaloParamsHelper.h:472
l1t::CaloParamsHelper::setEgMaxPtJetIsolation
void setEgMaxPtJetIsolation(int cutValue)
Definition: CaloParamsHelper.h:234
l1t::CaloParamsHelper::setEgHcalThreshold
void setEgHcalThreshold(double thresh)
Definition: CaloParamsHelper.h:226
l1t::CaloParamsHelper::hiQ2
Definition: CaloParamsHelper.h:40
l1t::CaloParams::TauParams::minPtJetIsolationB_
double minPtJetIsolationB_
Definition: CaloParams.h:174
l1t::CaloParamsHelper::etSumCentralityUpper
Definition: CaloParamsHelper.h:72
l1t::CaloParamsHelper::setEgHOverEcutEndcap
void setEgHOverEcutEndcap(int cut)
Definition: CaloParamsHelper.h:261
l1t::CaloParamsHelper::metHFPhiCalibrationLUT
l1t::LUT * metHFPhiCalibrationLUT()
Definition: CaloParamsHelper.h:450
l1t::CaloParams::EgParams::lsb_
double lsb_
Definition: CaloParams.h:106
l1t::CaloParamsHelper::setCentralityRegionMask
void setCentralityRegionMask(int mask)
Definition: CaloParamsHelper.h:508
l1t::CaloParamsHelper::isValidForStage1
bool isValidForStage1() const
Definition: CaloParamsHelper.h:83
l1t::CaloParamsHelper::tauPUS
Definition: CaloParamsHelper.h:35
l1t::CaloParamsHelper::setTauIsoAreaNrTowersPhi
void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi)
Definition: CaloParamsHelper.h:349
l1t::CaloParamsHelper::setEgBypassExtHOverE
void setEgBypassExtHOverE(unsigned flag)
Definition: CaloParamsHelper.h:241
l1t::CaloParamsHelper::setTauNeighbourThreshold
void setTauNeighbourThreshold(double thresh)
Definition: CaloParamsHelper.h:333
l1t::CaloParamsHelper::egCalibrationParams
std::vector< double > const & egCalibrationParams() const
Definition: CaloParamsHelper.h:215
l1t::CaloParamsHelper::etSumEcalSumCalibration
Definition: CaloParamsHelper.h:51
l1t::CaloParamsHelper::etSumLsb
double etSumLsb() const
Definition: CaloParamsHelper.h:419
l1t::CaloParamsHelper::getNodes
const std::vector< Node > & getNodes(void) const
Definition: CaloParamsHelper.h:573
l1t::CaloParamsHelper::setEtSumEttCalibrationLUT
void setEtSumEttCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:482
l1t::CaloParams::TowerParams::nBitsRatio_
int nBitsRatio_
Definition: CaloParams.h:68
l1t::CaloParamsHelper::regionPUSParams
std::vector< double > const & regionPUSParams() const
Definition: CaloParamsHelper.h:133
l1t::CaloParams::pnode_
std::vector< Node > pnode_
Definition: CaloParams.h:236
l1t::CaloParamsHelper::egShapeIdLUT
l1t::LUT const * egShapeIdLUT() const
Definition: CaloParamsHelper.h:173
l1t::CaloParamsHelper::~CaloParamsHelper
~CaloParamsHelper()
Definition: CaloParamsHelper.h:81
l1t::CaloParamsHelper::setLayer1ECalScalePhiBins
void setLayer1ECalScalePhiBins(std::vector< unsigned > params)
Definition: CaloParamsHelper.h:565
l1t::CaloParams::TauParams::isoAreaNrTowersEta_
unsigned isoAreaNrTowersEta_
Definition: CaloParams.h:187
l1t::CaloParamsHelper::setHfRingScale
void setHfRingScale(L1CaloEtScale HfRingScale)
Definition: CaloParamsHelper.h:93
l1t::CaloParams::TowerParams::maskE_
int maskE_
Definition: CaloParams.h:74
l1t::CaloParams::TowerParams::lsbSum_
double lsbSum_
Definition: CaloParams.h:56
l1t::CaloParamsHelper::egPUSType
const std::string & egPUSType() const
Definition: CaloParamsHelper.h:205
l1t::CaloParamsHelper::tauMaxPtTauVeto
double tauMaxPtTauVeto() const
Definition: CaloParamsHelper.h:296
l1t::CaloParamsHelper::etSumEttCalibrationType
std::string const & etSumEttCalibrationType() const
Definition: CaloParamsHelper.h:431
l1t::CaloParams::regionLsb_
double regionLsb_
Definition: CaloParams.h:241
l1t::CaloParamsHelper::egShapeIdLUT
l1t::LUT * egShapeIdLUT()
Definition: CaloParamsHelper.h:172
l1t::CaloParamsHelper::egMinPtJetIsolation
int egMinPtJetIsolation() const
Definition: CaloParamsHelper.h:174
l1t::CaloParamsHelper::metCalibrationType
std::string const & metCalibrationType() const
Definition: CaloParamsHelper.h:429
l1t::CaloParamsHelper::jetScale_
L1CaloEtScale jetScale_
Definition: CaloParamsHelper.h:577
l1t::CaloParamsHelper::minimumBiasThresholds
std::vector< int > minimumBiasThresholds() const
Definition: CaloParamsHelper.h:494
l1t::CaloParamsHelper::setTauIsoAreaNrTowersEta
void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta)
Definition: CaloParamsHelper.h:346
l1t::CaloParamsHelper::layer1ECalScaleETBins
std::vector< int > const & layer1ECalScaleETBins() const
Definition: CaloParamsHelper.h:553
l1t::CaloParamsHelper::towerNBitsH
int towerNBitsH() const
Definition: CaloParamsHelper.h:99
l1t::CaloParamsHelper::egShapeIdVersion
unsigned egShapeIdVersion() const
Definition: CaloParamsHelper.h:281
l1t::CaloParamsHelper::setJetCompressEtaLUT
void setJetCompressEtaLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:406
l1t::CaloParams::EgParams::isoAreaNrTowersEta_
unsigned isoAreaNrTowersEta_
Definition: CaloParams.h:132
l1t::CaloParamsHelper::egNeighbourThreshold
double egNeighbourThreshold() const
Definition: CaloParamsHelper.h:162
l1t::CaloParams::towerp_
TowerParams towerp_
Definition: CaloParams.h:238
l1t::CaloParamsHelper::HtMissScale_
L1CaloEtScale HtMissScale_
Definition: CaloParamsHelper.h:578
l1t::CaloParams::EgParams::maxPtHOverE_
double maxPtHOverE_
Definition: CaloParams.h:121
l1t::CaloParams::EgParams::maxPtJetIsolation_
int maxPtJetIsolation_
Definition: CaloParams.h:125
l1t::CaloParamsHelper::tauCompress
Definition: CaloParamsHelper.h:42
l1t::CaloParamsHelper::setHtMissScale
void setHtMissScale(L1CaloEtScale HtMissScale)
Definition: CaloParamsHelper.h:92
l1t::CaloParamsHelper::jetSeedThreshold
double jetSeedThreshold() const
Definition: CaloParamsHelper.h:365
L1HtMissScaleRcd.h
l1t::CaloParamsHelper::q2LUT
l1t::LUT * q2LUT()
Definition: CaloParamsHelper.h:521
l1t::CaloParamsHelper::setLayer1HCalScalePhiBins
void setLayer1HCalScalePhiBins(std::vector< unsigned > params)
Definition: CaloParamsHelper.h:566
l1t::CaloParamsHelper::etSumEtThreshold
double etSumEtThreshold(unsigned isum) const
Definition: CaloParamsHelper.cc:32
l1t::CaloParamsHelper::tauIsolationLUT
l1t::LUT const * tauIsolationLUT() const
Definition: CaloParamsHelper.h:307
l1t::CaloParamsHelper::etSumCentralityLower
Definition: CaloParamsHelper.h:71
l1t::CaloParamsHelper::jetCompressPtLUT
l1t::LUT const * jetCompressPtLUT() const
Definition: CaloParamsHelper.h:390
l1t::CaloParamsHelper::tauTrimmingShapeVetoLUT
l1t::LUT * tauTrimmingShapeVetoLUT()
Definition: CaloParamsHelper.h:310
l1t::CaloParamsHelper::setEtSumEttPUSLUT
void setEtSumEttPUSLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:478
l1t::CaloParamsHelper::tauCalibrationLUT
l1t::LUT const * tauCalibrationLUT() const
Definition: CaloParamsHelper.h:316
l1t::CaloParamsHelper::metCalibration
Definition: CaloParamsHelper.h:48
l1t::CaloParamsHelper::egHcalThreshold
double egHcalThreshold() const
Definition: CaloParamsHelper.h:163
l1t::CaloParamsHelper::metHFCalibrationLUT
l1t::LUT const * metHFCalibrationLUT() const
Definition: CaloParamsHelper.h:443
l1t::CaloParamsHelper::HtMissScale
L1CaloEtScale HtMissScale() const
Definition: CaloParamsHelper.h:90
l1t::CaloParamsHelper::jetCompressEtaLUT
l1t::LUT const * jetCompressEtaLUT() const
Definition: CaloParamsHelper.h:392
l1t::CaloParamsHelper::setEgShapeIdLUT
void setEgShapeIdLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:232
l1t::CaloParamsHelper::layer1HCalScaleFactors
std::vector< double > const & layer1HCalScaleFactors() const
Definition: CaloParamsHelper.h:551
l1t::CaloParamsHelper::q2LUT
l1t::LUT const * q2LUT() const
Definition: CaloParamsHelper.h:522
l1t::CaloParamsHelper::egBypassExtHoE
Definition: CaloParamsHelper.h:59
l1t::CaloParamsHelper::setRegionPUSLUT
void setRegionPUSLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:145
l1t::CaloParamsHelper::setEgCalibrationLUT
void setEgCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:276
l1t::CaloParamsHelper::egCompressShapesLUT
l1t::LUT * egCompressShapesLUT()
Definition: CaloParamsHelper.h:170
l1t::CaloParamsHelper::metCalibrationLUT
l1t::LUT const * metCalibrationLUT() const
Definition: CaloParamsHelper.h:441
l1t::CaloParamsHelper::egHOverEcutEndcap
int egHOverEcutEndcap() const
Definition: CaloParamsHelper.h:200
l1t::CaloParamsHelper::setJetCompressPtLUT
void setJetCompressPtLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:407
l1t::CaloParamsHelper::egIsoVetoNrTowersPhi
unsigned egIsoVetoNrTowersPhi() const
Definition: CaloParamsHelper.h:204
l1t::CaloParams::TauParams::maxPtTauVeto_
double maxPtTauVeto_
Definition: CaloParams.h:171
l1t::CaloParamsHelper::tauSeedThreshold
double tauSeedThreshold() const
Definition: CaloParamsHelper.h:294
reco::ceil
constexpr int32_t ceil(float num)
Definition: constexpr_cmath.h:7
l1t::CaloParamsHelper::jetCalibrationType
std::string const & jetCalibrationType() const
Definition: CaloParamsHelper.h:384
l1t::CaloParamsHelper::setTauMaxPtTauVeto
void setTauMaxPtTauVeto(double limit)
Definition: CaloParamsHelper.h:334
l1t::CaloParamsHelper::setEtSumEcalSumCalibrationType
void setEtSumEcalSumCalibrationType(std::string type)
Definition: CaloParamsHelper.h:463
l1t::CaloParamsHelper::emScale_
L1CaloEtScale emScale_
Definition: CaloParamsHelper.h:576
l1t::CaloParamsHelper::egCalibration
Definition: CaloParamsHelper.h:31
l1t::CaloParamsHelper::setEtSumCentLower
void setEtSumCentLower(unsigned centClass, double loBound)
Definition: CaloParamsHelper.h:538
l1t::CaloParamsHelper::setEgHOverEcutBarrel
void setEgHOverEcutBarrel(int cut)
Definition: CaloParamsHelper.h:257
l1t::CaloParams::JetParams::neighbourThreshold_
double neighbourThreshold_
Definition: CaloParams.h:222
l1t::CaloParams::jetp_
JetParams jetp_
Definition: CaloParams.h:245
l1t::CaloParamsHelper::tauIsolationLUT2
l1t::LUT * tauIsolationLUT2()
Definition: CaloParamsHelper.h:308
l1t::CaloParamsHelper::tauCalibrationParams
std::vector< double > const & tauCalibrationParams() const
Definition: CaloParamsHelper.h:314
l1t::CaloParamsHelper::setEtSumMetPUSType
void setEtSumMetPUSType(std::string type)
Definition: CaloParamsHelper.h:457
l1t::CaloParamsHelper::etSumBypassEttPUSFlag
Definition: CaloParamsHelper.h:62
l1t::CaloParamsHelper::setTowerLsbH
void setTowerLsbH(double lsb)
Definition: CaloParamsHelper.h:109
l1t::CaloParamsHelper::egBypassEGVetos
unsigned egBypassEGVetos() const
Definition: CaloParamsHelper.h:178
l1t::CaloParamsHelper::layer1HOverE
Definition: CaloParamsHelper.h:65
l1t::CaloParams::TauParams::maxJetIsolationB_
double maxJetIsolationB_
Definition: CaloParams.h:177
PVValHelper::eta
Definition: PVValidationHelpers.h:69
l1t::CaloParamsHelper::towerNBitsE
int towerNBitsE() const
Definition: CaloParamsHelper.h:100
l1t::CaloParamsHelper::etSumEtaMin
int etSumEtaMin(unsigned isum) const
Definition: CaloParamsHelper.cc:18
l1t::CaloParamsHelper::setEtSumEtaMin
void setEtSumEtaMin(unsigned isum, int eta)
Definition: CaloParamsHelper.cc:39
l1t::CaloParamsHelper::layer1ECal
Definition: CaloParamsHelper.h:43
l1t::CaloParamsHelper::etSumEcalSumCalibrationType
std::string const & etSumEcalSumCalibrationType() const
Definition: CaloParamsHelper.h:432
l1t::CaloParamsHelper::egMinPtHOverEIsolation
int egMinPtHOverEIsolation() const
Definition: CaloParamsHelper.h:176
l1t::CaloParamsHelper::setEgMinPtJetIsolation
void setEgMinPtJetIsolation(int cutValue)
Definition: CaloParamsHelper.h:233
l1t::CaloParamsHelper::setJetCalibrationType
void setJetCalibrationType(std::string type)
Definition: CaloParamsHelper.h:403
l1t::CaloParamsHelper::layer1ECalScaleFactors
std::vector< double > const & layer1ECalScaleFactors() const
Definition: CaloParamsHelper.h:550
CaloParams.h
l1t::CaloParamsHelper::setRegionLsb
void setRegionLsb(double lsb)
Definition: CaloParamsHelper.h:142
l1t::CaloParams::JetParams::seedThreshold_
double seedThreshold_
Definition: CaloParams.h:219
l1t::CaloParamsHelper::etSumMetPUS
Definition: CaloParamsHelper.h:57
l1t::CaloParamsHelper::setEgBypassECALFG
void setEgBypassECALFG(unsigned flag)
Definition: CaloParamsHelper.h:249
l1t::CaloParamsHelper::setEgIsolationLUT2
void setEgIsolationLUT2(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:273
l1t::CaloParamsHelper::setEtSumCentUpper
void setEtSumCentUpper(unsigned centClass, double upBound)
Definition: CaloParamsHelper.h:543
l1t::CaloParamsHelper::tauTrimmingShapeVetoLUT
l1t::LUT const * tauTrimmingShapeVetoLUT() const
Definition: CaloParamsHelper.h:311
l1t::CaloParamsHelper::setTowerNBitsH
void setTowerNBitsH(int n)
Definition: CaloParamsHelper.h:112
l1t::CaloParamsHelper::etSumBypassMetPUS
unsigned etSumBypassMetPUS() const
Definition: CaloParamsHelper.h:423
l1t::CaloParamsHelper::etSumEtaMax
int etSumEtaMax(unsigned isum) const
Definition: CaloParamsHelper.cc:25
l1t::CaloParamsHelper::setJetPUSUsePhiRing
void setJetPUSUsePhiRing(unsigned flag)
Definition: CaloParamsHelper.h:412
l1t::CaloParamsHelper::tauEtToHFRingEtLUT
l1t::LUT * tauEtToHFRingEtLUT()
Definition: CaloParamsHelper.h:321
l1t::CaloParamsHelper::egBypassShape
unsigned egBypassShape() const
Definition: CaloParamsHelper.h:180
l1t::CaloParamsHelper::tauLsb
double tauLsb() const
Definition: CaloParamsHelper.h:293
h
l1t::CaloParams::TauParams::neighbourThreshold_
double neighbourThreshold_
Definition: CaloParams.h:168
l1t::CaloParamsHelper::jetCalibration
Definition: CaloParamsHelper.h:38
l1t::CaloParamsHelper::tauCompressLUT
l1t::LUT * tauCompressLUT()
Definition: CaloParamsHelper.h:317
l1t::CaloParamsHelper::egShapeId
Definition: CaloParamsHelper.h:30
l1t::CaloParamsHelper::setLayer1HCalScaleETBins
void setLayer1HCalScaleETBins(std::vector< int > params)
Definition: CaloParamsHelper.h:563
l1t::CaloParamsHelper::setEgBypassEGVetos
void setEgBypassEGVetos(unsigned flag)
Definition: CaloParamsHelper.h:237
l1t::CaloParamsHelper::etSumMetPUSType
std::string const & etSumMetPUSType() const
Definition: CaloParamsHelper.h:426
l1t::CaloParamsHelper::setTauCompressLUT
void setTauCompressLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:358
l1t::CaloParamsHelper::etSumBypassMetPUSFlag
Definition: CaloParamsHelper.h:58
l1t::CaloParamsHelper::setLayer1HCalScaleFactors
void setLayer1HCalScaleFactors(std::vector< double > params)
Definition: CaloParamsHelper.h:560
l1t::CaloParamsHelper::metPhiCalibrationLUT
l1t::LUT const * metPhiCalibrationLUT() const
Definition: CaloParamsHelper.h:449
l1t::CaloParamsHelper::egEtaCut
int egEtaCut() const
Definition: CaloParamsHelper.h:154
l1t::CaloParamsHelper::egMaxHcalEt
double egMaxHcalEt() const
Definition: CaloParamsHelper.h:166
l1t::CaloParamsHelper::jetPUSUsePhiRingFlag
Definition: CaloParamsHelper.h:73
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::CaloParamsHelper::regionLsb
double regionLsb() const
Definition: CaloParamsHelper.h:131
l1t::CaloParamsHelper::egBypassECALFG
unsigned egBypassECALFG() const
Definition: CaloParamsHelper.h:186
l1t::CaloParamsHelper::setEtSumEtThreshold
void setEtSumEtThreshold(unsigned isum, double thresh)
Definition: CaloParamsHelper.cc:51
l1t::CaloParams::TauParams::maxJetIsolationA_
double maxJetIsolationA_
Definition: CaloParams.h:180
l1t::CaloParamsHelper::tauMaxJetIsolationA
double tauMaxJetIsolationA() const
Definition: CaloParamsHelper.h:299
l1t::CaloParamsHelper::setEgPUSType
void setEgPUSType(std::string type)
Definition: CaloParamsHelper.h:269
l1t::CaloParamsHelper::egLsb
double egLsb() const
Definition: CaloParamsHelper.h:160
l1t::CaloParams::TauParams::seedThreshold_
double seedThreshold_
Definition: CaloParams.h:165
l1t::CaloParamsHelper::egSeedThreshold
double egSeedThreshold() const
Definition: CaloParamsHelper.h:161
l1t::CaloParamsHelper::tauTrimmingShapeVeto
Definition: CaloParamsHelper.h:67
l1t::CaloParams::EgParams::isoAreaNrTowersPhi_
unsigned isoAreaNrTowersPhi_
Definition: CaloParams.h:135
l1t::CaloParamsHelper::setTowerEncoding
void setTowerEncoding(bool doit)
Definition: CaloParamsHelper.h:128
l1t::CaloParamsHelper::egIsolation
Definition: CaloParamsHelper.h:33
l1t::CaloParamsHelper::setLayer1ECalScaleETBins
void setLayer1ECalScaleETBins(std::vector< int > params)
Definition: CaloParamsHelper.h:562
l1t::CaloParams::EgParams::isoVetoNrTowersPhi_
unsigned isoVetoNrTowersPhi_
Definition: CaloParams.h:138
l1t::CaloParamsHelper::setNode
void setNode(int pos, const Node &n)
Definition: CaloParamsHelper.h:572
l1t::CaloParamsHelper::setPileUpTowerThreshold
void setPileUpTowerThreshold(int thresh)
Definition: CaloParamsHelper.h:148
l1t::CaloParamsHelper::egIsolationLUT2
l1t::LUT * egIsolationLUT2()
Definition: CaloParamsHelper.h:213
l1t::CaloParamsHelper::hiCentrality
Definition: CaloParamsHelper.h:39
l1t::CaloParamsHelper::egBypassExtHOverE
unsigned egBypassExtHOverE() const
Definition: CaloParamsHelper.h:179
l1t::CaloParamsHelper::setTauPUSType
void setTauPUSType(std::string type)
Definition: CaloParamsHelper.h:340
l1t::CaloParamsHelper::tauEtToHFRingEtLUT
l1t::LUT const * tauEtToHFRingEtLUT() const
Definition: CaloParamsHelper.h:320
l1t
delete x;
Definition: CaloConfig.h:22
l1t::CaloParamsHelper::egTrimmingLUT
l1t::LUT * egTrimmingLUT()
Definition: CaloParamsHelper.h:164
l1t::CaloParamsHelper::tauRegionMask
int tauRegionMask() const
Definition: CaloParamsHelper.h:287
l1t::CaloParamsHelper::setTauSeedThreshold
void setTauSeedThreshold(double thresh)
Definition: CaloParamsHelper.h:332
l1t::CaloParamsHelper::etSumEttPUSType
std::string const & etSumEttPUSType() const
Definition: CaloParamsHelper.h:427
l1t::CaloParamsHelper::etSumMetPUSLUT
l1t::LUT const * etSumMetPUSLUT() const
Definition: CaloParamsHelper.h:435
l1t::CaloParamsHelper::etSumBypassEcalSumPUSFlag
Definition: CaloParamsHelper.h:64
l1t::CaloParamsHelper::regionPUSLUT
l1t::LUT const * regionPUSLUT() const
Definition: CaloParamsHelper.h:135
l1t::CaloParamsHelper::jetCompressPtLUT
l1t::LUT * jetCompressPtLUT()
Definition: CaloParamsHelper.h:389
l1t::CaloParamsHelper::etSumEttPUSLUT
l1t::LUT const * etSumEttPUSLUT() const
Definition: CaloParamsHelper.h:437
l1t::CaloParamsHelper::setEgBypassShape
void setEgBypassShape(unsigned flag)
Definition: CaloParamsHelper.h:245
l1t::CaloParamsHelper::egMaxHOverELUT
l1t::LUT * egMaxHOverELUT()
Definition: CaloParamsHelper.h:168
l1t::CaloParamsHelper::towerLsbH
double towerLsbH() const
Definition: CaloParamsHelper.h:96
l1t::CaloParamsHelper::setEgMaxHcalEt
void setEgMaxHcalEt(double cut)
Definition: CaloParamsHelper.h:228
l1t::CaloParamsHelper::setEgShapeIdVersion
void setEgShapeIdVersion(unsigned version)
Definition: CaloParamsHelper.h:282
l1t::CaloParamsHelper::setTauCalibrationType
void setTauCalibrationType(std::string type)
Definition: CaloParamsHelper.h:345
l1t::CaloParamsHelper::egHOverEBarrel
Definition: CaloParamsHelper.h:55
l1t::CaloParamsHelper::setJetNeighbourThreshold
void setJetNeighbourThreshold(double thresh)
Definition: CaloParamsHelper.h:396
l1t::CaloParamsHelper::egCalibrationType
std::string const & egCalibrationType() const
Definition: CaloParamsHelper.h:214
l1t::CaloParamsHelper::etSumEcalSumCalibrationLUT
l1t::LUT * etSumEcalSumCalibrationLUT()
Definition: CaloParamsHelper.h:446
l1t::CaloParamsHelper::setTauRegionMask
void setTauRegionMask(int mask)
Definition: CaloParamsHelper.h:327
l1t::CaloParams::TauParams::lsb_
double lsb_
Definition: CaloParams.h:162
l1t::CaloParamsHelper::egHOverEcutBarrel
int egHOverEcutBarrel() const
Definition: CaloParamsHelper.h:199
l1t::CaloParamsHelper::setJetPUSParams
void setJetPUSParams(std::vector< double > params)
Definition: CaloParamsHelper.h:402
l1t::CaloParamsHelper::setTauMaxJetIsolationB
void setTauMaxJetIsolationB(double limit)
Definition: CaloParamsHelper.h:336
l1t::CaloParamsHelper::tauIsolationLUT2
l1t::LUT const * tauIsolationLUT2() const
Definition: CaloParamsHelper.h:309
L1CaloEtScale
Definition: L1CaloEtScale.h:29
value
Definition: value.py:1
l1t::CaloParamsHelper::etSumEttCalibration
Definition: CaloParamsHelper.h:50
l1t::CaloParamsHelper::setEgIsoAreaNrTowersPhi
void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi)
Definition: CaloParamsHelper.h:267
l1t::CaloParamsHelper::setEgEtaCut
void setEgEtaCut(int mask)
Definition: CaloParamsHelper.h:219
L1HfRingEtScaleRcd.h
l1t::CaloParamsHelper::etSumEttCalibrationLUT
l1t::LUT const * etSumEttCalibrationLUT() const
Definition: CaloParamsHelper.h:445
l1t::CaloParamsHelper::setTowerNBitsSum
void setTowerNBitsSum(int n)
Definition: CaloParamsHelper.h:120
l1t::CaloParamsHelper::tauCalibrationType
std::string const & tauCalibrationType() const
Definition: CaloParamsHelper.h:313
l1t::CaloParamsHelper::setJetLsb
void setJetLsb(double lsb)
Definition: CaloParamsHelper.h:394
l1t::CaloParamsHelper::centralityRegionMask
int centralityRegionMask() const
Definition: CaloParamsHelper.h:488
l1t::CaloParamsHelper::egCalibrationLUT
l1t::LUT const * egCalibrationLUT() const
Definition: CaloParamsHelper.h:216
l1t::CaloParamsHelper::HfRingScale_
L1CaloEtScale HfRingScale_
Definition: CaloParamsHelper.h:579
l1t::CaloParamsHelper::setJetRegionMask
void setJetRegionMask(int mask)
Definition: CaloParamsHelper.h:397
l1t::CaloParams::Node
Definition: CaloParams.h:29
l1t::CaloParamsHelper::metHFCalibrationLUT
l1t::LUT * metHFCalibrationLUT()
Definition: CaloParamsHelper.h:442
l1t::CaloParamsHelper::tauPUSType
std::string tauPUSType() const
Definition: CaloParamsHelper.h:302
l1t::CaloParamsHelper
Definition: CaloParamsHelper.h:21
l1t::CaloParamsHelper::metPhiCalibration
Definition: CaloParamsHelper.h:74
l1t::CaloParamsHelper::jetPUSParams
std::vector< double > const & jetPUSParams() const
Definition: CaloParamsHelper.h:383
l1t::CaloParamsHelper::setLayer1SecondStageLUT
void setLayer1SecondStageLUT(const std::vector< unsigned > &lut)
Definition: CaloParamsHelper.h:570
l1t::CaloParams::TauParams::isoVetoNrTowersPhi_
unsigned isoVetoNrTowersPhi_
Definition: CaloParams.h:193
l1t::CaloParamsHelper::setEgCalibrationParams
void setEgCalibrationParams(std::vector< double > params)
Definition: CaloParamsHelper.h:275
l1t::CaloParams::version_
unsigned version_
Definition: CaloParams.h:234
l1t::CaloParamsHelper::jetBypassPUSFlag
Definition: CaloParamsHelper.h:54
l1t::CaloParamsHelper::egMaxHOverE
Definition: CaloParamsHelper.h:28
l1t::CaloParamsHelper::setLayer1HFScalePhiBins
void setLayer1HFScalePhiBins(std::vector< unsigned > params)
Definition: CaloParamsHelper.h:567
l1t::CaloParamsHelper::setLayer1HFScaleETBins
void setLayer1HFScaleETBins(std::vector< int > params)
Definition: CaloParamsHelper.h:564
GOODCOLL_filter_cfg.thresh
thresh
Definition: GOODCOLL_filter_cfg.py:74
l1t::CaloParamsHelper::etSumEcalSumPUSLUT
l1t::LUT const * etSumEcalSumPUSLUT() const
Definition: CaloParamsHelper.h:439
l1t::CaloParams::TowerParams::maskSum_
int maskSum_
Definition: CaloParams.h:77
L1CaloEtScale.h
l1t::CaloParams::taup_
TauParams taup_
Definition: CaloParams.h:244
l1t::CaloParamsHelper::setQ2LUT
void setQ2LUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:523
l1t::CaloParamsHelper::egMaxPtHOverEIsolation
int egMaxPtHOverEIsolation() const
Definition: CaloParamsHelper.h:177
l1t::CaloParamsHelper::regionPUS
Definition: CaloParamsHelper.h:26
l1t::CaloParamsHelper::setMetHFCalibrationType
void setMetHFCalibrationType(std::string type)
Definition: CaloParamsHelper.h:461
l1t::CaloParamsHelper::setMetCalibrationType
void setMetCalibrationType(std::string type)
Definition: CaloParamsHelper.h:460
l1t::CaloParamsHelper::tauIsoVetoNrTowersPhi
unsigned tauIsoVetoNrTowersPhi() const
Definition: CaloParamsHelper.h:325
l1t::CaloParamsHelper::egBypassECALFGFlag
Definition: CaloParamsHelper.h:69
l1t::CaloParamsHelper::etSumBypassEttPUS
unsigned etSumBypassEttPUS() const
Definition: CaloParamsHelper.h:424
l1t::CaloParamsHelper::layer1HCal
Definition: CaloParamsHelper.h:44
l1t::CaloParams::TauParams::isoAreaNrTowersPhi_
unsigned isoAreaNrTowersPhi_
Definition: CaloParams.h:190
l1t::CaloParamsHelper::setTauPUSParams
void setTauPUSParams(const std::vector< double > &params)
Definition: CaloParamsHelper.h:359
l1t::CaloParamsHelper::egCalibrationLUT
l1t::LUT * egCalibrationLUT()
Definition: CaloParamsHelper.h:217
l1t::CaloParamsHelper::egIsolation2
Definition: CaloParamsHelper.h:60
l1t::CaloParamsHelper::tauIsolation2
Definition: CaloParamsHelper.h:52
l1t::CaloParamsHelper::setEtSumEttCalibrationType
void setEtSumEttCalibrationType(std::string type)
Definition: CaloParamsHelper.h:462
l1t::CaloParamsHelper::etSumEcalSumCalibrationLUT
l1t::LUT const * etSumEcalSumCalibrationLUT() const
Definition: CaloParamsHelper.h:447
l1t::CaloParamsHelper::setEtSumBypassEttPUS
void setEtSumBypassEttPUS(unsigned flag)
Definition: CaloParamsHelper.h:468
type
type
Definition: HCALResponse.h:21
l1t::CaloParamsHelper::setEgTrimmingLUT
void setEgTrimmingLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:227
l1t::CaloParamsHelper::jetCompressPt
Definition: CaloParamsHelper.h:47
l1t::CaloParamsHelper::setTauCalibrationParams
void setTauCalibrationParams(std::vector< double > params)
Definition: CaloParamsHelper.h:356
l1t::CaloParamsHelper::egMaxPtHOverE
double egMaxPtHOverE() const
Definition: CaloParamsHelper.h:167
l1t::CaloParamsHelper::layer1HCalScaleETBins
std::vector< int > const & layer1HCalScaleETBins() const
Definition: CaloParamsHelper.h:554
eostools.move
def move(src, dest)
Definition: eostools.py:511
l1t::CaloParamsHelper::egMaxHOverELUT
l1t::LUT const * egMaxHOverELUT() const
Definition: CaloParamsHelper.h:169
l1t::CaloParamsHelper::setEmScale
void setEmScale(L1CaloEtScale emScale)
Definition: CaloParamsHelper.h:87
l1t::CaloParams
Definition: CaloParams.h:25
l1t::CaloParamsHelper::centralityLUT
l1t::LUT const * centralityLUT() const
Definition: CaloParamsHelper.h:507
l1t::CaloParamsHelper::setJetSeedThreshold
void setJetSeedThreshold(double thresh)
Definition: CaloParamsHelper.h:395
l1t::CaloParamsHelper::setLayer1ECalScaleFactors
void setLayer1ECalScaleFactors(std::vector< double > params)
Definition: CaloParamsHelper.h:559
isum
double isum
Definition: MuScleFitUtils.cc:77
l1t::CaloParamsHelper::tauNeighbourThreshold
double tauNeighbourThreshold() const
Definition: CaloParamsHelper.h:295
l1t::CaloParamsHelper::tauCalibrationLUT
l1t::LUT * tauCalibrationLUT()
Definition: CaloParamsHelper.h:315
l1t::CaloParamsHelper::setEgMaxPtHOverE
void setEgMaxPtHOverE(double thresh)
Definition: CaloParamsHelper.h:229
l1t::CaloParamsHelper::regionPUSValue
int regionPUSValue(int PUM0, int eta) const
Definition: CaloParamsHelper.h:137
remoteMonitoring_LED_IterMethod_cfg.limit
limit
Definition: remoteMonitoring_LED_IterMethod_cfg.py:427
l1t::LUT
Definition: LUT.h:29
l1t::CaloParamsHelper::setEgMaxHOverELUT
void setEgMaxHOverELUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:230
l1t::CaloParamsHelper::metHFCalibrationType
std::string const & metHFCalibrationType() const
Definition: CaloParamsHelper.h:430
l1t::CaloParamsHelper::towerNBitsRatio
int towerNBitsRatio() const
Definition: CaloParamsHelper.h:102
l1t::CaloParamsHelper::egMaxPtJetIsolation
int egMaxPtJetIsolation() const
Definition: CaloParamsHelper.h:175
l1t::CaloParamsHelper::setEgIsolationLUT
void setEgIsolationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:272
l1t::CaloParams::EgParams::seedThreshold_
double seedThreshold_
Definition: CaloParams.h:109
l1t::CaloParamsHelper::layer1HFScaleETBins
std::vector< int > const & layer1HFScaleETBins() const
Definition: CaloParamsHelper.h:555
l1t::CaloParamsHelper::isoTauEtaMax
int isoTauEtaMax() const
Definition: CaloParamsHelper.h:301
l1t::CaloParams::JetParams::lsb_
double lsb_
Definition: CaloParams.h:216
l1t::CaloParams::EgParams::neighbourThreshold_
double neighbourThreshold_
Definition: CaloParams.h:112
relativeConstraints.value
value
Definition: relativeConstraints.py:53
l1t::CaloParamsHelper::setTowerNBitsE
void setTowerNBitsE(int n)
Definition: CaloParamsHelper.h:116
l1t::CaloParamsHelper::HfRingScale
L1CaloEtScale HfRingScale() const
Definition: CaloParamsHelper.h:91
l1t::CaloParamsHelper::setEgMaxPtHOverEIsolation
void setEgMaxPtHOverEIsolation(int cutValue)
Definition: CaloParamsHelper.h:236
l1t::CaloParamsHelper::setMetHFCalibrationLUT
void setMetHFCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:481
l1t::CaloParamsHelper::setMinimumBiasThresholds
void setMinimumBiasThresholds(std::vector< int > thresholds)
Definition: CaloParamsHelper.h:512
l1t::CaloParamsHelper::setEgBypassHoE
void setEgBypassHoE(unsigned flag)
Definition: CaloParamsHelper.h:253
l1t::CaloParamsHelper::jetLsb
double jetLsb() const
Definition: CaloParamsHelper.h:364
l1t::CaloParamsHelper::towerLsbSum
double towerLsbSum() const
Definition: CaloParamsHelper.h:98
l1t::CaloParamsHelper::layer1SecondStageLUT
std::vector< unsigned > const & layer1SecondStageLUT() const
Definition: CaloParamsHelper.h:569
l1t::CaloParamsHelper::setEgSeedThreshold
void setEgSeedThreshold(double thresh)
Definition: CaloParamsHelper.h:224
l1t::CaloParamsHelper::setTauTrimmingShapeVetoLUT
void setTauTrimmingShapeVetoLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:343
l1t::CaloParamsHelper::CaloParamsHelper
CaloParamsHelper()
Definition: CaloParamsHelper.h:79
l1t::CaloParamsHelper::egBypassShapeFlag
Definition: CaloParamsHelper.h:68
l1t::CaloParamsHelper::setRegionPUSParams
void setRegionPUSParams(const std::vector< double > &params)
Definition: CaloParamsHelper.h:144
l1t::CaloParamsHelper::tauEtToHFRingEt
Definition: CaloParamsHelper.h:41
l1t::CaloParamsHelper::tauIsolationLUT
l1t::LUT * tauIsolationLUT()
Definition: CaloParamsHelper.h:306
l1t::CaloParams::TowerParams::doEncoding_
bool doEncoding_
Definition: CaloParams.h:83
l1t::CaloParamsHelper::setTauIsoVetoNrTowersPhi
void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi)
Definition: CaloParamsHelper.h:352
l1t::CaloParamsHelper::tauCalibration
Definition: CaloParamsHelper.h:34
l1t::CaloParamsHelper::jetRegionMask
int jetRegionMask() const
Definition: CaloParamsHelper.h:367
l1t::CaloParamsHelper::setEtSumLsb
void setEtSumLsb(double lsb)
Definition: CaloParamsHelper.h:453
l1t::CaloParamsHelper::setTauIsolationLUT2
void setTauIsolationLUT2(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:342
l1t::CaloParamsHelper::setJetBypassPUS
void setJetBypassPUS(unsigned flag)
Definition: CaloParamsHelper.h:408
l1t::CaloParams::EgParams::minPtHOverEIsolation_
int minPtHOverEIsolation_
Definition: CaloParams.h:128
l1t::CaloParamsHelper::egIsolationLUT
l1t::LUT * egIsolationLUT()
Definition: CaloParamsHelper.h:211
l1t::CaloParamsHelper::jetCompressEtaLUT
l1t::LUT * jetCompressEtaLUT()
Definition: CaloParamsHelper.h:391
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:30
l1t::CaloParamsHelper::jetCalibrationParams
std::vector< double > const & jetCalibrationParams() const
Definition: CaloParamsHelper.h:385
l1t::CaloParamsHelper::tauIsolation
Definition: CaloParamsHelper.h:36
l1t::CaloParamsHelper::setEgIsoVetoNrTowersPhi
void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi)
Definition: CaloParamsHelper.h:268
l1t::CaloParamsHelper::layer1HFScaleFactors
std::vector< double > const & layer1HFScaleFactors() const
Definition: CaloParamsHelper.h:552
l1t::CaloParamsHelper::setMetCalibrationLUT
void setMetCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:480
l1t::CaloParamsHelper::PUTowerThreshold
Definition: CaloParamsHelper.h:66
l1t::CaloParams::etSumLsb_
double etSumLsb_
Definition: CaloParams.h:250
l1t::CaloParamsHelper::metHFPhiCalibration
Definition: CaloParamsHelper.h:75
l1t::CaloParamsHelper::setMetHFPhiCalibrationLUT
void setMetHFPhiCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:485
l1t::CaloParamsHelper::setIsoTauEtaMin
void setIsoTauEtaMin(int value)
Definition: CaloParamsHelper.h:338
l1t::CaloParamsHelper::setEgIsoAreaNrTowersEta
void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta)
Definition: CaloParamsHelper.h:266
l1t::CaloParams::EgParams::hcalThreshold_
double hcalThreshold_
Definition: CaloParams.h:115
l1t::CaloParamsHelper::setEtSumEttPUSType
void setEtSumEttPUSType(std::string type)
Definition: CaloParamsHelper.h:458
l1t::CaloParamsHelper::etSumEttCalibrationLUT
l1t::LUT * etSumEttCalibrationLUT()
Definition: CaloParamsHelper.h:444
l1t::CaloParamsHelper::towerMaskE
int towerMaskE() const
Definition: CaloParamsHelper.h:103
l1t::CaloParams::TowerParams::maskH_
int maskH_
Definition: CaloParams.h:71
l1t::CaloParamsHelper::setEgShapeIdType
void setEgShapeIdType(std::string type)
Definition: CaloParamsHelper.h:280
l1t::CaloParamsHelper::layer1HF
Definition: CaloParamsHelper.h:45
l1t::CaloParamsHelper::setEgPUSParams
void setEgPUSParams(const std::vector< double > &params)
Definition: CaloParamsHelper.h:270
L1JetEtScaleRcd.h
l1t::CaloParamsHelper::setEgCalibrationType
void setEgCalibrationType(std::string type)
Definition: CaloParamsHelper.h:274
l1t::CaloParamsHelper::egIsoAreaNrTowersEta
unsigned egIsoAreaNrTowersEta() const
Definition: CaloParamsHelper.h:202
l1t::CaloParamsHelper::setJetPUSType
void setJetPUSType(std::string type)
Definition: CaloParamsHelper.h:401
l1t::CaloParamsHelper::egIsolationType
std::string const & egIsolationType() const
Definition: CaloParamsHelper.h:209
l1t::CaloParamsHelper::regionPUSType
std::string const & regionPUSType() const
Definition: CaloParamsHelper.h:132
l1t::CaloParamsHelper::etSumEcalSumPUSLUT
l1t::LUT * etSumEcalSumPUSLUT()
Definition: CaloParamsHelper.h:438
l1t::CaloParamsHelper::setTowerLsbSum
void setTowerLsbSum(double lsb)
Definition: CaloParamsHelper.h:111
l1t::CaloParamsHelper::isoTauEtaMin
int isoTauEtaMin() const
Definition: CaloParamsHelper.h:300
l1t::CaloParamsHelper::egCompressShapes
Definition: CaloParamsHelper.h:29
l1t::CaloParamsHelper::tauMinPtJetIsolationB
double tauMinPtJetIsolationB() const
Definition: CaloParamsHelper.h:297
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
l1t::CaloParamsHelper::egPUSParams
const std::vector< double > & egPUSParams() const
Definition: CaloParamsHelper.h:206
l1t::CaloParamsHelper::egIsolationLUT2
l1t::LUT const * egIsolationLUT2() const
Definition: CaloParamsHelper.h:212
l1t::CaloParamsHelper::NUM_CALOPARAMNODES
Definition: CaloParamsHelper.h:76
l1t::CaloParams::TowerParams::nBitsSum_
int nBitsSum_
Definition: CaloParams.h:65
l1t::CaloParamsHelper::egPUSParam
double egPUSParam(int ipar) const
Definition: CaloParamsHelper.h:207
l1t::CaloParamsHelper::egTrimmingLUT
l1t::LUT const * egTrimmingLUT() const
Definition: CaloParamsHelper.h:165
l1t::CaloParamsHelper::jetCompressEta
Definition: CaloParamsHelper.h:46
l1t::CaloParamsHelper::setTowerLsbE
void setTowerLsbE(double lsb)
Definition: CaloParamsHelper.h:110
l1t::CaloParams::egp_
EgParams egp_
Definition: CaloParams.h:243
l1t::CaloParamsHelper::metPhiCalibrationLUT
l1t::LUT * metPhiCalibrationLUT()
Definition: CaloParamsHelper.h:448
l1t::CaloParamsHelper::tauIsoAreaNrTowersPhi
unsigned tauIsoAreaNrTowersPhi() const
Definition: CaloParamsHelper.h:324
l1t::CaloParamsHelper::jetPUSUsePhiRing
unsigned jetPUSUsePhiRing() const
Definition: CaloParamsHelper.h:375
l1t::CaloParamsHelper::layer1HCalScalePhiBins
std::vector< unsigned > const & layer1HCalScalePhiBins() const
Definition: CaloParamsHelper.h:557
l1t::CaloParamsHelper::jetNeighbourThreshold
double jetNeighbourThreshold() const
Definition: CaloParamsHelper.h:366
l1t::operator<<
std::ostream & operator<<(std::ostream &os, const l1t::CaloParamsHelper &p)
Definition: CaloParamsHelper.cc:16
l1t::CaloParams::TowerParams::nBitsH_
int nBitsH_
Definition: CaloParams.h:59
l1t::CaloParamsHelper::setEgCompressShapesLUT
void setEgCompressShapesLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:231
l1t::CaloParamsHelper::pileUpTowerThreshold
int pileUpTowerThreshold() const
Definition: CaloParamsHelper.h:147
l1t::CaloParamsHelper::setEgIsolationType
void setEgIsolationType(std::string type)
Definition: CaloParamsHelper.h:271
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:116
l1t::CaloParamsHelper::setEtSumEcalSumPUSLUT
void setEtSumEcalSumPUSLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:479
l1t::CaloParams::TauParams::isoEtaMin_
int isoEtaMin_
Definition: CaloParams.h:183
l1t::CaloParamsHelper::towerNBitsSum
int towerNBitsSum() const
Definition: CaloParamsHelper.h:101