CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloParams.h
Go to the documentation of this file.
1 
12 #ifndef CaloParams_h
13 #define CaloParams_h
14 
15 #include <memory>
16 #include <iostream>
17 #include <vector>
18 #include <cmath>
19 
22 
23 namespace l1t {
24 
25 
26  class CaloParams {
27 
28  public:
29 
30  enum { Version = 1 };
31 
32  class Node {
33  public:
35  unsigned version_;
37  std::vector<double> dparams_;
38  std::vector<unsigned> uparams_;
39  std::vector<int> iparams_;
40  std::vector<std::string> sparams_;
41  Node(){ type_="unspecified"; version_=0; }
43  };
44 
45  class TowerParams{
46  public:
47  /* Towers */
48 
49  // LSB of HCAL scale
50  double lsbH_;
51 
52  // LSB of ECAL scale
53  double lsbE_;
54 
55  // LSB of ECAL+HCAL sum scale
56  double lsbSum_;
57 
58  // number of bits for HCAL encoding
59  int nBitsH_;
60 
61  // number of bits for ECAL encoding
62  int nBitsE_;
63 
64  // number of bits for ECAL+HCAL sum encoding
65  int nBitsSum_;
66 
67  // number of bits for ECAL/HCAL ratio encoding
69 
70  // bitmask for storing HCAL Et in object
71  int maskH_;
72 
73  // bitmask for storing ECAL ET in object
74  int maskE_;
75 
76  // bitmask for storing ECAL+HCAL sum in object
77  int maskSum_;
78 
79  // bitmask for storing ECAL/HCAL ratio in object
81 
82  // turn encoding on/off
84 
86  };
87 
88  class EgParams {
89  public:
90  // EG LSB
91  double lsb_;
92 
93  // Et threshold on EG seed tower
95 
96  // Et threshold on EG neighbour tower(s)
98 
99  // Et threshold on HCAL for H/E computation
101 
102  // EG maximum value of HCAL Et
103  double maxHcalEt_;
104 
105  // Et threshold to remove the H/E cut from the EGammas
106  double maxPtHOverE_;
107 
108  // Range of jet isolation for EG (in rank!) (Stage1Layer2)
111 
112  // Range of 3x3 HoE isolation for EG (in rank!) (Stage1Layer2)
115 
116  // isolation area in eta is seed tower +/- <=egIsoAreaNrTowersPhi
118 
119  // isolation area in phi is seed tower +/- <=egIsoAreaNrTowersPhi
121 
122  // veto region is seed tower +/- <=egIsoVetoNrTowersPhi
124 
126  };
127 
128 
129  class TauParams {
130  public:
131  // Tau LSB
132  double lsb_;
133 
134  // Et threshold on tau seed tower
136 
137  // Et threshold on tau neighbour towers
139 
140  // Et limit when to switch off tau veto requirement
142 
143  // Et limit when to switch off tau isolation requirement
145 
146  // Et jet isolation limit for Taus (Stage1Layer2)
148 
149  // Relative jet isolation cut for Taus (Stage1Layer2)
151 
152  // Eta min and max for Iso-Tau collections (Stage1Layer2)
155 
156  // isolation area in eta is seed tower +/- <=tauIsoAreaNrTowersEta
158 
159  // isolation area in phi is seed tower +/- <=tauIsoAreaNrTowersPhi
161 
162  // veto region is seed tower +/- <=tauIsoVetoNrTowersPhi
164 
166  };
167 
168  class JetParams {
169  public:
170  // Jet LSB
171  double lsb_;
172 
173  // Et threshold on jet seed tower/region
175 
176  // Et threshold on neighbouring towers/regions
178 
180  };
181 
182 
183  // DO NOT ADD ENTRIES ANYWHERE BUT DIRECTLY BEFORE "NUM_CALOPARAMNODES"
184  enum { regionPUS=0,
190  };
191 
194 
195  // towers
196  double towerLsbH() const { return towerp_.lsbH_; }
197  double towerLsbE() const { return towerp_.lsbE_; }
198  double towerLsbSum() const { return towerp_.lsbSum_; }
199  int towerNBitsH() const { return towerp_.nBitsH_; }
200  int towerNBitsE() const { return towerp_.nBitsE_; }
201  int towerNBitsSum() const { return towerp_.nBitsSum_; }
202  int towerNBitsRatio() const { return towerp_.nBitsRatio_; }
203  int towerMaskE() const { return towerp_.maskE_; }
204  int towerMaskH() const { return towerp_.maskH_; }
205  int towerMaskSum() const { return towerp_.maskSum_; }
206  int towerMaskRatio() const { return towerp_.maskRatio_; }
207  bool doTowerEncoding() const { return towerp_.doEncoding_; }
208 
209  void setTowerLsbH(double lsb) { towerp_.lsbH_ = lsb; }
210  void setTowerLsbE(double lsb) { towerp_.lsbE_ = lsb; }
211  void setTowerLsbSum(double lsb) { towerp_.lsbSum_ = lsb; }
212  void setTowerNBitsH(int n) { towerp_.nBitsH_ = n; towerp_.maskH_ = std::pow(2,n)-1; }
213  void setTowerNBitsE(int n) { towerp_.nBitsE_ = n; towerp_.maskE_ = std::pow(2,n)-1; }
216  void setTowerEncoding(bool doit) { towerp_.doEncoding_ = doit; }
217 
218 
219  // regions
220  double regionLsb() const { return regionLsb_; }
221  std::string regionPUSType() const { return pnode_[regionPUS].type_; }
222  std::vector<double> regionPUSParams() { return pnode_[regionPUS].dparams_; }
223 
224  void setRegionLsb(double lsb) { regionLsb_ = lsb; }
226  void setRegionPUSParams(const std::vector<double> & params) { pnode_[regionPUS].dparams_ = params; }
227 
228  // EG
229  double egLsb() const { return egp_.lsb_; }
230  double egSeedThreshold() const { return egp_.seedThreshold_; }
231  double egNeighbourThreshold() const { return egp_.neighbourThreshold_; }
232  double egHcalThreshold() const { return egp_.hcalThreshold_; }
233  l1t::LUT* egTrimmingLUT() { return &pnode_[egTrimming].LUT_; }
234  double egMaxHcalEt() const { return egp_.maxHcalEt_; }
235  double egMaxPtHOverE() const {return egp_.maxPtHOverE_;}
238  l1t::LUT* egShapeIdLUT() { return &pnode_[egShapeId].LUT_; }
243 
247  const std::string & egPUSType() const { return pnode_[egPUS].type_; }
248  const std::vector<double> & egPUSParams() const { return pnode_[egPUS].dparams_; }
249  double egPUSParam(int ipar) const { return pnode_[egPUS].dparams_.at(ipar); }
250 
251 
252 
255  std::vector<double> egCalibrationParams() { return pnode_[egCalibration].dparams_; }
257 
258  void setEgLsb(double lsb) { egp_.lsb_ = lsb; }
262  void setEgTrimmingLUT(const l1t::LUT & lut) { pnode_[egTrimming].LUT_ = lut; }
263  void setEgMaxHcalEt(double cut) { egp_.maxHcalEt_ = cut; }
265  void setEgMaxHOverELUT(const l1t::LUT & lut) { pnode_[egMaxHOverE].LUT_ = lut; }
267  void setEgShapeIdLUT(const l1t::LUT & lut) { pnode_[egShapeId].LUT_ = lut; }
268  void setEgMinPtJetIsolation(int cutValue) { egp_.minPtJetIsolation_ = cutValue; }
269  void setEgMaxPtJetIsolation(int cutValue) { egp_.maxPtJetIsolation_ = cutValue; }
270  void setEgMinPtHOverEIsolation(int cutValue) { egp_.minPtHOverEIsolation_ = cutValue; }
271  void setEgMaxPtHOverEIsolation(int cutValue) { egp_.maxPtHOverEIsolation_ = cutValue; }
272 
273  void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta){egp_.isoAreaNrTowersEta_=iEgIsoAreaNrTowersEta;}
274  void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi){egp_.isoAreaNrTowersPhi_=iEgIsoAreaNrTowersPhi;}
275  void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi){egp_.isoVetoNrTowersPhi_=iEgIsoVetoNrTowersPhi;}
277  void setEgPUSParams(const std::vector<double> & params) { pnode_[egPUS].dparams_ = params; }
278  void setEgIsolationLUT(const l1t::LUT & lut) { pnode_[egIsolation].LUT_ = lut; }
280  void setEgCalibrationParams(std::vector<double> params) { pnode_[egCalibration].dparams_ = params; }
282 
283  // tau
284  double tauLsb() const { return taup_.lsb_; }
285  double tauSeedThreshold() const { return taup_.seedThreshold_; }
287  double tauMaxPtTauVeto() const { return taup_.maxPtTauVeto_;}
289  double tauMaxJetIsolationB() const { return taup_.maxJetIsolationB_; }
290  double tauMaxJetIsolationA() const { return taup_.maxJetIsolationA_; }
291  int isoTauEtaMin() const { return taup_.isoEtaMin_; }
292  int isoTauEtaMax() const { return taup_.isoEtaMax_; }
293  std::string tauPUSType() const { return pnode_[tauPUS].type_; }
294  const std::vector<double> & tauPUSParams() const { return pnode_[tauPUS].dparams_; }
295  double tauPUSParam(int ipar) const { return pnode_[tauPUS].dparams_.at(ipar); }
296 
298 
300  std::vector<double> tauCalibrationParams() { return pnode_[tauCalibration].dparams_; }
302 
306 
307 
308  void setTauLsb(double lsb) { taup_.lsb_ = lsb; }
314  void setTauMaxJetIsolationA(double cutValue) { taup_.maxJetIsolationA_ = cutValue; }
319 
321  void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta){taup_.isoAreaNrTowersEta_=iTauIsoAreaNrTowersEta;}
322  void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi){taup_.isoAreaNrTowersPhi_=iTauIsoAreaNrTowersPhi;}
323  void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi){taup_.isoVetoNrTowersPhi_=iTauIsoVetoNrTowersPhi;}
324 
325  void setTauCalibrationParams(std::vector<double> params) { pnode_[tauCalibration].dparams_ = params; }
327  void setTauPUSParams(const std::vector<double> & params) { pnode_[tauPUS].dparams_ = params; }
328 
329  // jets
330  double jetLsb() const { return jetp_.lsb_; }
331  double jetSeedThreshold() const { return jetp_.seedThreshold_; }
333  std::string jetPUSType() const { return pnode_[jetPUS].type_; }
334  std::vector<double> jetPUSParams() { return pnode_[jetPUS].dparams_; }
336  std::vector<double> jetCalibrationParams() { return pnode_[jetCalibration].dparams_; }
337 
338  void setJetLsb(double lsb) { jetp_.lsb_ = lsb; }
342  void setJetPUSParams(std::vector<double> params) { pnode_[jetPUS].dparams_ = params; }
344  void setJetCalibrationParams(std::vector<double> params) { pnode_[jetCalibration].dparams_ = params; }
345 
346 
347  // sums
348  double etSumLsb() const { return etSumLsb_; }
349  int etSumEtaMin(unsigned isum) const;
350  int etSumEtaMax(unsigned isum) const;
351  double etSumEtThreshold(unsigned isum) const;
352 
353  void setEtSumLsb(double lsb) { etSumLsb_ = lsb; }
354  void setEtSumEtaMin(unsigned isum, int eta);
355  void setEtSumEtaMax(unsigned isum, int eta);
356  void setEtSumEtThreshold(unsigned isum, double thresh);
357 
358  // HI centrality
359  l1t::LUT * centralityLUT() { return &pnode_[hiCentrality].LUT_; }
360  void setCentralityLUT(const l1t::LUT & lut) { pnode_[hiCentrality].LUT_ = lut; }
361 
362  // HI Q2
363  l1t::LUT * q2LUT() { return &pnode_[hiQ2].LUT_; }
364  void setQ2LUT(const l1t::LUT & lut) { pnode_[hiQ2].LUT_ = lut; }
365 
366  // print parameters to stream:
367  void print(std::ostream&) const;
368  friend std::ostream& operator<<(std::ostream& o, const CaloParams & p) { p.print(o); return o; }
369 
370 
371  private:
372  unsigned version_;
373 
374  std::vector<Node> pnode_;
375 
377 
378  // Region LSB
379  double regionLsb_;
380 
384 
385  /* Sums */
386 
387  // EtSum LSB
388  double etSumLsb_;
389 
390  // minimum eta for EtSums (index is particular EtSum. ETT=1, HTT=2, MET=3, MHT=4, other values reserved).
391  std::vector<int> etSumEtaMin_;
392 
393  // maximum eta for EtSums (index is particular EtSum. ETT=1, HTT=2, MET=3, MHT=4, other values reserved).
394  std::vector<int> etSumEtaMax_;
395 
396  // minimum eta for EtSums (index is particular EtSum. ETT=1, HTT=2, MET=3, MHT=4, other values reserved).
397  std::vector<double> etSumEtThreshold_;
398 
399 
401  };
402 
403 }// namespace
404 #endif
void setEgCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParams.h:281
type
Definition: HCALResponse.h:21
double towerLsbH() const
Definition: CaloParams.h:196
unsigned egIsoAreaNrTowersEta() const
Definition: CaloParams.h:244
void setEgMinPtHOverEIsolation(int cutValue)
Definition: CaloParams.h:270
unsigned tauIsoAreaNrTowersEta() const
Definition: CaloParams.h:303
std::string type_
Definition: CaloParams.h:34
double towerLsbSum() const
Definition: CaloParams.h:198
int towerNBitsRatio() const
Definition: CaloParams.h:202
unsigned tauIsoAreaNrTowersPhi() const
Definition: CaloParams.h:304
void setTauIsolationLUT(const l1t::LUT &lut)
Definition: CaloParams.h:318
int isoTauEtaMax() const
Definition: CaloParams.h:292
void setTowerNBitsH(int n)
Definition: CaloParams.h:212
double jetNeighbourThreshold() const
Definition: CaloParams.h:332
void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta)
Definition: CaloParams.h:321
void setIsoTauEtaMin(int value)
Definition: CaloParams.h:315
void setTowerLsbE(double lsb)
Definition: CaloParams.h:210
EgParams egp_
Definition: CaloParams.h:381
void setTauCalibrationType(std::string type)
Definition: CaloParams.h:320
void setEgMaxPtJetIsolation(int cutValue)
Definition: CaloParams.h:269
double egLsb() const
Definition: CaloParams.h:229
void setEgPUSParams(const std::vector< double > &params)
Definition: CaloParams.h:277
void setQ2LUT(const l1t::LUT &lut)
Definition: CaloParams.h:364
void setRegionPUSParams(const std::vector< double > &params)
Definition: CaloParams.h:226
std::vector< double > etSumEtThreshold_
Definition: CaloParams.h:397
double egMaxPtHOverE() const
Definition: CaloParams.h:235
double towerLsbE() const
Definition: CaloParams.h:197
void setEgHcalThreshold(double thresh)
Definition: CaloParams.h:261
void setJetCalibrationParams(std::vector< double > params)
Definition: CaloParams.h:344
double regionLsb() const
Definition: CaloParams.h:220
int towerMaskSum() const
Definition: CaloParams.h:205
int egMinPtHOverEIsolation() const
Definition: CaloParams.h:241
std::string egCalibrationType() const
Definition: CaloParams.h:254
void setEgMaxPtHOverE(double thresh)
Definition: CaloParams.h:264
int egMaxPtJetIsolation() const
Definition: CaloParams.h:240
l1t::LUT * egCompressShapesLUT()
Definition: CaloParams.h:237
int towerMaskH() const
Definition: CaloParams.h:204
std::vector< Node > pnode_
Definition: CaloParams.h:374
double tauSeedThreshold() const
Definition: CaloParams.h:285
bool doTowerEncoding() const
Definition: CaloParams.h:207
int egMinPtJetIsolation() const
Definition: CaloParams.h:239
l1t::LUT * egMaxHOverELUT()
Definition: CaloParams.h:236
l1t::LUT * egShapeIdLUT()
Definition: CaloParams.h:238
void setIsoTauEtaMax(int value)
Definition: CaloParams.h:316
void setEgShapeIdLUT(const l1t::LUT &lut)
Definition: CaloParams.h:267
TowerParams towerp_
Definition: CaloParams.h:376
void setJetPUSParams(std::vector< double > params)
Definition: CaloParams.h:342
double tauNeighbourThreshold() const
Definition: CaloParams.h:286
double isum
void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi)
Definition: CaloParams.h:275
T eta() const
void setTauMaxPtTauVeto(double limit)
Definition: CaloParams.h:311
void setJetSeedThreshold(double thresh)
Definition: CaloParams.h:339
l1t::LUT * q2LUT()
Definition: CaloParams.h:363
double regionLsb_
Definition: CaloParams.h:379
void setEtSumEtThreshold(unsigned isum, double thresh)
Definition: CaloParams.cc:30
std::vector< double > tauCalibrationParams()
Definition: CaloParams.h:300
double jetLsb() const
Definition: CaloParams.h:330
void setEgLsb(double lsb)
Definition: CaloParams.h:258
int isoTauEtaMin() const
Definition: CaloParams.h:291
std::vector< double > dparams_
Definition: CaloParams.h:37
std::vector< int > etSumEtaMin_
Definition: CaloParams.h:391
double egPUSParam(int ipar) const
Definition: CaloParams.h:249
void setEgPUSType(std::string type)
Definition: CaloParams.h:276
std::vector< double > regionPUSParams()
Definition: CaloParams.h:222
std::vector< double > jetCalibrationParams()
Definition: CaloParams.h:336
void setEgNeighbourThreshold(double thresh)
Definition: CaloParams.h:260
void setEgTrimmingLUT(const l1t::LUT &lut)
Definition: CaloParams.h:262
std::vector< std::string > sparams_
Definition: CaloParams.h:40
void setEgIsolationLUT(const l1t::LUT &lut)
Definition: CaloParams.h:278
JetParams jetp_
Definition: CaloParams.h:383
void print(std::ostream &) const
Definition: CaloParams.cc:35
void setTauPUSType(std::string type)
Definition: CaloParams.h:317
void setTauCalibrationParams(std::vector< double > params)
Definition: CaloParams.h:325
void setTowerLsbSum(double lsb)
Definition: CaloParams.h:211
double tauMaxJetIsolationB() const
Definition: CaloParams.h:289
void setTauCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParams.h:326
double egHcalThreshold() const
Definition: CaloParams.h:232
l1t::LUT * tauIsolationLUT()
Definition: CaloParams.h:297
std::vector< int > etSumEtaMax_
Definition: CaloParams.h:394
l1t::LUT * tauCalibrationLUT()
Definition: CaloParams.h:301
unsigned tauIsoVetoNrTowersPhi() const
Definition: CaloParams.h:305
double etSumLsb() const
Definition: CaloParams.h:348
double egMaxHcalEt() const
Definition: CaloParams.h:234
void setTauSeedThreshold(double thresh)
Definition: CaloParams.h:309
int etSumEtaMax(unsigned isum) const
Definition: CaloParams.cc:10
tuple lut
Definition: lumiPlot.py:244
const std::string & egPUSType() const
Definition: CaloParams.h:247
int etSumEtaMin(unsigned isum) const
Definition: CaloParams.cc:5
int towerNBitsE() const
Definition: CaloParams.h:200
void setRegionPUSType(std::string type)
Definition: CaloParams.h:225
std::vector< double > jetPUSParams()
Definition: CaloParams.h:334
void setEgCompressShapesLUT(const l1t::LUT &lut)
Definition: CaloParams.h:266
unsigned version_
Definition: CaloParams.h:372
void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi)
Definition: CaloParams.h:323
std::vector< unsigned > uparams_
Definition: CaloParams.h:38
Definition: LUT.h:29
TauParams taup_
Definition: CaloParams.h:382
void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi)
Definition: CaloParams.h:322
void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta)
Definition: CaloParams.h:273
double jetSeedThreshold() const
Definition: CaloParams.h:331
void setTowerNBitsSum(int n)
Definition: CaloParams.h:214
void setTauMaxJetIsolationA(double cutValue)
Definition: CaloParams.h:314
void setTauMaxJetIsolationB(double limit)
Definition: CaloParams.h:313
void setTauMinPtJetIsolationB(double limit)
Definition: CaloParams.h:312
double tauMaxPtTauVeto() const
Definition: CaloParams.h:287
l1t::LUT * egTrimmingLUT()
Definition: CaloParams.h:233
std::string tauCalibrationType() const
Definition: CaloParams.h:299
int towerMaskRatio() const
Definition: CaloParams.h:206
void setTowerLsbH(double lsb)
Definition: CaloParams.h:209
void setEgMaxHcalEt(double cut)
Definition: CaloParams.h:263
double etSumLsb_
Definition: CaloParams.h:388
#define COND_SERIALIZABLE
Definition: Serializable.h:37
const std::vector< double > & tauPUSParams() const
Definition: CaloParams.h:294
l1t::LUT * centralityLUT()
Definition: CaloParams.h:359
void setEgSeedThreshold(double thresh)
Definition: CaloParams.h:259
double tauMaxJetIsolationA() const
Definition: CaloParams.h:290
void setEtSumEtaMin(unsigned isum, int eta)
Definition: CaloParams.cc:20
void setCentralityLUT(const l1t::LUT &lut)
Definition: CaloParams.h:360
std::vector< int > iparams_
Definition: CaloParams.h:39
void setEgMinPtJetIsolation(int cutValue)
Definition: CaloParams.h:268
unsigned egIsoAreaNrTowersPhi() const
Definition: CaloParams.h:245
void setEtSumEtaMax(unsigned isum, int eta)
Definition: CaloParams.cc:25
std::string regionPUSType() const
Definition: CaloParams.h:221
int towerNBitsSum() const
Definition: CaloParams.h:201
void setTauPUSParams(const std::vector< double > &params)
Definition: CaloParams.h:327
l1t::LUT * egIsolationLUT()
Definition: CaloParams.h:253
void setEtSumLsb(double lsb)
Definition: CaloParams.h:353
void setEgCalibrationType(std::string type)
Definition: CaloParams.h:279
std::string tauPUSType() const
Definition: CaloParams.h:293
void setJetCalibrationType(std::string type)
Definition: CaloParams.h:343
double egSeedThreshold() const
Definition: CaloParams.h:230
double egNeighbourThreshold() const
Definition: CaloParams.h:231
std::vector< double > egCalibrationParams()
Definition: CaloParams.h:255
const std::vector< double > & egPUSParams() const
Definition: CaloParams.h:248
void setTauLsb(double lsb)
Definition: CaloParams.h:308
void setEgMaxHOverELUT(const l1t::LUT &lut)
Definition: CaloParams.h:265
void setJetNeighbourThreshold(double thresh)
Definition: CaloParams.h:340
std::string jetPUSType() const
Definition: CaloParams.h:333
void setJetLsb(double lsb)
Definition: CaloParams.h:338
void setEgCalibrationParams(std::vector< double > params)
Definition: CaloParams.h:280
void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi)
Definition: CaloParams.h:274
int towerMaskE() const
Definition: CaloParams.h:203
double tauMinPtJetIsolationB() const
Definition: CaloParams.h:288
int towerNBitsH() const
Definition: CaloParams.h:199
void setJetPUSType(std::string type)
Definition: CaloParams.h:341
double tauPUSParam(int ipar) const
Definition: CaloParams.h:295
void setEgMaxPtHOverEIsolation(int cutValue)
Definition: CaloParams.h:271
void setTowerNBitsRatio(int n)
Definition: CaloParams.h:215
double tauLsb() const
Definition: CaloParams.h:284
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
l1t::LUT * egCalibrationLUT()
Definition: CaloParams.h:256
friend std::ostream & operator<<(std::ostream &o, const CaloParams &p)
Definition: CaloParams.h:368
void setRegionLsb(double lsb)
Definition: CaloParams.h:224
unsigned egIsoVetoNrTowersPhi() const
Definition: CaloParams.h:246
void setTowerNBitsE(int n)
Definition: CaloParams.h:213
double etSumEtThreshold(unsigned isum) const
Definition: CaloParams.cc:15
void setTowerEncoding(bool doit)
Definition: CaloParams.h:216
void setTauNeighbourThreshold(double thresh)
Definition: CaloParams.h:310
std::string jetCalibrationType() const
Definition: CaloParams.h:335
int egMaxPtHOverEIsolation() const
Definition: CaloParams.h:242