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 
23  public:
24  // DO NOT ADD ENTRIES ANYWHERE BUT DIRECTLY BEFORE "NUM_CALOPARAMNODES"
25  // DO NOT CHANGE NUMERICAL VALUES OF ANY ALREADY EXISTING FIELDS, YOU CAN ONLY EXTEND, AT THE END.
26  enum { regionPUS=0,
55  };
56 
60 
61 
62 
63  bool isValidForStage1() {return true; }
64  bool isValidForStage2() {return (version_ >= 2); }
65 
74 
75  // towers
76  double towerLsbH() const { return towerp_.lsbH_; }
77  double towerLsbE() const { return towerp_.lsbE_; }
78  double towerLsbSum() const { return towerp_.lsbSum_; }
79  int towerNBitsH() const { return towerp_.nBitsH_; }
80  int towerNBitsE() const { return towerp_.nBitsE_; }
81  int towerNBitsSum() const { return towerp_.nBitsSum_; }
82  int towerNBitsRatio() const { return towerp_.nBitsRatio_; }
83  int towerMaskE() const { return towerp_.maskE_; }
84  int towerMaskH() const { return towerp_.maskH_; }
85  int towerMaskSum() const { return towerp_.maskSum_; }
86  int towerMaskRatio() const { return towerp_.maskRatio_; }
87  bool doTowerEncoding() const { return towerp_.doEncoding_; }
88 
89  void setTowerLsbH(double lsb) { towerp_.lsbH_ = lsb; }
90  void setTowerLsbE(double lsb) { towerp_.lsbE_ = lsb; }
91  void setTowerLsbSum(double lsb) { towerp_.lsbSum_ = lsb; }
92  void setTowerNBitsH(int n) { towerp_.nBitsH_ = n; towerp_.maskH_ = std::pow(2,n)-1; }
93  void setTowerNBitsE(int n) { towerp_.nBitsE_ = n; towerp_.maskE_ = std::pow(2,n)-1; }
96  void setTowerEncoding(bool doit) { towerp_.doEncoding_ = doit; }
97 
98 
99  // regions
100  double regionLsb() const { return regionLsb_; }
101  std::string regionPUSType() const { return pnode_[regionPUS].type_; }
102  std::vector<double> regionPUSParams() { return pnode_[regionPUS].dparams_; }
103  l1t::LUT* regionPUSLUT() {return &pnode_[regionPUS].LUT_; }
104 
105  int regionPUSValue(int PUM0, int eta)
106  {
107  int puSub = ceil(regionPUSParams()[18*eta+PUM0]*2);
108  return puSub;
109  }
110 
111  void setRegionLsb(double lsb) { regionLsb_ = lsb; }
113  void setRegionPUSParams(const std::vector<double> & params) { pnode_[regionPUS].dparams_ = params; }
114  void setRegionPUSLUT(const l1t::LUT & lut) { pnode_[regionPUS].LUT_ = lut; }
115 
116  int pileUpTowerThreshold() const {return pnode_[PUTowerThreshold].iparams_[0]; }
118  pnode_[PUTowerThreshold].iparams_.resize(1);
119  pnode_[PUTowerThreshold].iparams_[0] = thresh;
120  }
121 
122  // EG
123  int egEtaCut() const {
124  if (pnode_[egPUS].version_ ==1)
125  return pnode_[egPUS].iparams_[0];
126  else
127  return 0;
128  }
129  double egLsb() const { return egp_.lsb_; }
130  double egSeedThreshold() const { return egp_.seedThreshold_; }
131  double egNeighbourThreshold() const { return egp_.neighbourThreshold_; }
132  double egHcalThreshold() const { return egp_.hcalThreshold_; }
133  l1t::LUT* egTrimmingLUT() { return &pnode_[egTrimming].LUT_; }
134  double egMaxHcalEt() const { return egp_.maxHcalEt_; }
135  double egMaxPtHOverE() const {return egp_.maxPtHOverE_;}
138  l1t::LUT* egShapeIdLUT() { return &pnode_[egShapeId].LUT_; }
143  unsigned egBypassEGVetos() { return pnode_[egBypassEGVetosFlag].uparams_[0]; }
144  unsigned egBypassExtHOverE() { return pnode_[egBypassExtHoE].uparams_[0]; }
145  int egHOverEcutBarrel() const {return pnode_[egHOverEBarrel].iparams_[0]; }
146  int egHOverEcutEndcap() const {return pnode_[egHOverEEndcap].iparams_[0]; }
147 
151  const std::string & egPUSType() const { return pnode_[egPUS].type_; }
152  const std::vector<double> & egPUSParams() const { return pnode_[egPUS].dparams_; }
153  double egPUSParam(int ipar) const { return pnode_[egPUS].dparams_.at(ipar); }
154 
155  std::string egIsolationType() const { return pnode_[egIsolation].type_; }
159  std::vector<double> egCalibrationParams() { return pnode_[egCalibration].dparams_; }
161 
162  void setEgEtaCut(int mask) {
163  pnode_[egPUS].iparams_.resize(1);
164  pnode_[egPUS].iparams_[0] = mask;
165  }
166  void setEgLsb(double lsb) { egp_.lsb_ = lsb; }
170  void setEgTrimmingLUT(const l1t::LUT & lut) { pnode_[egTrimming].LUT_ = lut; }
171  void setEgMaxHcalEt(double cut) { egp_.maxHcalEt_ = cut; }
173  void setEgMaxHOverELUT(const l1t::LUT & lut) { pnode_[egMaxHOverE].LUT_ = lut; }
175  void setEgShapeIdLUT(const l1t::LUT & lut) { pnode_[egShapeId].LUT_ = lut; }
176  void setEgMinPtJetIsolation(int cutValue) { egp_.minPtJetIsolation_ = cutValue; }
177  void setEgMaxPtJetIsolation(int cutValue) { egp_.maxPtJetIsolation_ = cutValue; }
178  void setEgMinPtHOverEIsolation(int cutValue) { egp_.minPtHOverEIsolation_ = cutValue; }
179  void setEgMaxPtHOverEIsolation(int cutValue) { egp_.maxPtHOverEIsolation_ = cutValue; }
180  void setEgBypassEGVetos(unsigned flag) {
181  pnode_[egBypassEGVetosFlag].uparams_.resize(1);
182  pnode_[egBypassEGVetosFlag].uparams_[0] = flag;
183  }
184  void setEgBypassExtHOverE(unsigned flag) {
185  pnode_[egBypassExtHoE].uparams_.resize(1);
186  pnode_[egBypassExtHoE].uparams_[0] = flag;
187  }
189  pnode_[egHOverEBarrel].iparams_.resize(1);
190  pnode_[egHOverEBarrel].iparams_[0] = cut;
191  }
193  pnode_[egHOverEEndcap].iparams_.resize(1);
194  pnode_[egHOverEEndcap].iparams_[0] = cut;
195  }
196 
197  void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta){egp_.isoAreaNrTowersEta_=iEgIsoAreaNrTowersEta;}
198  void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi){egp_.isoAreaNrTowersPhi_=iEgIsoAreaNrTowersPhi;}
199  void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi){egp_.isoVetoNrTowersPhi_=iEgIsoVetoNrTowersPhi;}
201  void setEgPUSParams(const std::vector<double> & params) { pnode_[egPUS].dparams_ = params; }
203  void setEgIsolationLUT(const l1t::LUT & lut) { pnode_[egIsolation].LUT_ = lut; }
206  void setEgCalibrationParams(std::vector<double> params) { pnode_[egCalibration].dparams_ = params; }
208 
209  // - recently imported:
210  std::string egShapeIdType() const { return pnode_[egShapeId].type_; }
212  unsigned egShapeIdVersion() const { return pnode_[egShapeId].version_; }
213  void setEgShapeIdVersion(unsigned version) { pnode_[egShapeId].version_ = version; }
214  unsigned egCalibrationVersion() const { return pnode_[egCalibration].version_; }
216 
217  // tau
218  int tauRegionMask() const {
219  if (pnode_[tauPUS].version_ ==1)
220  return pnode_[tauPUS].iparams_[0];
221  else
222  return 0;
223  }
224  double tauLsb() const { return taup_.lsb_; }
225  double tauSeedThreshold() const { return taup_.seedThreshold_; }
227  double tauMaxPtTauVeto() const { return taup_.maxPtTauVeto_;}
229  double tauMaxJetIsolationB() const { return taup_.maxJetIsolationB_; }
230  double tauMaxJetIsolationA() const { return taup_.maxJetIsolationA_; }
231  int isoTauEtaMin() const { return taup_.isoEtaMin_; }
232  int isoTauEtaMax() const { return taup_.isoEtaMax_; }
233  std::string tauPUSType() const { return pnode_[tauPUS].type_; }
234  const std::vector<double> & tauPUSParams() const { return pnode_[tauPUS].dparams_; }
235  double tauPUSParam(int ipar) const { return pnode_[tauPUS].dparams_.at(ipar); }
236 
240 
242  std::vector<double> tauCalibrationParams() { return pnode_[tauCalibration].dparams_; }
245 
247 
251 
252  void setTauRegionMask(int mask) {
253  pnode_[tauPUS].iparams_.resize(1);
254  pnode_[tauPUS].iparams_[0] = mask;
255  }
256  void setTauLsb(double lsb) { taup_.lsb_ = lsb; }
262  void setTauMaxJetIsolationA(double cutValue) { taup_.maxJetIsolationA_ = cutValue; }
269 
271  void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta){taup_.isoAreaNrTowersEta_=iTauIsoAreaNrTowersEta;}
272  void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi){taup_.isoAreaNrTowersPhi_=iTauIsoAreaNrTowersPhi;}
273  void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi){taup_.isoVetoNrTowersPhi_=iTauIsoVetoNrTowersPhi;}
274 
275  void setTauCalibrationParams(std::vector<double> params) { pnode_[tauCalibration].dparams_ = params; }
277  void setTauCompressLUT(const l1t::LUT & lut) { pnode_[tauCompress].LUT_ = lut; }
278  void setTauPUSParams(const std::vector<double> & params) { pnode_[tauPUS].dparams_ = params; }
279 
281 
282  // jets
283  double jetLsb() const { return jetp_.lsb_; }
284  double jetSeedThreshold() const { return jetp_.seedThreshold_; }
286  int jetRegionMask() const {
287  if (pnode_[jetPUS].version_ ==1)
288  return pnode_[jetPUS].iparams_[0];
289  else
290  return 0;
291  }
292 
293  unsigned jetBypassPUS() const { return pnode_[jetBypassPUSFlag].uparams_[0]; }
294 
295  std::string jetPUSType() const { return pnode_[jetPUS].type_; }
296  std::vector<double> jetPUSParams() { return pnode_[jetPUS].dparams_; }
298  std::vector<double> jetCalibrationParams() { return pnode_[jetCalibration].dparams_; }
299 
303 
304  void setJetLsb(double lsb) { jetp_.lsb_ = lsb; }
307  void setJetRegionMask(int mask) {
308  pnode_[jetPUS].iparams_.resize(1);
309  pnode_[jetPUS].iparams_[0] = mask;
310  }
312  void setJetPUSParams(std::vector<double> params) { pnode_[jetPUS].dparams_ = params; }
314  void setJetCalibrationParams(std::vector<double> params) { pnode_[jetCalibration].dparams_ = params; }
318  void setJetBypassPUS(unsigned flag) {
319  pnode_[jetBypassPUSFlag].uparams_.resize(1);
320  pnode_[jetBypassPUSFlag].uparams_[0] = flag;
321  }
322 
323  // sums
324 
325  double etSumLsb() const { return etSumLsb_; }
326  int etSumEtaMin(unsigned isum) const;
327  int etSumEtaMax(unsigned isum) const;
328  double etSumEtThreshold(unsigned isum) const;
329  unsigned etSumBypassMetPUS() const { return pnode_[etSumBypassMetPUSFlag].uparams_[0]; }
330  unsigned etSumBypassEttPUS() const { return pnode_[etSumBypassEttPUSFlag].uparams_[0]; }
331  unsigned etSumBypassEcalSumPUS() const { return pnode_[etSumBypassEcalSumPUSFlag].uparams_[0]; }
332  std::string etSumMetPUSType() const { return pnode_[etSumMetPUS].type_; }
333  std::string etSumEttPUSType() const { return pnode_[etSumEttPUS].type_; }
339 
347 
348  void setEtSumLsb(double lsb) { etSumLsb_ = lsb; }
349  void setEtSumEtaMin(unsigned isum, int eta);
350  void setEtSumEtaMax(unsigned isum, int eta);
351  void setEtSumEtThreshold(unsigned isum, double thresh);
359  void setEtSumBypassMetPUS(unsigned flag) {
360  pnode_[etSumBypassMetPUSFlag].uparams_.resize(1);
361  pnode_[etSumBypassMetPUSFlag].uparams_[0] = flag;
362  }
363  void setEtSumBypassEttPUS(unsigned flag) {
364  pnode_[etSumBypassEttPUSFlag].uparams_.resize(1);
365  pnode_[etSumBypassEttPUSFlag].uparams_[0] = flag;
366  }
367  void setEtSumBypassEcalSumPUS(unsigned flag) {
368  pnode_[etSumBypassEcalSumPUSFlag].uparams_.resize(1);
369  pnode_[etSumBypassEcalSumPUSFlag].uparams_[0] = flag;
370  }
371 
372 
373  void setEtSumMetPUSLUT(const l1t::LUT & lut) { pnode_[etSumMetPUS].LUT_ = lut; }
374  void setEtSumEttPUSLUT(const l1t::LUT & lut) { pnode_[etSumEttPUS].LUT_ = lut; }
380 
381 
382  // HI centrality
383  int centralityRegionMask() const {
384  if(pnode_[hiCentrality].version_ == 1)
385  return pnode_[hiCentrality].iparams_[0] ;
386  else
387  return 0;
388  }
389  std::vector<int> minimumBiasThresholds() const {
390  if(pnode_[hiCentrality].version_ == 1 && pnode_[hiCentrality].iparams_.size()==5) {
391  std::vector<int> newVec;
392  for(int i = 0; i<4; i++) {
393  newVec.push_back(pnode_[hiCentrality].iparams_.at(i+1));
394  }
395  return newVec;
396  } else {
397  std::vector<int> newVec;
398  return newVec;
399  }
400  }
401  l1t::LUT * centralityLUT() { return &pnode_[hiCentrality].LUT_; }
403  pnode_[hiCentrality].iparams_.resize(5);
404  pnode_[hiCentrality].iparams_[0] = mask;
405  }
406  void setMinimumBiasThresholds(std::vector<int> thresholds) {
407  pnode_[hiCentrality].iparams_.resize(5);
408  for(int i = 0; i<4; i++) {
409  pnode_[hiCentrality].iparams_[i+1] = thresholds.at(i);
410  }
411  }
412  void setCentralityLUT(const l1t::LUT & lut) { pnode_[hiCentrality].LUT_ = lut; }
413 
414  // HI Q2
415  l1t::LUT * q2LUT() { return &pnode_[hiQ2].LUT_; }
416  void setQ2LUT(const l1t::LUT & lut) { pnode_[hiQ2].LUT_ = lut; }
417 
418  // HI parameters
419 
420  // Layer 1 LUT specification
421  std::vector<double> layer1ECalScaleFactors() { return pnode_[layer1ECal].dparams_; }
422  std::vector<double> layer1HCalScaleFactors() { return pnode_[layer1HCal].dparams_; }
423  std::vector<double> layer1HFScaleFactors() { return pnode_[layer1HF ].dparams_; }
424  std::vector<int> layer1ECalScaleETBins() { return pnode_[layer1ECal].iparams_; }
425  std::vector<int> layer1HCalScaleETBins() { return pnode_[layer1HCal].iparams_; }
426  std::vector<int> layer1HFScaleETBins() { return pnode_[layer1HF ].iparams_; }
427  std::vector<unsigned> layer1ECalScalePhiBins() { return pnode_[layer1ECal].uparams_; }
428  std::vector<unsigned> layer1HCalScalePhiBins() { return pnode_[layer1HCal].uparams_; }
429  std::vector<unsigned> layer1HFScalePhiBins() { return pnode_[layer1HF ].uparams_; }
430  void setLayer1ECalScaleFactors(const std::vector<double> params) { pnode_[layer1ECal].dparams_ = params; }
431  void setLayer1HCalScaleFactors(const std::vector<double> params) { pnode_[layer1HCal].dparams_ = params; }
432  void setLayer1HFScaleFactors(const std::vector<double> params) { pnode_[layer1HF ].dparams_ = params; }
433  void setLayer1ECalScaleETBins(const std::vector<int> params) { pnode_[layer1ECal].iparams_ = params; }
434  void setLayer1HCalScaleETBins(const std::vector<int> params) { pnode_[layer1HCal].iparams_ = params; }
435  void setLayer1HFScaleETBins(const std::vector<int> params) { pnode_[layer1HF ].iparams_ = params; }
436  void setLayer1ECalScalePhiBins(const std::vector<unsigned> params) { pnode_[layer1ECal].uparams_ = params; }
437  void setLayer1HCalScalePhiBins(const std::vector<unsigned> params) { pnode_[layer1HCal].uparams_ = params; }
438  void setLayer1HFScalePhiBins(const std::vector<unsigned> params) { pnode_[layer1HF ].uparams_ = params; }
439 
440  std::vector<unsigned> layer1SecondStageLUT() { return pnode_[layer1HOverE].uparams_; }
441  void setLayer1SecondStageLUT(const std::vector<unsigned>& lut) { pnode_[layer1HOverE].uparams_ = lut; }
442 
443  void setNode(int pos, const Node &n){ pnode_[pos] = n; }
444  const std::vector<Node>& getNodes(void) const { return pnode_; }
445 
446  private:
451  friend std::ostream & operator<<(std::ostream &os, const CaloParamsHelper& h);
452  };
453 
454  std::ostream & operator<<(std::ostream &os, const l1t::CaloParamsHelper& p);
455 
456 }
457 
458 
459 
460 #endif
461 
void setEtSumEtaMax(unsigned isum, int eta)
void setEtSumEcalSumCalibrationLUT(const l1t::LUT &lut)
void setEtSumEcalSumPUSType(std::string type)
friend std::ostream & operator<<(std::ostream &os, const CaloParamsHelper &h)
const std::string & egPUSType() const
L1CaloEtScale jetScale()
int egMinPtHOverEIsolation() const
type
Definition: HCALResponse.h:21
std::vector< double > jetCalibrationParams()
bool doTowerEncoding() const
const std::vector< double > & tauPUSParams() const
std::vector< int > layer1HFScaleETBins()
void setTauMaxJetIsolationA(double cutValue)
std::string etSumEttCalibrationType() const
l1t::LUT * etSumYCalibrationLUT()
int centralityRegionMask() const
void setEgCalibrationVersion(unsigned version)
std::string tauCalibrationType() const
void setCentralityLUT(const l1t::LUT &lut)
void setLayer1HCalScaleETBins(const std::vector< int > params)
double tauMaxJetIsolationB() const
void setIsoTauEtaMax(int value)
void setTauMinPtJetIsolationB(double limit)
l1t::LUT * jetCalibrationLUT()
void setRegionPUSType(std::string type)
void setEtSumBypassMetPUS(unsigned flag)
void setEgNeighbourThreshold(double thresh)
void setEgMinPtHOverEIsolation(int cutValue)
EgParams egp_
Definition: CaloParams.h:214
void setEgLsb(double lsb)
void setJetCalibrationParams(std::vector< double > params)
void setTauEtToHFRingEtLUT(const l1t::LUT &lut)
void setTauCalibrationLUT(const l1t::LUT &lut)
double tauMaxPtTauVeto() const
void setTauLsb(double lsb)
std::string jetPUSType() const
double tauMinPtJetIsolationB() const
void setTauIsolationLUT(const l1t::LUT &lut)
std::string etSumEcalSumPUSType() const
void setJetCalibrationLUT(const l1t::LUT &lut)
void setEtSumBypassEcalSumPUS(unsigned flag)
void setTauNeighbourThreshold(double thresh)
void setEgMaxPtJetIsolation(int cutValue)
double tauNeighbourThreshold() const
double etSumLsb() const
void setEtSumMetPUSLUT(const l1t::LUT &lut)
void setEgHOverEcutEndcap(int cut)
double etSumEtThreshold(unsigned isum) const
void setEgHcalThreshold(double thresh)
void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi)
int egMinPtJetIsolation() const
double egMaxHcalEt() const
std::vector< Node > pnode_
Definition: CaloParams.h:207
void setJetScale(L1CaloEtScale jetScale)
unsigned jetBypassPUS() const
unsigned egIsoAreaNrTowersPhi() const
int egHOverEcutBarrel() const
unsigned tauIsoAreaNrTowersPhi() const
void setEgBypassExtHOverE(unsigned flag)
void setEtSumEttCalibrationLUT(const l1t::LUT &lut)
void setCentralityRegionMask(int mask)
TowerParams towerp_
Definition: CaloParams.h:209
delete x;
Definition: CaloConfig.h:22
double isum
std::vector< int > layer1HCalScaleETBins()
void setJetCompressEtaLUT(const l1t::LUT &lut)
std::vector< unsigned > layer1ECalScalePhiBins()
unsigned tauIsoAreaNrTowersEta() const
int etSumEtaMax(unsigned isum) const
l1t::LUT * tauTrimmingShapeVetoLUT()
int towerNBitsSum() const
void setHfRingScale(L1CaloEtScale HfRingScale)
void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta)
std::vector< int > layer1ECalScaleETBins()
void setEgCalibrationLUT(const l1t::LUT &lut)
int egMaxPtHOverEIsolation() const
void setRegionPUSLUT(const l1t::LUT &lut)
unsigned egCalibrationVersion() const
void setLayer1ECalScalePhiBins(const std::vector< unsigned > params)
void setEgShapeIdLUT(const l1t::LUT &lut)
void setEtSumYCalibrationType(std::string type)
L1CaloEtScale HtMissScale_
double regionLsb_
Definition: CaloParams.h:212
void setHtMissScale(L1CaloEtScale HtMissScale)
void setEtSumEttPUSLUT(const l1t::LUT &lut)
unsigned etSumBypassEttPUS() const
std::vector< unsigned > layer1SecondStageLUT()
void setJetCompressPtLUT(const l1t::LUT &lut)
std::vector< unsigned > layer1HCalScalePhiBins()
std::vector< double > layer1ECalScaleFactors()
void setEgHOverEcutBarrel(int cut)
l1t::LUT * egCompressShapesLUT()
double egSeedThreshold() const
void setEtSumEcalSumCalibrationType(std::string type)
unsigned etSumBypassMetPUS() const
void setEtSumEtaMin(unsigned isum, int eta)
l1t::LUT * tauIsolationLUT2()
void setTauMaxPtTauVeto(double limit)
void setEtSumXCalibrationLUT(const l1t::LUT &lut)
void setRegionLsb(double lsb)
std::string jetCalibrationType() const
void setJetCalibrationType(std::string type)
std::string egCalibrationType() const
unsigned egIsoVetoNrTowersPhi() const
void setEtSumMetPUSType(std::string type)
JetParams jetp_
Definition: CaloParams.h:216
void setTowerLsbH(double lsb)
unsigned egShapeIdVersion() const
std::vector< int > minimumBiasThresholds() const
void setEgMinPtJetIsolation(int cutValue)
int etSumEtaMin(unsigned isum) const
void setEgBypassEGVetos(unsigned flag)
void setEgIsolationLUT2(const l1t::LUT &lut)
double jetLsb() const
void setTauCompressLUT(const l1t::LUT &lut)
std::vector< double > tauCalibrationParams()
int pileUpTowerThreshold() const
l1t::LUT * tauEtToHFRingEtLUT()
void setPileUpTowerThreshold(int thresh)
double tauLsb() const
void setLayer1HFScaleETBins(const std::vector< int > params)
void setEtSumEtThreshold(unsigned isum, double thresh)
int egMaxPtJetIsolation() const
std::string etSumEcalSumCalibrationType() const
l1t::LUT * etSumXCalibrationLUT()
void setNode(int pos, const Node &n)
void setTauPUSType(std::string type)
std::string tauPUSType() const
void setEgPUSType(std::string type)
Definition: value.py:1
void setLayer1ECalScaleETBins(const std::vector< int > params)
double regionLsb() const
std::vector< double > egCalibrationParams()
l1t::LUT * egIsolationLUT2()
void setTauSeedThreshold(double thresh)
void setTowerEncoding(bool doit)
l1t::LUT * jetCompressPtLUT()
void setTauMaxJetIsolationB(double limit)
void setTauCalibrationType(std::string type)
double egHcalThreshold() const
std::string etSumMetPUSType() const
void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi)
std::string egIsolationType() const
std::string egShapeIdType() const
double egNeighbourThreshold() const
void setTowerNBitsSum(int n)
void setJetNeighbourThreshold(double thresh)
double egPUSParam(int ipar) const
void setEgShapeIdVersion(unsigned version)
void setTauRegionMask(int mask)
void setJetRegionMask(int mask)
void setEgEtaCut(int mask)
void setJetPUSParams(std::vector< double > params)
void setEgMaxHcalEt(double cut)
unsigned version_
Definition: CaloParams.h:205
l1t::LUT * etSumEcalSumCalibrationLUT()
std::string regionPUSType() const
Definition: LUT.h:29
TauParams taup_
Definition: CaloParams.h:215
void setLayer1SecondStageLUT(const std::vector< unsigned > &lut)
double jetNeighbourThreshold() const
std::vector< unsigned > layer1HFScalePhiBins()
void setJetLsb(double lsb)
double egMaxPtHOverE() const
L1CaloEtScale HfRingScale_
void setTauPUSParams(const std::vector< double > &params)
unsigned etSumBypassEcalSumPUS() const
void setEtSumEttCalibrationType(std::string type)
void setQ2LUT(const l1t::LUT &lut)
const std::vector< Node > & getNodes(void) const
void setLayer1HCalScaleFactors(const std::vector< double > params)
double tauPUSParam(int ipar) const
void setEtSumBypassEttPUS(unsigned flag)
std::vector< double > layer1HCalScaleFactors()
double etSumLsb_
Definition: CaloParams.h:221
void setEgMaxHOverELUT(const l1t::LUT &lut)
int towerNBitsRatio() const
void setLayer1HFScaleFactors(const std::vector< double > params)
void setEgCalibrationParams(std::vector< double > params)
void setTauCalibrationParams(std::vector< double > params)
int egHOverEcutEndcap() const
l1t::LUT * egCalibrationLUT()
void setMinimumBiasThresholds(std::vector< int > thresholds)
void setJetSeedThreshold(double thresh)
double tauSeedThreshold() const
std::string etSumXCalibrationType() const
void setEtSumYCalibrationLUT(const l1t::LUT &lut)
void setEgMaxPtHOverE(double thresh)
void setEgTrimmingLUT(const l1t::LUT &lut)
void setEmScale(L1CaloEtScale emScale)
double towerLsbSum() const
void setRegionPUSParams(const std::vector< double > &params)
void setEtSumXCalibrationType(std::string type)
int towerMaskRatio() const
unsigned tauIsoVetoNrTowersPhi() const
l1t::LUT * tauCalibrationLUT()
void setEgIsolationLUT(const l1t::LUT &lut)
void setEgMaxPtHOverEIsolation(int cutValue)
void setTauIsolationLUT2(const l1t::LUT &lut)
void setJetBypassPUS(unsigned flag)
void setTauTrimmingShapeVetoLUT(const l1t::LUT &lut)
double towerLsbE() const
void setEtSumEttPUSType(std::string type)
void setEgSeedThreshold(double thresh)
void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi)
void setLayer1ECalScaleFactors(const std::vector< double > params)
l1t::LUT * etSumEttCalibrationLUT()
void setLayer1HCalScalePhiBins(const std::vector< unsigned > params)
void setJetPUSType(std::string type)
void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi)
void setEtSumLsb(double lsb)
L1CaloEtScale HfRingScale()
std::vector< double > layer1HFScaleFactors()
double jetSeedThreshold() const
L1CaloEtScale HtMissScale()
void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta)
l1t::LUT * tauIsolationLUT()
std::string etSumEttPUSType() const
void setEgShapeIdType(std::string type)
L1CaloEtScale emScale()
void setIsoTauEtaMin(int value)
void setTowerLsbSum(double lsb)
l1t::LUT * jetCompressEtaLUT()
void setLayer1HFScalePhiBins(const std::vector< unsigned > params)
void setEgPUSParams(const std::vector< double > &params)
std::vector< double > regionPUSParams()
std::vector< double > jetPUSParams()
void setTowerLsbE(double lsb)
int regionPUSValue(int PUM0, int eta)
unsigned egIsoAreaNrTowersEta() const
l1t::LUT * etSumEcalSumPUSLUT()
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
void setEgCalibrationType(std::string type)
const std::vector< double > & egPUSParams() const
void setEtSumEcalSumPUSLUT(const l1t::LUT &lut)
void setEgCompressShapesLUT(const l1t::LUT &lut)
std::string etSumYCalibrationType() const
double tauMaxJetIsolationA() const
void setTowerNBitsRatio(int n)
void setEgIsolationType(std::string type)
double towerLsbH() const