CMS 3D CMS Logo

CaloParamsHelperO2O.h
Go to the documentation of this file.
1 #include <iostream>
2 
4 
10 
11 #ifndef CaloParamsHelperO2O_h
12 #define CaloParamsHelperO2O_h
13 
14 namespace l1t {
15 
17 
18  public:
19  // DO NOT ADD ENTRIES ANYWHERE BUT DIRECTLY BEFORE "NUM_CALOPARAMNODES"
20  // DO NOT CHANGE NUMERICAL VALUES OF ANY ALREADY EXISTING FIELDS, YOU CAN ONLY EXTEND, AT THE END.
21  enum { regionPUS=0,
58  };
59 
62  if (pnode_.size() < NUM_CALOPARAMNODES){
63  pnode_.resize(NUM_CALOPARAMNODES);
64  // at version 2, tauCompress was added, we can add a default version here if necessary...
65  }
66  };
68 
69  bool isValidForStage1() {return true; }
70  bool isValidForStage2() {return (version_ >= 2); }
71 
80 
81  // towers
82  double towerLsbH() const { return towerp_.lsbH_; }
83  double towerLsbE() const { return towerp_.lsbE_; }
84  double towerLsbSum() const { return towerp_.lsbSum_; }
85  int towerNBitsH() const { return towerp_.nBitsH_; }
86  int towerNBitsE() const { return towerp_.nBitsE_; }
87  int towerNBitsSum() const { return towerp_.nBitsSum_; }
88  int towerNBitsRatio() const { return towerp_.nBitsRatio_; }
89  int towerMaskE() const { return towerp_.maskE_; }
90  int towerMaskH() const { return towerp_.maskH_; }
91  int towerMaskSum() const { return towerp_.maskSum_; }
92  int towerMaskRatio() const { return towerp_.maskRatio_; }
93  bool doTowerEncoding() const { return towerp_.doEncoding_; }
94 
95  void setTowerLsbH(double lsb) { towerp_.lsbH_ = lsb; }
96  void setTowerLsbE(double lsb) { towerp_.lsbE_ = lsb; }
97  void setTowerLsbSum(double lsb) { towerp_.lsbSum_ = lsb; }
98  void setTowerNBitsH(int n) { towerp_.nBitsH_ = n; towerp_.maskH_ = std::pow(2,n)-1; }
99  void setTowerNBitsE(int n) { towerp_.nBitsE_ = n; towerp_.maskE_ = std::pow(2,n)-1; }
102  void setTowerEncoding(bool doit) { towerp_.doEncoding_ = doit; }
103 
104 
105  // regions
106  double regionLsb() const { return regionLsb_; }
107  std::string regionPUSType() const { return pnode_[regionPUS].type_; }
108  std::vector<double> regionPUSParams() { return pnode_[regionPUS].dparams_; }
109  l1t::LUT* regionPUSLUT() {return &pnode_[regionPUS].LUT_; }
110 
111  int regionPUSValue(int PUM0, int eta)
112  {
113  int puSub = ceil(regionPUSParams()[18*eta+PUM0]*2);
114  return puSub;
115  }
116 
117  void setRegionLsb(double lsb) { regionLsb_ = lsb; }
119  void setRegionPUSParams(const std::vector<double> & params) { pnode_[regionPUS].dparams_ = params; }
120  void setRegionPUSLUT(const l1t::LUT & lut) { pnode_[regionPUS].LUT_ = lut; }
121 
122  int pileUpTowerThreshold() const {return pnode_[PUTowerThreshold].iparams_[0]; }
124  pnode_[PUTowerThreshold].iparams_.resize(1);
125  pnode_[PUTowerThreshold].iparams_[0] = thresh;
126  }
127 
128  // EG
129  int egEtaCut() const {
130  if (pnode_[egPUS].version_ ==1)
131  return pnode_[egPUS].iparams_[0];
132  else
133  return 0;
134  }
135  double egLsb() const { return egp_.lsb_; }
136  double egSeedThreshold() const { return egp_.seedThreshold_; }
137  double egNeighbourThreshold() const { return egp_.neighbourThreshold_; }
138  double egHcalThreshold() const { return egp_.hcalThreshold_; }
139  l1t::LUT* egTrimmingLUT() { return &pnode_[egTrimming].LUT_; }
140  double egMaxHcalEt() const { return egp_.maxHcalEt_; }
141  double egMaxPtHOverE() const {return egp_.maxPtHOverE_;}
144  l1t::LUT* egShapeIdLUT() { return &pnode_[egShapeId].LUT_; }
149  unsigned egBypassEGVetos() { return pnode_[egBypassEGVetosFlag].uparams_[0]; }
150  unsigned egBypassExtHOverE() { return pnode_[egBypassExtHoE].uparams_[0]; }
151  unsigned egBypassShape() const {
152  if(pnode_[egBypassShapeFlag].uparams_.empty()) return 0;
153  else return pnode_[egBypassShapeFlag].uparams_[0];
154  }
155  unsigned egBypassECALFG() const {
156  if(pnode_[egBypassECALFGFlag].uparams_.empty()) return 0;
157  else return pnode_[egBypassECALFGFlag].uparams_[0];
158  }
159  unsigned egBypassHoE() const {
160  if(pnode_[egBypassHoEFlag].uparams_.empty()) return 0;
161  else return pnode_[egBypassHoEFlag].uparams_[0];
162  }
163 
164  int egHOverEcutBarrel() const {return pnode_[egHOverEBarrel].iparams_[0]; }
165  int egHOverEcutEndcap() const {return pnode_[egHOverEEndcap].iparams_[0]; }
166 
170  const std::string & egPUSType() const { return pnode_[egPUS].type_; }
171  const std::vector<double> & egPUSParams() const { return pnode_[egPUS].dparams_; }
172  double egPUSParam(int ipar) const { return pnode_[egPUS].dparams_.at(ipar); }
173 
174  std::string egIsolationType() const { return pnode_[egIsolation].type_; }
178  std::vector<double> egCalibrationParams() { return pnode_[egCalibration].dparams_; }
180 
181  void setEgEtaCut(int mask) {
182  pnode_[egPUS].iparams_.resize(1);
183  pnode_[egPUS].iparams_[0] = mask;
184  }
185  void setEgLsb(double lsb) { egp_.lsb_ = lsb; }
189  void setEgTrimmingLUT(const l1t::LUT & lut) { pnode_[egTrimming].LUT_ = lut; }
190  void setEgMaxHcalEt(double cut) { egp_.maxHcalEt_ = cut; }
192  void setEgMaxHOverELUT(const l1t::LUT & lut) { pnode_[egMaxHOverE].LUT_ = lut; }
194  void setEgShapeIdLUT(const l1t::LUT & lut) { pnode_[egShapeId].LUT_ = lut; }
195  void setEgMinPtJetIsolation(int cutValue) { egp_.minPtJetIsolation_ = cutValue; }
196  void setEgMaxPtJetIsolation(int cutValue) { egp_.maxPtJetIsolation_ = cutValue; }
197  void setEgMinPtHOverEIsolation(int cutValue) { egp_.minPtHOverEIsolation_ = cutValue; }
198  void setEgMaxPtHOverEIsolation(int cutValue) { egp_.maxPtHOverEIsolation_ = cutValue; }
199  void setEgBypassEGVetos(unsigned flag) {
200  pnode_[egBypassEGVetosFlag].uparams_.resize(1);
201  pnode_[egBypassEGVetosFlag].uparams_[0] = flag;
202  }
203  void setEgBypassShape(unsigned flag) {
204  pnode_[egBypassShapeFlag].uparams_.resize(1);
205  pnode_[egBypassShapeFlag].uparams_[0] = flag;
206  }
207  void setEgBypassECALFG(unsigned flag) {
208  pnode_[egBypassECALFGFlag].uparams_.resize(1);
209  pnode_[egBypassECALFGFlag].uparams_[0] = flag;
210  }
211  void setEgBypassExtHOverE(unsigned flag) {
212  pnode_[egBypassExtHoE].uparams_.resize(1);
213  pnode_[egBypassExtHoE].uparams_[0] = flag;
214  }
216  pnode_[egHOverEBarrel].iparams_.resize(1);
217  pnode_[egHOverEBarrel].iparams_[0] = cut;
218  }
220  pnode_[egHOverEEndcap].iparams_.resize(1);
221  pnode_[egHOverEEndcap].iparams_[0] = cut;
222  }
223 
224  void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta){egp_.isoAreaNrTowersEta_=iEgIsoAreaNrTowersEta;}
225  void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi){egp_.isoAreaNrTowersPhi_=iEgIsoAreaNrTowersPhi;}
226  void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi){egp_.isoVetoNrTowersPhi_=iEgIsoVetoNrTowersPhi;}
228  void setEgPUSParams(const std::vector<double> & params) { pnode_[egPUS].dparams_ = params; }
230  void setEgIsolationLUT(const l1t::LUT & lut) { pnode_[egIsolation].LUT_ = lut; }
233  void setEgCalibrationParams(std::vector<double> params) { pnode_[egCalibration].dparams_ = params; }
235 
236  // - recently imported:
237  std::string egShapeIdType() const { return pnode_[egShapeId].type_; }
239  unsigned egShapeIdVersion() const { return pnode_[egShapeId].version_; }
240  void setEgShapeIdVersion(unsigned version) { pnode_[egShapeId].version_ = version; }
241  unsigned egCalibrationVersion() const { return pnode_[egCalibration].version_; }
243 
244  // tau
245  int tauRegionMask() const {
246  if (pnode_[tauPUS].version_ ==1)
247  return pnode_[tauPUS].iparams_[0];
248  else
249  return 0;
250  }
251  double tauLsb() const { return taup_.lsb_; }
252  double tauSeedThreshold() const { return taup_.seedThreshold_; }
254  double tauMaxPtTauVeto() const { return taup_.maxPtTauVeto_;}
256  double tauMaxJetIsolationB() const { return taup_.maxJetIsolationB_; }
257  double tauMaxJetIsolationA() const { return taup_.maxJetIsolationA_; }
258  int isoTauEtaMin() const { return taup_.isoEtaMin_; }
259  int isoTauEtaMax() const { return taup_.isoEtaMax_; }
260  std::string tauPUSType() const { return pnode_[tauPUS].type_; }
261  const std::vector<double> & tauPUSParams() const { return pnode_[tauPUS].dparams_; }
262  double tauPUSParam(int ipar) const { return pnode_[tauPUS].dparams_.at(ipar); }
263 
267 
269  std::vector<double> tauCalibrationParams() { return pnode_[tauCalibration].dparams_; }
272 
274 
278 
279  void setTauRegionMask(int mask) {
280  pnode_[tauPUS].iparams_.resize(1);
281  pnode_[tauPUS].iparams_[0] = mask;
282  }
283  void setTauLsb(double lsb) { taup_.lsb_ = lsb; }
289  void setTauMaxJetIsolationA(double cutValue) { taup_.maxJetIsolationA_ = cutValue; }
296 
298  void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta){taup_.isoAreaNrTowersEta_=iTauIsoAreaNrTowersEta;}
299  void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi){taup_.isoAreaNrTowersPhi_=iTauIsoAreaNrTowersPhi;}
300  void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi){taup_.isoVetoNrTowersPhi_=iTauIsoVetoNrTowersPhi;}
301 
302  void setTauCalibrationParams(std::vector<double> params) { pnode_[tauCalibration].dparams_ = params; }
304  void setTauCompressLUT(const l1t::LUT & lut) { pnode_[tauCompress].LUT_ = lut; }
305  void setTauPUSParams(const std::vector<double> & params) { pnode_[tauPUS].dparams_ = params; }
306 
308 
309  // jets
310  double jetLsb() const { return jetp_.lsb_; }
311  double jetSeedThreshold() const { return jetp_.seedThreshold_; }
313  int jetRegionMask() const {
314  if (pnode_[jetPUS].version_ ==1)
315  return pnode_[jetPUS].iparams_[0];
316  else
317  return 0;
318  }
319 
320  unsigned jetBypassPUS() const { return pnode_[jetBypassPUSFlag].uparams_[0]; }
321  unsigned jetPUSUsePhiRing() const {
322  if(pnode_[jetPUSUsePhiRingFlag].uparams_.empty()) return 0;
323  else return pnode_[jetPUSUsePhiRingFlag].uparams_[0];
324  }
325 
326  std::string jetPUSType() const { return pnode_[jetPUS].type_; }
327  std::vector<double> jetPUSParams() { return pnode_[jetPUS].dparams_; }
329  std::vector<double> jetCalibrationParams() { return pnode_[jetCalibration].dparams_; }
330 
334 
335  void setJetLsb(double lsb) { jetp_.lsb_ = lsb; }
338  void setJetRegionMask(int mask) {
339  pnode_[jetPUS].iparams_.resize(1);
340  pnode_[jetPUS].iparams_[0] = mask;
341  }
343  void setJetPUSParams(std::vector<double> params) { pnode_[jetPUS].dparams_ = params; }
345  void setJetCalibrationParams(std::vector<double> params) { pnode_[jetCalibration].dparams_ = params; }
349  void setJetBypassPUS(unsigned flag) {
350  pnode_[jetBypassPUSFlag].uparams_.resize(1);
351  pnode_[jetBypassPUSFlag].uparams_[0] = flag;
352  }
353  void setJetPUSUsePhiRing(unsigned flag) {
354  pnode_[jetPUSUsePhiRingFlag].uparams_.resize(1);
355  pnode_[jetPUSUsePhiRingFlag].uparams_[0] = flag;
356  }
357  // sums
358 
359  double etSumLsb() const { return etSumLsb_; }
360  int etSumEtaMin(unsigned isum) const {
361  if (etSumEtaMin_.size()>isum) return etSumEtaMin_.at(isum);
362  else return 0;
363  }
364  int etSumEtaMax(unsigned isum) const {
365  if (etSumEtaMax_.size()>isum) return etSumEtaMax_.at(isum);
366  else return 0;
367  }
368  double etSumEtThreshold(unsigned isum) const {
369  if (etSumEtThreshold_.size()>isum) return etSumEtThreshold_.at(isum);
370  else return 0.;
371  }
372  unsigned etSumBypassMetPUS() const { return pnode_[etSumBypassMetPUSFlag].uparams_[0]; }
373  unsigned etSumBypassEttPUS() const { return pnode_[etSumBypassEttPUSFlag].uparams_[0]; }
374  unsigned etSumBypassEcalSumPUS() const { return pnode_[etSumBypassEcalSumPUSFlag].uparams_[0]; }
375  std::string etSumMetPUSType() const { return pnode_[etSumMetPUS].type_; }
376  std::string etSumEttPUSType() const { return pnode_[etSumEttPUS].type_; }
382 
392 
393  void setEtSumLsb(double lsb) { etSumLsb_ = lsb; }
394  void setEtSumEtaMin(unsigned isum, int eta){
395  if (etSumEtaMin_.size()<=isum) etSumEtaMin_.resize(isum+1);
396  etSumEtaMin_.at(isum) = eta;
397  }
398  void setEtSumEtaMax(unsigned isum, int eta){
399  if (etSumEtaMax_.size()<=isum) etSumEtaMax_.resize(isum+1);
400  etSumEtaMax_.at(isum) = eta;
401  }
402  void setEtSumEtThreshold(unsigned isum, double thresh){
403  if (etSumEtThreshold_.size()<=isum) etSumEtThreshold_.resize(isum+1);
404  etSumEtThreshold_.at(isum) = thresh;
405  }
413  void setEtSumBypassMetPUS(unsigned flag) {
414  pnode_[etSumBypassMetPUSFlag].uparams_.resize(1);
415  pnode_[etSumBypassMetPUSFlag].uparams_[0] = flag;
416  }
417  void setEtSumBypassEttPUS(unsigned flag) {
418  pnode_[etSumBypassEttPUSFlag].uparams_.resize(1);
419  pnode_[etSumBypassEttPUSFlag].uparams_[0] = flag;
420  }
421  void setEtSumBypassEcalSumPUS(unsigned flag) {
422  pnode_[etSumBypassEcalSumPUSFlag].uparams_.resize(1);
423  pnode_[etSumBypassEcalSumPUSFlag].uparams_[0] = flag;
424  }
425 
426 
427  void setEtSumMetPUSLUT(const l1t::LUT & lut) { pnode_[etSumMetPUS].LUT_ = lut; }
428  void setEtSumEttPUSLUT(const l1t::LUT & lut) { pnode_[etSumEttPUS].LUT_ = lut; }
436 
437  double etSumCentLower(unsigned centClass) const {
438  if (pnode_[etSumCentralityLower].dparams_.size()>centClass)
439  return pnode_[etSumCentralityLower].dparams_.at(centClass);
440  else return 0.;
441  }
442 
443  double etSumCentUpper(unsigned centClass) const {
444  if (pnode_[etSumCentralityUpper].dparams_.size()>centClass)
445  return pnode_[etSumCentralityUpper].dparams_.at(centClass);
446  else return 0.;
447  }
448 
449  void setEtSumCentLower(unsigned centClass, double loBound) {
450  if (pnode_[etSumCentralityLower].dparams_.size()<=centClass)
451  pnode_[etSumCentralityLower].dparams_.resize(centClass+1);
452  pnode_[etSumCentralityLower].dparams_.at(centClass) = loBound;
453  }
454 
455  void setEtSumCentUpper(unsigned centClass, double upBound) {
456  if (pnode_[etSumCentralityUpper].dparams_.size()<=centClass)
457  pnode_[etSumCentralityUpper].dparams_.resize(centClass+1);
458  pnode_[etSumCentralityUpper].dparams_.at(centClass) = upBound;
459  }
460 
461  // HI centrality
462  int centralityRegionMask() const {
463  if(pnode_[hiCentrality].version_ == 1)
464  return pnode_[hiCentrality].iparams_[0] ;
465  else
466  return 0;
467  }
468  std::vector<int> minimumBiasThresholds() const {
469  if(pnode_[hiCentrality].version_ == 1 && pnode_[hiCentrality].iparams_.size()==5) {
470  std::vector<int> newVec;
471  for(int i = 0; i<4; i++) {
472  newVec.push_back(pnode_[hiCentrality].iparams_.at(i+1));
473  }
474  return newVec;
475  } else {
476  std::vector<int> newVec;
477  return newVec;
478  }
479  }
480  l1t::LUT * centralityLUT() { return &pnode_[hiCentrality].LUT_; }
482  pnode_[hiCentrality].iparams_.resize(5);
483  pnode_[hiCentrality].iparams_[0] = mask;
484  }
485  void setMinimumBiasThresholds(std::vector<int> thresholds) {
486  pnode_[hiCentrality].iparams_.resize(5);
487  for(int i = 0; i<4; i++) {
488  pnode_[hiCentrality].iparams_[i+1] = thresholds.at(i);
489  }
490  }
491  void setCentralityLUT(const l1t::LUT & lut) { pnode_[hiCentrality].LUT_ = lut; }
492 
493  // HI Q2
494  l1t::LUT * q2LUT() { return &pnode_[hiQ2].LUT_; }
495  void setQ2LUT(const l1t::LUT & lut) { pnode_[hiQ2].LUT_ = lut; }
496 
497  // HI parameters
498 
499  // Layer 1 LUT specification
500  std::vector<double> layer1ECalScaleFactors() { return pnode_[layer1ECal].dparams_; }
501  std::vector<double> layer1HCalScaleFactors() { return pnode_[layer1HCal].dparams_; }
502  std::vector<double> layer1HFScaleFactors() { return pnode_[layer1HF ].dparams_; }
503  std::vector<int> layer1ECalScaleETBins() { return pnode_[layer1ECal].iparams_; }
504  std::vector<int> layer1HCalScaleETBins() { return pnode_[layer1HCal].iparams_; }
505  std::vector<int> layer1HFScaleETBins() { return pnode_[layer1HF ].iparams_; }
506  std::vector<unsigned> layer1ECalScalePhiBins() { return pnode_[layer1ECal].uparams_; }
507  std::vector<unsigned> layer1HCalScalePhiBins() { return pnode_[layer1HCal].uparams_; }
508  std::vector<unsigned> layer1HFScalePhiBins() { return pnode_[layer1HF ].uparams_; }
509  void setLayer1ECalScaleFactors(const std::vector<double> params) { pnode_[layer1ECal].dparams_ = params; }
510  void setLayer1HCalScaleFactors(const std::vector<double> params) { pnode_[layer1HCal].dparams_ = params; }
511  void setLayer1HFScaleFactors(const std::vector<double> params) { pnode_[layer1HF ].dparams_ = params; }
512  void setLayer1ECalScaleETBins(const std::vector<int> params) { pnode_[layer1ECal].iparams_ = params; }
513  void setLayer1HCalScaleETBins(const std::vector<int> params) { pnode_[layer1HCal].iparams_ = params; }
514  void setLayer1HFScaleETBins(const std::vector<int> params) { pnode_[layer1HF ].iparams_ = params; }
515  void setLayer1ECalScalePhiBins(const std::vector<unsigned> params) { pnode_[layer1ECal].uparams_ = params; }
516  void setLayer1HCalScalePhiBins(const std::vector<unsigned> params) { pnode_[layer1HCal].uparams_ = params; }
517  void setLayer1HFScalePhiBins(const std::vector<unsigned> params) { pnode_[layer1HF ].uparams_ = params; }
518 
519  std::vector<unsigned> layer1SecondStageLUT() { return pnode_[layer1HOverE].uparams_; }
520  void setLayer1SecondStageLUT(const std::vector<unsigned>& lut) { pnode_[layer1HOverE].uparams_ = lut; }
521 
522 
523  private:
528  };
529 
530 }
531 
532 
533 
534 #endif
535 
type
Definition: HCALResponse.h:21
void setEtSumEcalSumCalibrationType(std::string type)
void setTauCompressLUT(const l1t::LUT &lut)
double tauMinPtJetIsolationB() const
void setJetCompressPtLUT(const l1t::LUT &lut)
void setEtSumMetPUSType(std::string type)
std::vector< unsigned > layer1SecondStageLUT()
double tauMaxJetIsolationB() const
unsigned tauIsoAreaNrTowersPhi() const
std::string etSumEcalSumPUSType() const
std::vector< unsigned > layer1HFScalePhiBins()
std::string etSumEttCalibrationType() const
std::vector< int > minimumBiasThresholds() const
void setTauIsolationLUT(const l1t::LUT &lut)
void setMinimumBiasThresholds(std::vector< int > thresholds)
unsigned tauIsoAreaNrTowersEta() const
unsigned tauIsoVetoNrTowersPhi() const
EgParams egp_
Definition: CaloParams.h:214
void setLayer1HFScalePhiBins(const std::vector< unsigned > params)
void setJetCalibrationParams(std::vector< double > params)
void setEgCompressShapesLUT(const l1t::LUT &lut)
void setEgPUSType(std::string type)
void setHtMissScale(L1CaloEtScale HtMissScale)
std::vector< double > etSumEtThreshold_
Definition: CaloParams.h:230
void setEgCalibrationLUT(const l1t::LUT &lut)
const std::vector< double > & tauPUSParams() const
void setEtSumEttCalibrationLUT(const l1t::LUT &lut)
std::vector< double > jetCalibrationParams()
double etSumCentLower(unsigned centClass) const
std::string metCalibrationType() const
void setEgShapeIdType(std::string type)
unsigned egIsoAreaNrTowersEta() const
std::vector< int > layer1HFScaleETBins()
void setCentralityLUT(const l1t::LUT &lut)
void setRegionPUSParams(const std::vector< double > &params)
void setJetCalibrationLUT(const l1t::LUT &lut)
void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta)
unsigned egIsoAreaNrTowersPhi() const
std::vector< Node > pnode_
Definition: CaloParams.h:207
void setEgNeighbourThreshold(double thresh)
void setEmScale(L1CaloEtScale emScale)
void setLayer1HCalScaleFactors(const std::vector< double > params)
double tauNeighbourThreshold() const
void setLayer1ECalScaleFactors(const std::vector< double > params)
void setLayer1SecondStageLUT(const std::vector< unsigned > &lut)
void setEtSumEcalSumCalibrationLUT(const l1t::LUT &lut)
unsigned egShapeIdVersion() const
void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi)
TowerParams towerp_
Definition: CaloParams.h:209
unsigned egBypassECALFG() const
unsigned egIsoVetoNrTowersPhi() const
delete x;
Definition: CaloConfig.h:22
double isum
std::string jetCalibrationType() const
unsigned jetPUSUsePhiRing() const
void setEgMinPtHOverEIsolation(int cutValue)
std::string egCalibrationType() const
std::vector< double > tauCalibrationParams()
std::string jetPUSType() const
void setRegionPUSType(std::string type)
void setEtSumEttPUSLUT(const l1t::LUT &lut)
void setTauCalibrationLUT(const l1t::LUT &lut)
double egPUSParam(int ipar) const
double regionLsb_
Definition: CaloParams.h:212
int regionPUSValue(int PUM0, int eta)
void setJetNeighbourThreshold(double thresh)
void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta)
void setEtSumEtaMin(unsigned isum, int eta)
void setTauMinPtJetIsolationB(double limit)
std::string etSumEcalSumCalibrationType() const
void setLayer1HCalScalePhiBins(const std::vector< unsigned > params)
std::string tauPUSType() const
void setJetCalibrationType(std::string type)
void setJetSeedThreshold(double thresh)
std::vector< double > layer1HFScaleFactors()
void setTauMaxJetIsolationB(double limit)
void setEtSumBypassMetPUS(unsigned flag)
std::vector< int > etSumEtaMin_
Definition: CaloParams.h:224
void setLayer1HCalScaleETBins(const std::vector< int > params)
void setEtSumCentLower(unsigned centClass, double loBound)
std::string egShapeIdType() const
void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi)
void setJetScale(L1CaloEtScale jetScale)
void setTauCalibrationParams(std::vector< double > params)
void setEtSumEtaMax(unsigned isum, int eta)
std::vector< unsigned > layer1HCalScalePhiBins()
void setEgIsolationLUT(const l1t::LUT &lut)
void setLayer1HFScaleETBins(const std::vector< int > params)
void setTauMaxJetIsolationA(double cutValue)
JetParams jetp_
Definition: CaloParams.h:216
unsigned egCalibrationVersion() const
void setEgTrimmingLUT(const l1t::LUT &lut)
void setTauSeedThreshold(double thresh)
unsigned etSumBypassMetPUS() const
void setTauNeighbourThreshold(double thresh)
unsigned egBypassShape() const
void setLayer1ECalScaleETBins(const std::vector< int > params)
double etSumCentUpper(unsigned centClass) const
void setEgPUSParams(const std::vector< double > &params)
std::vector< int > etSumEtaMax_
Definition: CaloParams.h:227
std::vector< double > layer1ECalScaleFactors()
void setJetPUSParams(std::vector< double > params)
void setHfRingScale(L1CaloEtScale HfRingScale)
const std::vector< double > & egPUSParams() const
void setEgIsolationType(std::string type)
void setEgMaxPtHOverEIsolation(int cutValue)
std::vector< double > layer1HCalScaleFactors()
void setEgShapeIdVersion(unsigned version)
std::vector< double > egCalibrationParams()
Definition: value.py:1
void setPileUpTowerThreshold(int thresh)
void setTowerLsbSum(double lsb)
void setEgCalibrationType(std::string type)
void setMetHFPhiCalibrationLUT(const l1t::LUT &lut)
double tauPUSParam(int ipar) const
void setEgIsolationLUT2(const l1t::LUT &lut)
double tauMaxJetIsolationA() const
void setEgHcalThreshold(double thresh)
void setEtSumEcalSumPUSType(std::string type)
void setCentralityRegionMask(int mask)
void setLayer1ECalScalePhiBins(const std::vector< unsigned > params)
void setTauTrimmingShapeVetoLUT(const l1t::LUT &lut)
void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi)
void setMetHFCalibrationLUT(const l1t::LUT &lut)
void setEgMaxHOverELUT(const l1t::LUT &lut)
void setMetPhiCalibrationLUT(const l1t::LUT &lut)
std::vector< double > jetPUSParams()
std::vector< int > layer1ECalScaleETBins()
unsigned jetBypassPUS() const
unsigned etSumBypassEttPUS() const
void setTauMaxPtTauVeto(double limit)
void setTauPUSType(std::string type)
unsigned version_
Definition: CaloParams.h:205
Definition: LUT.h:29
TauParams taup_
Definition: CaloParams.h:215
void setMetHFCalibrationType(std::string type)
double egNeighbourThreshold() const
std::vector< unsigned > layer1ECalScalePhiBins()
void setEgShapeIdLUT(const l1t::LUT &lut)
void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi)
void setTauPUSParams(const std::vector< double > &params)
std::vector< double > regionPUSParams()
void setEtSumBypassEttPUS(unsigned flag)
double etSumLsb_
Definition: CaloParams.h:221
std::string regionPUSType() const
int etSumEtaMax(unsigned isum) const
std::string etSumEttPUSType() const
void setEtSumEttCalibrationType(std::string type)
void setEgCalibrationVersion(unsigned version)
void setEgBypassEGVetos(unsigned flag)
void setEtSumEcalSumPUSLUT(const l1t::LUT &lut)
void setEtSumBypassEcalSumPUS(unsigned flag)
const std::string & egPUSType() const
void setEgBypassShape(unsigned flag)
void setEtSumCentUpper(unsigned centClass, double upBound)
std::string etSumMetPUSType() const
void setEgSeedThreshold(double thresh)
void setEtSumEtThreshold(unsigned isum, double thresh)
void setEgBypassExtHOverE(unsigned flag)
double jetNeighbourThreshold() const
void setEtSumEttPUSType(std::string type)
double etSumEtThreshold(unsigned isum) const
void setJetPUSUsePhiRing(unsigned flag)
void setEgMaxPtHOverE(double thresh)
void setEtSumMetPUSLUT(const l1t::LUT &lut)
void setTauIsolationLUT2(const l1t::LUT &lut)
int etSumEtaMin(unsigned isum) const
void setTauEtToHFRingEtLUT(const l1t::LUT &lut)
void setMetCalibrationType(std::string type)
void setEgMinPtJetIsolation(int cutValue)
std::vector< int > layer1HCalScaleETBins()
void setJetBypassPUS(unsigned flag)
std::string metHFCalibrationType() const
void setTauCalibrationType(std::string type)
std::string tauCalibrationType() const
void setRegionPUSLUT(const l1t::LUT &lut)
void setEgCalibrationParams(std::vector< double > params)
unsigned etSumBypassEcalSumPUS() const
void setQ2LUT(const l1t::LUT &lut)
CaloParamsHelperO2O(const CaloParams &p)
void setJetPUSType(std::string type)
void setLayer1HFScaleFactors(const std::vector< double > params)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
void setEgBypassECALFG(unsigned flag)
void setEgMaxPtJetIsolation(int cutValue)
std::string egIsolationType() const
void setJetCompressEtaLUT(const l1t::LUT &lut)
void setMetCalibrationLUT(const l1t::LUT &lut)