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,
50  };
51 
54  if (pnode_.size() < NUM_CALOPARAMNODES){
55  pnode_.resize(NUM_CALOPARAMNODES);
56  // at version 2, tauCompress was added, we can add a default version here if necessary...
57  }
58  };
60 
61  bool isValidForStage1() {return 1; }
62  bool isValidForStage2() {return (version_ >= 2); }
63 
72 
73  // towers
74  double towerLsbH() const { return towerp_.lsbH_; }
75  double towerLsbE() const { return towerp_.lsbE_; }
76  double towerLsbSum() const { return towerp_.lsbSum_; }
77  int towerNBitsH() const { return towerp_.nBitsH_; }
78  int towerNBitsE() const { return towerp_.nBitsE_; }
79  int towerNBitsSum() const { return towerp_.nBitsSum_; }
80  int towerNBitsRatio() const { return towerp_.nBitsRatio_; }
81  int towerMaskE() const { return towerp_.maskE_; }
82  int towerMaskH() const { return towerp_.maskH_; }
83  int towerMaskSum() const { return towerp_.maskSum_; }
84  int towerMaskRatio() const { return towerp_.maskRatio_; }
85  bool doTowerEncoding() const { return towerp_.doEncoding_; }
86 
87  void setTowerLsbH(double lsb) { towerp_.lsbH_ = lsb; }
88  void setTowerLsbE(double lsb) { towerp_.lsbE_ = lsb; }
89  void setTowerLsbSum(double lsb) { towerp_.lsbSum_ = lsb; }
90  void setTowerNBitsH(int n) { towerp_.nBitsH_ = n; towerp_.maskH_ = std::pow(2,n)-1; }
91  void setTowerNBitsE(int n) { towerp_.nBitsE_ = n; towerp_.maskE_ = std::pow(2,n)-1; }
94  void setTowerEncoding(bool doit) { towerp_.doEncoding_ = doit; }
95 
96 
97  // regions
98  double regionLsb() const { return regionLsb_; }
99  std::string regionPUSType() const { return pnode_[regionPUS].type_; }
100  std::vector<double> regionPUSParams() { return pnode_[regionPUS].dparams_; }
101  l1t::LUT* regionPUSLUT() {return &pnode_[regionPUS].LUT_; }
102 
103  int regionPUSValue(int PUM0, int eta)
104  {
105  int puSub = ceil(regionPUSParams()[18*eta+PUM0]*2);
106  return puSub;
107  }
108 
109  void setRegionLsb(double lsb) { regionLsb_ = lsb; }
111  void setRegionPUSParams(const std::vector<double> & params) { pnode_[regionPUS].dparams_ = params; }
112  void setRegionPUSLUT(const l1t::LUT & lut) { pnode_[regionPUS].LUT_ = lut; }
113 
114  int pileUpTowerThreshold() const {return pnode_[PUTowerThreshold].iparams_[0]; }
116  pnode_[PUTowerThreshold].iparams_.resize(1);
117  pnode_[PUTowerThreshold].iparams_[0] = thresh;
118  }
119 
120  // EG
121  int egEtaCut() const {
122  if (pnode_[egPUS].version_ ==1)
123  return pnode_[egPUS].iparams_[0];
124  else
125  return 0;
126  }
127  double egLsb() const { return egp_.lsb_; }
128  double egSeedThreshold() const { return egp_.seedThreshold_; }
129  double egNeighbourThreshold() const { return egp_.neighbourThreshold_; }
130  double egHcalThreshold() const { return egp_.hcalThreshold_; }
131  l1t::LUT* egTrimmingLUT() { return &pnode_[egTrimming].LUT_; }
132  double egMaxHcalEt() const { return egp_.maxHcalEt_; }
133  double egMaxPtHOverE() const {return egp_.maxPtHOverE_;}
136  l1t::LUT* egShapeIdLUT() { return &pnode_[egShapeId].LUT_; }
141  unsigned egBypassEGVetos() { return pnode_[egBypassEGVetosFlag].uparams_[0]; }
142  unsigned egBypassExtHOverE() { return pnode_[egBypassExtHoE].uparams_[0]; }
143  int egHOverEcutBarrel() const {return pnode_[egHOverEBarrel].iparams_[0]; }
144  int egHOverEcutEndcap() const {return pnode_[egHOverEEndcap].iparams_[0]; }
145 
149  const std::string & egPUSType() const { return pnode_[egPUS].type_; }
150  const std::vector<double> & egPUSParams() const { return pnode_[egPUS].dparams_; }
151  double egPUSParam(int ipar) const { return pnode_[egPUS].dparams_.at(ipar); }
152 
153  std::string egIsolationType() const { return pnode_[egIsolation].type_; }
157  std::vector<double> egCalibrationParams() { return pnode_[egCalibration].dparams_; }
159 
160  void setEgEtaCut(int mask) {
161  pnode_[egPUS].iparams_.resize(1);
162  pnode_[egPUS].iparams_[0] = mask;
163  }
164  void setEgLsb(double lsb) { egp_.lsb_ = lsb; }
168  void setEgTrimmingLUT(const l1t::LUT & lut) { pnode_[egTrimming].LUT_ = lut; }
169  void setEgMaxHcalEt(double cut) { egp_.maxHcalEt_ = cut; }
171  void setEgMaxHOverELUT(const l1t::LUT & lut) { pnode_[egMaxHOverE].LUT_ = lut; }
173  void setEgShapeIdLUT(const l1t::LUT & lut) { pnode_[egShapeId].LUT_ = lut; }
174  void setEgMinPtJetIsolation(int cutValue) { egp_.minPtJetIsolation_ = cutValue; }
175  void setEgMaxPtJetIsolation(int cutValue) { egp_.maxPtJetIsolation_ = cutValue; }
176  void setEgMinPtHOverEIsolation(int cutValue) { egp_.minPtHOverEIsolation_ = cutValue; }
177  void setEgMaxPtHOverEIsolation(int cutValue) { egp_.maxPtHOverEIsolation_ = cutValue; }
178  void setEgBypassEGVetos(unsigned flag) {
179  pnode_[egBypassEGVetosFlag].uparams_.resize(1);
180  pnode_[egBypassEGVetosFlag].uparams_[0] = flag;
181  }
182  void setEgBypassExtHOverE(unsigned flag) {
183  pnode_[egBypassExtHoE].uparams_.resize(1);
184  pnode_[egBypassExtHoE].uparams_[0] = flag;
185  }
187  pnode_[egHOverEBarrel].iparams_.resize(1);
188  pnode_[egHOverEBarrel].iparams_[0] = cut;
189  }
191  pnode_[egHOverEEndcap].iparams_.resize(1);
192  pnode_[egHOverEEndcap].iparams_[0] = cut;
193  }
194 
195  void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta){egp_.isoAreaNrTowersEta_=iEgIsoAreaNrTowersEta;}
196  void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi){egp_.isoAreaNrTowersPhi_=iEgIsoAreaNrTowersPhi;}
197  void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi){egp_.isoVetoNrTowersPhi_=iEgIsoVetoNrTowersPhi;}
199  void setEgPUSParams(const std::vector<double> & params) { pnode_[egPUS].dparams_ = params; }
201  void setEgIsolationLUT(const l1t::LUT & lut) { pnode_[egIsolation].LUT_ = lut; }
204  void setEgCalibrationParams(std::vector<double> params) { pnode_[egCalibration].dparams_ = params; }
206 
207  // - recently imported:
208  std::string egShapeIdType() const { return pnode_[egShapeId].type_; }
210  unsigned egShapeIdVersion() const { return pnode_[egShapeId].version_; }
211  void setEgShapeIdVersion(unsigned version) { pnode_[egShapeId].version_ = version; }
212  unsigned egCalibrationVersion() const { return pnode_[egCalibration].version_; }
214 
215  // tau
216  int tauRegionMask() const {
217  if (pnode_[tauPUS].version_ ==1)
218  return pnode_[tauPUS].iparams_[0];
219  else
220  return 0;
221  }
222  double tauLsb() const { return taup_.lsb_; }
223  double tauSeedThreshold() const { return taup_.seedThreshold_; }
225  double tauMaxPtTauVeto() const { return taup_.maxPtTauVeto_;}
227  double tauMaxJetIsolationB() const { return taup_.maxJetIsolationB_; }
228  double tauMaxJetIsolationA() const { return taup_.maxJetIsolationA_; }
229  int isoTauEtaMin() const { return taup_.isoEtaMin_; }
230  int isoTauEtaMax() const { return taup_.isoEtaMax_; }
231  std::string tauPUSType() const { return pnode_[tauPUS].type_; }
232  const std::vector<double> & tauPUSParams() const { return pnode_[tauPUS].dparams_; }
233  double tauPUSParam(int ipar) const { return pnode_[tauPUS].dparams_.at(ipar); }
234 
238 
240  std::vector<double> tauCalibrationParams() { return pnode_[tauCalibration].dparams_; }
243 
245 
249 
250  void setTauRegionMask(int mask) {
251  pnode_[tauPUS].iparams_.resize(1);
252  pnode_[tauPUS].iparams_[0] = mask;
253  }
254  void setTauLsb(double lsb) { taup_.lsb_ = lsb; }
260  void setTauMaxJetIsolationA(double cutValue) { taup_.maxJetIsolationA_ = cutValue; }
267 
269  void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta){taup_.isoAreaNrTowersEta_=iTauIsoAreaNrTowersEta;}
270  void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi){taup_.isoAreaNrTowersPhi_=iTauIsoAreaNrTowersPhi;}
271  void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi){taup_.isoVetoNrTowersPhi_=iTauIsoVetoNrTowersPhi;}
272 
273  void setTauCalibrationParams(std::vector<double> params) { pnode_[tauCalibration].dparams_ = params; }
275  void setTauCompressLUT(const l1t::LUT & lut) { pnode_[tauCompress].LUT_ = lut; }
276  void setTauPUSParams(const std::vector<double> & params) { pnode_[tauPUS].dparams_ = params; }
277 
279 
280  // jets
281  double jetLsb() const { return jetp_.lsb_; }
282  double jetSeedThreshold() const { return jetp_.seedThreshold_; }
284  int jetRegionMask() const {
285  if (pnode_[jetPUS].version_ ==1)
286  return pnode_[jetPUS].iparams_[0];
287  else
288  return 0;
289  }
290 
291  unsigned jetBypassPUS() const { return pnode_[jetBypassPUSFlag].uparams_[0]; }
292 
293  std::string jetPUSType() const { return pnode_[jetPUS].type_; }
294  std::vector<double> jetPUSParams() { return pnode_[jetPUS].dparams_; }
296  std::vector<double> jetCalibrationParams() { return pnode_[jetCalibration].dparams_; }
297 
301 
302  void setJetLsb(double lsb) { jetp_.lsb_ = lsb; }
305  void setJetRegionMask(int mask) {
306  pnode_[jetPUS].iparams_.resize(1);
307  pnode_[jetPUS].iparams_[0] = mask;
308  }
310  void setJetPUSParams(std::vector<double> params) { pnode_[jetPUS].dparams_ = params; }
312  void setJetCalibrationParams(std::vector<double> params) { pnode_[jetCalibration].dparams_ = params; }
316  void setJetBypassPUS(unsigned flag) {
317  pnode_[jetBypassPUSFlag].uparams_.resize(1);
318  pnode_[jetBypassPUSFlag].uparams_[0] = flag;
319  }
320 
321  // sums
322 
323  double etSumLsb() const { return etSumLsb_; }
324  int etSumEtaMin(unsigned isum) const {
325  if (etSumEtaMin_.size()>isum) return etSumEtaMin_.at(isum);
326  else return 0;
327  }
328  int etSumEtaMax(unsigned isum) const {
329  if (etSumEtaMax_.size()>isum) return etSumEtaMax_.at(isum);
330  else return 0;
331  }
332  double etSumEtThreshold(unsigned isum) const {
333  if (etSumEtThreshold_.size()>isum) return etSumEtThreshold_.at(isum);
334  else return 0.;
335  }
336  unsigned etSumBypassMetPUS() const { return pnode_[etSumBypassMetPUSFlag].uparams_[0]; }
337  unsigned etSumBypassEttPUS() const { return pnode_[etSumBypassEttPUSFlag].uparams_[0]; }
338  unsigned etSumBypassEcalSumPUS() const { return pnode_[etSumBypassEcalSumPUSFlag].uparams_[0]; }
339  std::string etSumMetPUSType() const { return pnode_[etSumMetPUS].type_; }
340  std::string etSumEttPUSType() const { return pnode_[etSumEttPUS].type_; }
346 
354 
355  void setEtSumLsb(double lsb) { etSumLsb_ = lsb; }
356  void setEtSumEtaMin(unsigned isum, int eta){
357  if (etSumEtaMin_.size()<=isum) etSumEtaMin_.resize(isum+1);
358  etSumEtaMin_.at(isum) = eta;
359  }
360  void setEtSumEtaMax(unsigned isum, int eta){
361  if (etSumEtaMax_.size()<=isum) etSumEtaMax_.resize(isum+1);
362  etSumEtaMax_.at(isum) = eta;
363  }
364  void setEtSumEtThreshold(unsigned isum, double thresh){
365  if (etSumEtThreshold_.size()<=isum) etSumEtThreshold_.resize(isum+1);
366  etSumEtThreshold_.at(isum) = thresh;
367  }
375  void setEtSumBypassMetPUS(unsigned flag) {
376  pnode_[etSumBypassMetPUSFlag].uparams_.resize(1);
377  pnode_[etSumBypassMetPUSFlag].uparams_[0] = flag;
378  }
379  void setEtSumBypassEttPUS(unsigned flag) {
380  pnode_[etSumBypassEttPUSFlag].uparams_.resize(1);
381  pnode_[etSumBypassEttPUSFlag].uparams_[0] = flag;
382  }
383  void setEtSumBypassEcalSumPUS(unsigned flag) {
384  pnode_[etSumBypassEcalSumPUSFlag].uparams_.resize(1);
385  pnode_[etSumBypassEcalSumPUSFlag].uparams_[0] = flag;
386  }
387 
388 
389  void setEtSumMetPUSLUT(const l1t::LUT & lut) { pnode_[etSumMetPUS].LUT_ = lut; }
390  void setEtSumEttPUSLUT(const l1t::LUT & lut) { pnode_[etSumEttPUS].LUT_ = lut; }
396 
397 
398  // HI centrality
399  int centralityRegionMask() const {
400  if(pnode_[hiCentrality].version_ == 1)
401  return pnode_[hiCentrality].iparams_[0] ;
402  else
403  return 0;
404  }
405  std::vector<int> minimumBiasThresholds() const {
406  if(pnode_[hiCentrality].version_ == 1 && pnode_[hiCentrality].iparams_.size()==5) {
407  std::vector<int> newVec;
408  for(int i = 0; i<4; i++) {
409  newVec.push_back(pnode_[hiCentrality].iparams_.at(i+1));
410  }
411  return newVec;
412  } else {
413  std::vector<int> newVec;
414  return newVec;
415  }
416  }
417  l1t::LUT * centralityLUT() { return &pnode_[hiCentrality].LUT_; }
419  pnode_[hiCentrality].iparams_.resize(5);
420  pnode_[hiCentrality].iparams_[0] = mask;
421  }
422  void setMinimumBiasThresholds(std::vector<int> thresholds) {
423  pnode_[hiCentrality].iparams_.resize(5);
424  for(int i = 0; i<4; i++) {
425  pnode_[hiCentrality].iparams_[i+1] = thresholds.at(i);
426  }
427  }
428  void setCentralityLUT(const l1t::LUT & lut) { pnode_[hiCentrality].LUT_ = lut; }
429 
430  // HI Q2
431  l1t::LUT * q2LUT() { return &pnode_[hiQ2].LUT_; }
432  void setQ2LUT(const l1t::LUT & lut) { pnode_[hiQ2].LUT_ = lut; }
433 
434  // HI parameters
435 
436  // Layer 1 LUT specification
437  std::vector<double> layer1ECalScaleFactors() { return pnode_[layer1ECal].dparams_; }
438  std::vector<double> layer1HCalScaleFactors() { return pnode_[layer1HCal].dparams_; }
439  std::vector<double> layer1HFScaleFactors() { return pnode_[layer1HF ].dparams_; }
440  std::vector<int> layer1ECalScaleETBins() { return pnode_[layer1ECal].iparams_; }
441  std::vector<int> layer1HCalScaleETBins() { return pnode_[layer1HCal].iparams_; }
442  std::vector<int> layer1HFScaleETBins() { return pnode_[layer1HF ].iparams_; }
443  std::vector<unsigned> layer1ECalScalePhiBins() { return pnode_[layer1ECal].uparams_; }
444  std::vector<unsigned> layer1HCalScalePhiBins() { return pnode_[layer1HCal].uparams_; }
445  std::vector<unsigned> layer1HFScalePhiBins() { return pnode_[layer1HF ].uparams_; }
446  void setLayer1ECalScaleFactors(const std::vector<double> params) { pnode_[layer1ECal].dparams_ = params; }
447  void setLayer1HCalScaleFactors(const std::vector<double> params) { pnode_[layer1HCal].dparams_ = params; }
448  void setLayer1HFScaleFactors(const std::vector<double> params) { pnode_[layer1HF ].dparams_ = params; }
449  void setLayer1ECalScaleETBins(const std::vector<int> params) { pnode_[layer1ECal].iparams_ = params; }
450  void setLayer1HCalScaleETBins(const std::vector<int> params) { pnode_[layer1HCal].iparams_ = params; }
451  void setLayer1HFScaleETBins(const std::vector<int> params) { pnode_[layer1HF ].iparams_ = params; }
452  void setLayer1ECalScalePhiBins(const std::vector<unsigned> params) { pnode_[layer1ECal].uparams_ = params; }
453  void setLayer1HCalScalePhiBins(const std::vector<unsigned> params) { pnode_[layer1HCal].uparams_ = params; }
454  void setLayer1HFScalePhiBins(const std::vector<unsigned> params) { pnode_[layer1HF ].uparams_ = params; }
455 
456  std::vector<unsigned> layer1SecondStageLUT() { return pnode_[layer1HOverE].uparams_; }
457  void setLayer1SecondStageLUT(const std::vector<unsigned>& lut) { pnode_[layer1HOverE].uparams_ = lut; }
458 
459 
460  private:
465  };
466 
467 }
468 
469 
470 
471 #endif
472 
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()
void setEtSumXCalibrationLUT(const l1t::LUT &lut)
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()
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 setEtSumYCalibrationType(std::string type)
void setEgNeighbourThreshold(double thresh)
void setEmScale(L1CaloEtScale emScale)
void setLayer1HCalScaleFactors(const std::vector< double > params)
double tauNeighbourThreshold() const
std::string etSumXCalibrationType() 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 egIsoVetoNrTowersPhi() const
delete x;
Definition: CaloConfig.h:22
double isum
std::string jetCalibrationType() 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
void setEtSumXCalibrationType(std::string type)
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)
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)
void setLayer1ECalScaleETBins(const std::vector< int > params)
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)
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 setEgMaxHOverELUT(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
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
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
std::string etSumYCalibrationType() const
void setEgMaxPtHOverE(double thresh)
void setEtSumMetPUSLUT(const l1t::LUT &lut)
void setTauIsolationLUT2(const l1t::LUT &lut)
int etSumEtaMin(unsigned isum) const
void setTowerEncoding(bool doit)
void setTauEtToHFRingEtLUT(const l1t::LUT &lut)
void setEgMinPtJetIsolation(int cutValue)
std::vector< int > layer1HCalScaleETBins()
void setJetBypassPUS(unsigned flag)
void setEtSumYCalibrationLUT(const l1t::LUT &lut)
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 setEgMaxPtJetIsolation(int cutValue)
std::string egIsolationType() const
void setJetCompressEtaLUT(const l1t::LUT &lut)