test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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,
44  };
45 
49 
50 
51 
52  bool isValidForStage1() {return 1; }
53  bool isValidForStage2() {return (version_ >= 2); }
54 
63 
64  // towers
65  double towerLsbH() const { return towerp_.lsbH_; }
66  double towerLsbE() const { return towerp_.lsbE_; }
67  double towerLsbSum() const { return towerp_.lsbSum_; }
68  int towerNBitsH() const { return towerp_.nBitsH_; }
69  int towerNBitsE() const { return towerp_.nBitsE_; }
70  int towerNBitsSum() const { return towerp_.nBitsSum_; }
71  int towerNBitsRatio() const { return towerp_.nBitsRatio_; }
72  int towerMaskE() const { return towerp_.maskE_; }
73  int towerMaskH() const { return towerp_.maskH_; }
74  int towerMaskSum() const { return towerp_.maskSum_; }
75  int towerMaskRatio() const { return towerp_.maskRatio_; }
76  bool doTowerEncoding() const { return towerp_.doEncoding_; }
77 
78  void setTowerLsbH(double lsb) { towerp_.lsbH_ = lsb; }
79  void setTowerLsbE(double lsb) { towerp_.lsbE_ = lsb; }
80  void setTowerLsbSum(double lsb) { towerp_.lsbSum_ = lsb; }
81  void setTowerNBitsH(int n) { towerp_.nBitsH_ = n; towerp_.maskH_ = std::pow(2,n)-1; }
82  void setTowerNBitsE(int n) { towerp_.nBitsE_ = n; towerp_.maskE_ = std::pow(2,n)-1; }
85  void setTowerEncoding(bool doit) { towerp_.doEncoding_ = doit; }
86 
87 
88  // regions
89  double regionLsb() const { return regionLsb_; }
90  std::string regionPUSType() const { return pnode_[regionPUS].type_; }
91  std::vector<double> regionPUSParams() { return pnode_[regionPUS].dparams_; }
92  l1t::LUT* regionPUSLUT() {return &pnode_[regionPUS].LUT_; }
93 
94  int regionPUSValue(int PUM0, int eta)
95  {
96  int puSub = ceil(regionPUSParams()[18*eta+PUM0]*2);
97  return puSub;
98  }
99 
100  void setRegionLsb(double lsb) { regionLsb_ = lsb; }
102  void setRegionPUSParams(const std::vector<double> & params) { pnode_[regionPUS].dparams_ = params; }
103  void setRegionPUSLUT(const l1t::LUT & lut) { pnode_[regionPUS].LUT_ = lut; }
104 
105  // EG
106  int egEtaCut() const {
107  if (pnode_[egPUS].version_ ==1)
108  return pnode_[egPUS].iparams_[0];
109  else
110  return 0;
111  }
112  double egLsb() const { return egp_.lsb_; }
113  double egSeedThreshold() const { return egp_.seedThreshold_; }
114  double egNeighbourThreshold() const { return egp_.neighbourThreshold_; }
115  double egHcalThreshold() const { return egp_.hcalThreshold_; }
116  l1t::LUT* egTrimmingLUT() { return &pnode_[egTrimming].LUT_; }
117  double egMaxHcalEt() const { return egp_.maxHcalEt_; }
118  double egMaxPtHOverE() const {return egp_.maxPtHOverE_;}
121  l1t::LUT* egShapeIdLUT() { return &pnode_[egShapeId].LUT_; }
126  unsigned egBypassEGVetos() { return pnode_[egBypassEGVetosFlag].uparams_[0]; }
127  int egHOverEcutBarrel() const {return pnode_[egHOverEBarrel].iparams_[0]; }
128  int egHOverEcutEndcap() const {return pnode_[egHOverEEndcap].iparams_[0]; }
129 
133  const std::string & egPUSType() const { return pnode_[egPUS].type_; }
134  const std::vector<double> & egPUSParams() const { return pnode_[egPUS].dparams_; }
135  double egPUSParam(int ipar) const { return pnode_[egPUS].dparams_.at(ipar); }
136 
137  std::string egIsolationType() const { return pnode_[egIsolation].type_; }
140  std::vector<double> egCalibrationParams() { return pnode_[egCalibration].dparams_; }
142 
143  void setEgEtaCut(int mask) {
144  pnode_[egPUS].iparams_.resize(1);
145  pnode_[egPUS].iparams_[0] = mask;
146  }
147  void setEgLsb(double lsb) { egp_.lsb_ = lsb; }
151  void setEgTrimmingLUT(const l1t::LUT & lut) { pnode_[egTrimming].LUT_ = lut; }
152  void setEgMaxHcalEt(double cut) { egp_.maxHcalEt_ = cut; }
154  void setEgMaxHOverELUT(const l1t::LUT & lut) { pnode_[egMaxHOverE].LUT_ = lut; }
156  void setEgShapeIdLUT(const l1t::LUT & lut) { pnode_[egShapeId].LUT_ = lut; }
157  void setEgMinPtJetIsolation(int cutValue) { egp_.minPtJetIsolation_ = cutValue; }
158  void setEgMaxPtJetIsolation(int cutValue) { egp_.maxPtJetIsolation_ = cutValue; }
159  void setEgMinPtHOverEIsolation(int cutValue) { egp_.minPtHOverEIsolation_ = cutValue; }
160  void setEgMaxPtHOverEIsolation(int cutValue) { egp_.maxPtHOverEIsolation_ = cutValue; }
161  void setEgBypassEGVetos(unsigned flag) {
162  pnode_[egBypassEGVetosFlag].uparams_.resize(1);
163  pnode_[egBypassEGVetosFlag].uparams_[0] = flag;
164  }
166  pnode_[egHOverEBarrel].iparams_.resize(1);
167  pnode_[egHOverEBarrel].iparams_[0] = cut;
168  }
170  pnode_[egHOverEEndcap].iparams_.resize(1);
171  pnode_[egHOverEEndcap].iparams_[0] = cut;
172  }
173 
174  void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta){egp_.isoAreaNrTowersEta_=iEgIsoAreaNrTowersEta;}
175  void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi){egp_.isoAreaNrTowersPhi_=iEgIsoAreaNrTowersPhi;}
176  void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi){egp_.isoVetoNrTowersPhi_=iEgIsoVetoNrTowersPhi;}
178  void setEgPUSParams(const std::vector<double> & params) { pnode_[egPUS].dparams_ = params; }
180  void setEgIsolationLUT(const l1t::LUT & lut) { pnode_[egIsolation].LUT_ = lut; }
182  void setEgCalibrationParams(std::vector<double> params) { pnode_[egCalibration].dparams_ = params; }
184 
185  // - recently imported:
186  std::string egShapeIdType() const { return pnode_[egShapeId].type_; }
188  unsigned egShapeIdVersion() const { return pnode_[egShapeId].version_; }
189  void setEgShapeIdVersion(unsigned version) { pnode_[egShapeId].version_ = version; }
190  unsigned egCalibrationVersion() const { return pnode_[egCalibration].version_; }
192 
193  // tau
194  int tauRegionMask() const {
195  if (pnode_[tauPUS].version_ ==1)
196  return pnode_[tauPUS].iparams_[0];
197  else
198  return 0;
199  }
200  double tauLsb() const { return taup_.lsb_; }
201  double tauSeedThreshold() const { return taup_.seedThreshold_; }
203  double tauMaxPtTauVeto() const { return taup_.maxPtTauVeto_;}
205  double tauMaxJetIsolationB() const { return taup_.maxJetIsolationB_; }
206  double tauMaxJetIsolationA() const { return taup_.maxJetIsolationA_; }
207  int isoTauEtaMin() const { return taup_.isoEtaMin_; }
208  int isoTauEtaMax() const { return taup_.isoEtaMax_; }
209  std::string tauPUSType() const { return pnode_[tauPUS].type_; }
210  const std::vector<double> & tauPUSParams() const { return pnode_[tauPUS].dparams_; }
211  double tauPUSParam(int ipar) const { return pnode_[tauPUS].dparams_.at(ipar); }
212 
215 
217  std::vector<double> tauCalibrationParams() { return pnode_[tauCalibration].dparams_; }
220 
222 
226 
227  void setTauRegionMask(int mask) {
228  pnode_[tauPUS].iparams_.resize(1);
229  pnode_[tauPUS].iparams_[0] = mask;
230  }
231  void setTauLsb(double lsb) { taup_.lsb_ = lsb; }
237  void setTauMaxJetIsolationA(double cutValue) { taup_.maxJetIsolationA_ = cutValue; }
243 
245  void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta){taup_.isoAreaNrTowersEta_=iTauIsoAreaNrTowersEta;}
246  void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi){taup_.isoAreaNrTowersPhi_=iTauIsoAreaNrTowersPhi;}
247  void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi){taup_.isoVetoNrTowersPhi_=iTauIsoVetoNrTowersPhi;}
248 
249  void setTauCalibrationParams(std::vector<double> params) { pnode_[tauCalibration].dparams_ = params; }
251  void setTauCompressLUT(const l1t::LUT & lut) { pnode_[tauCompress].LUT_ = lut; }
252  void setTauPUSParams(const std::vector<double> & params) { pnode_[tauPUS].dparams_ = params; }
253 
255 
256  // jets
257  double jetLsb() const { return jetp_.lsb_; }
258  double jetSeedThreshold() const { return jetp_.seedThreshold_; }
260  int jetRegionMask() const {
261  if (pnode_[jetPUS].version_ ==1)
262  return pnode_[jetPUS].iparams_[0];
263  else
264  return 0;
265  }
266 
267  unsigned jetBypassPUS() const { return pnode_[jetBypassPUSFlag].uparams_[0]; }
268 
269  std::string jetPUSType() const { return pnode_[jetPUS].type_; }
270  std::vector<double> jetPUSParams() { return pnode_[jetPUS].dparams_; }
272  std::vector<double> jetCalibrationParams() { return pnode_[jetCalibration].dparams_; }
274 
277 
278  void setJetLsb(double lsb) { jetp_.lsb_ = lsb; }
281  void setJetRegionMask(int mask) {
282  pnode_[jetPUS].iparams_.resize(1);
283  pnode_[jetPUS].iparams_[0] = mask;
284  }
286  void setJetPUSParams(std::vector<double> params) { pnode_[jetPUS].dparams_ = params; }
288  void setJetCalibrationParams(std::vector<double> params) { pnode_[jetCalibration].dparams_ = params; }
292  void setJetBypassPUS(unsigned flag) {
293  pnode_[jetBypassPUSFlag].uparams_.resize(1);
294  pnode_[jetBypassPUSFlag].uparams_[0] = flag;
295  }
296 
297  // sums
298 
299  double etSumLsb() const { return etSumLsb_; }
300  int etSumEtaMin(unsigned isum) const;
301  int etSumEtaMax(unsigned isum) const;
302  double etSumEtThreshold(unsigned isum) const;
303 
304  l1t::LUT* etSumXPUSLUT() { return &pnode_[etSumXPUS].LUT_; }
305  l1t::LUT* etSumYPUSLUT() { return &pnode_[etSumYPUS].LUT_; }
308 
309  void setEtSumLsb(double lsb) { etSumLsb_ = lsb; }
310  void setEtSumEtaMin(unsigned isum, int eta);
311  void setEtSumEtaMax(unsigned isum, int eta);
312  void setEtSumEtThreshold(unsigned isum, double thresh);
313 
314  void setEtSumXPUSLUT(const l1t::LUT & lut) { pnode_[etSumXPUS].LUT_ = lut; }
315  void setEtSumYPUSLUT(const l1t::LUT & lut) { pnode_[etSumYPUS].LUT_ = lut; }
316  void setEtSumEttPUSLUT(const l1t::LUT & lut) { pnode_[etSumEttPUS].LUT_ = lut; }
318 
319 
320  // HI centrality
321  int centralityRegionMask() const {
322  if(pnode_[hiCentrality].version_ == 1)
323  return pnode_[hiCentrality].iparams_[0] ;
324  else
325  return 0;
326  }
327  std::vector<int> minimumBiasThresholds() const {
328  if(pnode_[hiCentrality].version_ == 1 && pnode_[hiCentrality].iparams_.size()==5) {
329  std::vector<int> newVec;
330  for(int i = 0; i<4; i++) {
331  newVec.push_back(pnode_[hiCentrality].iparams_.at(i+1));
332  }
333  return newVec;
334  } else {
335  std::vector<int> newVec;
336  return newVec;
337  }
338  }
339  l1t::LUT * centralityLUT() { return &pnode_[hiCentrality].LUT_; }
340  void setCentralityRegionMask(int mask) {
341  pnode_[hiCentrality].iparams_.resize(5);
342  pnode_[hiCentrality].iparams_[0] = mask;
343  }
344  void setMinimumBiasThresholds(std::vector<int> thresholds) {
345  pnode_[hiCentrality].iparams_.resize(5);
346  for(int i = 0; i<4; i++) {
347  pnode_[hiCentrality].iparams_[i+1] = thresholds.at(i);
348  }
349  }
350  void setCentralityLUT(const l1t::LUT & lut) { pnode_[hiCentrality].LUT_ = lut; }
351 
352  // HI Q2
353  l1t::LUT * q2LUT() { return &pnode_[hiQ2].LUT_; }
354  void setQ2LUT(const l1t::LUT & lut) { pnode_[hiQ2].LUT_ = lut; }
355 
356  // HI parameters
357 
358  // Layer 1 LUT specification
359  std::vector<double> layer1ECalScaleFactors() { return pnode_[layer1ECal].dparams_; }
360  std::vector<double> layer1HCalScaleFactors() { return pnode_[layer1HCal].dparams_; }
361  std::vector<double> layer1HFScaleFactors() { return pnode_[layer1HF ].dparams_; }
362  std::vector<int> layer1ECalScaleETBins() { return pnode_[layer1ECal].iparams_; }
363  std::vector<int> layer1HCalScaleETBins() { return pnode_[layer1HCal].iparams_; }
364  std::vector<int> layer1HFScaleETBins() { return pnode_[layer1HF ].iparams_; }
365  void setLayer1ECalScaleFactors(const std::vector<double> params) { pnode_[layer1ECal].dparams_ = params; }
366  void setLayer1HCalScaleFactors(const std::vector<double> params) { pnode_[layer1HCal].dparams_ = params; }
367  void setLayer1HFScaleFactors(const std::vector<double> params) { pnode_[layer1HF ].dparams_ = params; }
368  void setLayer1ECalScaleETBins(const std::vector<int> params) { pnode_[layer1ECal].iparams_ = params; }
369  void setLayer1HCalScaleETBins(const std::vector<int> params) { pnode_[layer1HCal].iparams_ = params; }
370  void setLayer1HFScaleETBins(const std::vector<int> params) { pnode_[layer1HF ].iparams_ = params; }
371 
372 
373  private:
378  friend std::ostream & operator<<(std::ostream &os, const CaloParamsHelper& h);
379  };
380 
381  std::ostream & operator<<(std::ostream &os, const l1t::CaloParamsHelper& p);
382 
383 }
384 
385 
386 
387 #endif
388 
void setEtSumEtaMax(unsigned isum, int eta)
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()
int i
Definition: DBlmapReader.cc:9
void setTauMaxJetIsolationA(double cutValue)
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 setEgNeighbourThreshold(double thresh)
void setEgMinPtHOverEIsolation(int cutValue)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
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)
void setJetCalibrationLUT(const l1t::LUT &lut)
void setTauNeighbourThreshold(double thresh)
void setEgMaxPtJetIsolation(int cutValue)
double tauNeighbourThreshold() const
double etSumLsb() const
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 setEtSumXPUSLUT(const l1t::LUT &lut)
void setCentralityRegionMask(int mask)
TowerParams towerp_
Definition: CaloParams.h:209
double isum
std::vector< int > layer1HCalScaleETBins()
void setJetCompressEtaLUT(const l1t::LUT &lut)
unsigned tauIsoAreaNrTowersEta() const
int etSumEtaMax(unsigned isum) const
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 setEgShapeIdLUT(const l1t::LUT &lut)
L1CaloEtScale HtMissScale_
double regionLsb_
Definition: CaloParams.h:212
void setHtMissScale(L1CaloEtScale HtMissScale)
void setEtSumEttPUSLUT(const l1t::LUT &lut)
void setJetCompressPtLUT(const l1t::LUT &lut)
std::vector< double > layer1ECalScaleFactors()
void setEgHOverEcutBarrel(int cut)
l1t::LUT * egCompressShapesLUT()
double egSeedThreshold() const
void setEtSumEtaMin(unsigned isum, int eta)
l1t::LUT * tauIsolationLUT2()
void setTauMaxPtTauVeto(double limit)
void setRegionLsb(double lsb)
std::string jetCalibrationType() const
void setJetCalibrationType(std::string type)
std::string egCalibrationType() const
unsigned egIsoVetoNrTowersPhi() const
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)
double jetLsb() const
void setTauCompressLUT(const l1t::LUT &lut)
std::vector< double > tauCalibrationParams()
l1t::LUT * tauEtToHFRingEtLUT()
double tauLsb() const
void setLayer1HFScaleETBins(const std::vector< int > params)
void setEtSumEtThreshold(unsigned isum, double thresh)
int egMaxPtJetIsolation() const
void setTauPUSType(std::string type)
std::string tauPUSType() const
void setEgPUSType(std::string type)
tuple lut
Definition: lumiPlot.py:244
void setLayer1ECalScaleETBins(const std::vector< int > params)
double regionLsb() const
std::vector< double > egCalibrationParams()
void setTauSeedThreshold(double thresh)
void setTowerEncoding(bool doit)
l1t::LUT * jetCompressPtLUT()
void setTauMaxJetIsolationB(double limit)
void setTauCalibrationType(std::string type)
double egHcalThreshold() 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
std::ostream & operator<<(std::ostream &os, const l1t::CaloParamsHelper &p)
std::string regionPUSType() const
Definition: LUT.h:29
TauParams taup_
Definition: CaloParams.h:215
double jetNeighbourThreshold() const
void setJetLsb(double lsb)
double egMaxPtHOverE() const
L1CaloEtScale HfRingScale_
void setTauPUSParams(const std::vector< double > &params)
void setQ2LUT(const l1t::LUT &lut)
void setLayer1HCalScaleFactors(const std::vector< double > params)
double tauPUSParam(int ipar) const
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
void setEgMaxPtHOverE(double thresh)
void setEgTrimmingLUT(const l1t::LUT &lut)
void setEmScale(L1CaloEtScale emScale)
double towerLsbSum() const
void setRegionPUSParams(const std::vector< double > &params)
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)
double towerLsbE() const
void setEgSeedThreshold(double thresh)
void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi)
void setLayer1ECalScaleFactors(const std::vector< double > params)
void setJetPUSType(std::string type)
void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi)
void setEtSumLsb(double lsb)
L1CaloEtScale HfRingScale()
void setEtSumYPUSLUT(const l1t::LUT &lut)
std::vector< double > layer1HFScaleFactors()
double jetSeedThreshold() const
L1CaloEtScale HtMissScale()
void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta)
l1t::LUT * tauIsolationLUT()
void setEgShapeIdType(std::string type)
L1CaloEtScale emScale()
void setIsoTauEtaMin(int value)
void setTowerLsbSum(double lsb)
l1t::LUT * jetCompressEtaLUT()
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)
double tauMaxJetIsolationA() const
void setTowerNBitsRatio(int n)
void setEgIsolationType(std::string type)
double towerLsbH() const