test
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 
16 
17 #include <memory>
18 #include <iostream>
19 #include <vector>
20 #include <cmath>
21 
22 namespace l1t {
23 
24  class CaloParams {
25 
26  public:
27 
29 
31 
32  // towers
33  double towerLsbH() const { return towerLsbH_; }
34  double towerLsbE() const { return towerLsbE_; }
35  double towerLsbSum() const { return towerLsbSum_; }
36  int towerNBitsH() const { return towerNBitsH_; }
37  int towerNBitsE() const { return towerNBitsE_; }
38  int towerNBitsSum() const { return towerNBitsSum_; }
39  int towerNBitsRatio() const { return towerNBitsRatio_; }
40  int towerMaskE() const { return towerMaskE_; }
41  int towerMaskH() const { return towerMaskH_; }
42  int towerMaskSum() const { return towerMaskSum_; }
43  int towerMaskRatio() const { return towerMaskRatio_; }
44  bool doTowerEncoding() const { return towerDoEncoding_; }
45 
46  void setTowerLsbH(double lsb) { towerLsbH_ = lsb; }
47  void setTowerLsbE(double lsb) { towerLsbE_ = lsb; }
48  void setTowerLsbSum(double lsb) { towerLsbSum_ = lsb; }
49  void setTowerNBitsH(int n) { towerNBitsH_ = n; towerMaskH_ = std::pow(2,n)-1; }
50  void setTowerNBitsE(int n) { towerNBitsE_ = n; towerMaskE_ = std::pow(2,n)-1; }
53  void setTowerEncoding(bool doit) { towerDoEncoding_ = doit; }
54 
55 
56  // regions
57  double regionLsb() const { return regionLsb_; }
59  std::vector<double> regionPUSParams() { return regionPUSParams_; }
60 
61  void setRegionLsb(double lsb) { regionLsb_ = lsb; }
63  void setRegionPUSParams(std::vector<double> params) { regionPUSParams_ = params; }
64 
65 
66  // EG
67  double egLsb() const { return egLsb_; }
68  int egSeedThresholdHw() const { return floor(egSeedThreshold_/egLsb_); }
69  double egSeedThreshold() const { return egSeedThreshold_; }
70  int egNeighbourThresholdHw() const { return floor(egNeighbourThreshold_/egLsb_); }
71  double egNeighbourThreshold() const { return egNeighbourThreshold_; }
72  int egMaxHcalEtHw() const { return floor(egMaxHcalEt_/egLsb_); }
73  double egMaxHcalEt() const { return egMaxHcalEt_; }
74  int egEtToRemoveHECutHw() const {return floor(egEtToRemoveHECut_/egLsb_);}
75  double egEtToRemoveHECut() const {return egEtToRemoveHECut_;}
76  double egMaxHOverE() const { return egMaxHOverE_; }
87  std::vector<double> egCalibrationParams() { return egCalibrationParams_; }
88 
89 
90  void setEgLsb(double lsb) { egLsb_ = lsb; }
93  void setEgMaxHcalEt(double cut) { egMaxHcalEt_ = cut; }
95  void setEgMaxHOverE(double cut) { egMaxHOverE_ = cut; }
96  void setEgRelativeJetIsolationCut(double cutValue) { egRelativeJetIsolationCut_ = cutValue; }
97 
98  void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta){egIsoAreaNrTowersEta_=iEgIsoAreaNrTowersEta;}
99  void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi){egIsoAreaNrTowersPhi_=iEgIsoAreaNrTowersPhi;}
100  void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi){egIsoVetoNrTowersPhi_=iEgIsoVetoNrTowersPhi;}
101  void setEgIsoPUEstTowerGranularity(unsigned iEgIsoPUEstTowerGranularity){egIsoPUEstTowerGranularity_=iEgIsoPUEstTowerGranularity;}
102  void setEgIsoMaxEtaAbsForTowerSum(unsigned iEgIsoMaxEtaAbsForTowerSum){egIsoMaxEtaAbsForTowerSum_=iEgIsoMaxEtaAbsForTowerSum;}
103  void setEgIsoMaxEtaAbsForIsoSum(unsigned iEgIsoMaxEtaAbsForIsoSum){egIsoMaxEtaAbsForIsoSum_=iEgIsoMaxEtaAbsForIsoSum;}
105  void setEgIsolationLUT(std::shared_ptr<LUT> lut) { egIsolationLUT_ = lut; }
107  void setEgCalibrationParams(std::vector<double> params) { egCalibrationParams_ = params; }
108 
109 
110  // tau
111  double tauLsb() const { return tauLsb_; }
112  int tauSeedThresholdHw() const { return floor(tauSeedThreshold_/tauLsb_); }
113  double tauSeedThreshold() const { return tauSeedThreshold_; }
120  std::vector<double> tauCalibrationParams() { return tauCalibrationParams_; }
121 
122  void setTauLsb(double lsb) { tauLsb_ = lsb; }
125  void setTauRelativeJetIsolationCut(double cutValue) { tauRelativeJetIsolationCut_ = cutValue; }
127  void setTauIsolationLUT(std::shared_ptr<LUT> lut) { tauIsolationLUT_ = lut; }
129  void setTauCalibrationParams(std::vector<double> params) { tauCalibrationParams_ = params; }
130 
131  // jets
132  double jetLsb() const { return jetLsb_; }
133  int jetSeedThresholdHw() const { return floor(jetSeedThreshold_/jetLsb_); }
134  double jetSeedThreshold() const { return jetSeedThreshold_; }
137  std::string jetPUSType() const { return jetPUSType_; }
138  std::vector<double> jetPUSParams() { return jetPUSParams_; }
140  std::vector<double> jetCalibrationParams() { return jetCalibrationParams_; }
141 
142  void setJetLsb(double lsb) { jetLsb_ = lsb; }
146  void setJetPUSParams(std::vector<double> params) { jetPUSParams_ = params; }
148  void setJetCalibrationParams(std::vector<double> params) { jetCalibrationParams_ = params; }
149 
150 
151  // sums
152  double etSumLsb() const { return etSumLsb_; }
153  int etSumEtaMin(unsigned isum) const;
154  int etSumEtaMax(unsigned isum) const;
155  int etSumEtThresholdHw(unsigned isum) const { return floor(etSumEtThreshold(isum)/etSumLsb_); }
156  double etSumEtThreshold(unsigned isum) const;
157 
158  void setEtSumLsb(double lsb) { etSumLsb_ = lsb; }
159  void setEtSumEtaMin(unsigned isum, int eta);
160  void setEtSumEtaMax(unsigned isum, int eta);
161  void setEtSumEtThreshold(unsigned isum, double thresh);
162 
163  // print parameters to stream:
164  void print(std::ostream&) const;
165  friend std::ostream& operator<<(std::ostream& o, const CaloParams & p) { p.print(o); return o; }
166 
167 
168 
169  // redundant ?
170 
171  bool PUSubtract() const { return PUSubtract_; }
172  std::vector<double> regionSubtraction() const { return regionSubtraction_; }
173  bool applyJetCalibration() const { return applyJetCalibration_; }
174  std::vector<double> jetSF() const { return jetSF_; }
175 
176  void setPUSubtract(bool pusub) { PUSubtract_ = pusub; }
177  void setregionSubtraction(std::vector<double> regsub) { regionSubtraction_ = regsub; }
178  void setapplyJetCalibration(bool jetcalib) { applyJetCalibration_ = jetcalib; }
179  void setjetSF(std::vector<double> jetsf) { jetSF_ = jetsf; }
180  void setRegionETCutForHT(unsigned etcut) { regionETCutForHT_ = etcut; }
181  void setRegionETCutForMET(unsigned etcut) { regionETCutForMET_ = etcut; }
184 
185  void setEmScale(double scale) { emScale_ = scale; }
186  void setJetScale(double scale) { jetScale_ = scale; }
187 
188  unsigned int regionETCutForHT() const { return regionETCutForHT_; }
189  unsigned int regionETCutForMET() const { return regionETCutForMET_; }
190  int minGctEtaForSums() const { return minGctEtaForSums_; }
191  int maxGctEtaForSums() const { return maxGctEtaForSums_; }
192 
193  double emScale() const { return emScale_; }
194  double jetScale() const { return jetScale_; }
195 
196  private:
197 
198  /* Towers */
199 
200  // LSB of HCAL scale
201  double towerLsbH_;
202 
203  // LSB of ECAL scale
204  double towerLsbE_;
205 
206  // LSB of ECAL+HCAL sum scale
207  double towerLsbSum_;
208 
209  // number of bits for HCAL encoding
211 
212  // number of bits for ECAL encoding
214 
215  // number of bits for ECAL+HCAL sum encoding
217 
218  // number of bits for ECAL/HCAL ratio encoding
220 
221  // bitmask for storing HCAL Et in tower object
223 
224  // bitmask for storing ECAL ET in tower object
226 
227  // bitmask for storing ECAL+HCAL sum in tower object
229 
230  // bitmask for storing ECAL/HCAL ratio in tower object
232 
233  // turn encoding on/off
235 
236 
237 
238  /* Regions */
239 
240  // Region LSB
241  double regionLsb_;
242 
243  // PUS scheme
245 
246  // PUS parameters
247  std::vector<double> regionPUSParams_;
248 
249 
250 
251  /* EG */
252 
253  // EG LSB
254  double egLsb_;
255 
256  // Et threshold on EG seed tower
258 
259  // Et threshold on EG neighbour tower(s)
261 
262  // EG maximum value of HCAL Et
263  double egMaxHcalEt_;
264 
265  // Et threshold to remove the H/E cut from the EGammas
267 
268  // EG maximum value of H/E
269  double egMaxHOverE_;
270 
271  // Relative jet isolation cut for EG (Stage1Layer2)
273 
274  // isolation area in eta is seed tower +/- <=egIsoAreaNrTowersPhi
276 
277  // isolation area in phi is seed tower +/- <=egIsoAreaNrTowersPhi
279 
280  // veto region is seed tower +/- <=egIsoVetoNrTowersPhi
282 
283  // for # towers based PU estimator, estimator is #towers/egIsoPUEstTowerGranularity_
285 
286  // eta range over which # towers is estimated
288 
289  // max abs eta for which a tower is included in the isolation sum
291 
292  // EG calibration
294 
295  // EG calibration coefficients
296  std::vector<double> egCalibrationParams_;
297 
298  // EG isolation PUS
300 
301  // EG isolation LUT (indexed by eta, Et ?)
302  std::shared_ptr<l1t::LUT> egIsolationLUT_;
303 
304 
305 
306  /* Tau */
307 
308  // Tau LSB
309  double tauLsb_;
310 
311  // Et threshold on tau seed tower
313 
314  // Et threshold on tau neighbour towers
316 
317  // Relative jet isolation cut for Taus (Stage1Layer2)
319  // Tau isolation PUS
321 
322  // Tau isolation LUT (indexed by eta, Et ?)
323  std::shared_ptr<l1t::LUT> tauIsolationLUT_;
324 
325  // Tau calibration
327 
328  // Tau calibration coefficients
329  std::vector<double> tauCalibrationParams_;
330 
331 
332 
333  /* Jets */
334 
335  // Jet LSB
336  double jetLsb_;
337 
338  // Et threshold on jet seed tower/region
340 
341  // Et threshold on neighbouring towers/regions
343 
344  // jet PUS scheme ("None" means no PU)
346 
347  // jet PU params
348  std::vector<double> jetPUSParams_;
349 
350  // jet calibration scheme ("None" means no JEC)
352 
353  // jet calibration coefficients
354  std::vector<double> jetCalibrationParams_;
355 
356 
357 
358  /* Sums */
359 
360  // EtSum LSB
361  double etSumLsb_;
362 
363  // minimum eta for EtSums (index is particular EtSum. ETT=1, HTT=2, MET=3, MHT=4, other values reserved).
364  std::vector<int> etSumEtaMin_;
365 
366  // maximum eta for EtSums (index is particular EtSum. ETT=1, HTT=2, MET=3, MHT=4, other values reserved).
367  std::vector<int> etSumEtaMax_;
368 
369  // minimum eta for EtSums (index is particular EtSum. ETT=1, HTT=2, MET=3, MHT=4, other values reserved).
370  std::vector<double> etSumEtThreshold_;
371 
372 
373 
374 
375  // probbaly redundant with above parameters ?
377  std::vector<double> regionSubtraction_; //pu subtraction look up table, see region_cfi
379  std::vector<double> jetSF_; // jet correction table, see jet_sfi
380 
381  // these are redundant with etSumEtaMin_, etSumEtaMax_, etSumEtThreshold_ etc.
386 
387  //redundant with L1CaloEtScale for stage 1
388  // discussion needed for stage 2
389  double emScale_;
390  double jetScale_;
391  };
392 
393 }// namespace
394 #endif
double jetNeighbourThreshold_
Definition: CaloParams.h:342
unsigned egIsoVetoNrTowersPhi_
Definition: CaloParams.h:281
type
Definition: HCALResponse.h:21
double towerLsbH() const
Definition: CaloParams.h:33
unsigned egIsoAreaNrTowersEta() const
Definition: CaloParams.h:78
int egMaxHcalEtHw() const
Definition: CaloParams.h:72
std::string jetCalibrationType_
Definition: CaloParams.h:351
double egRelativeJetIsolationCut() const
Definition: CaloParams.h:77
double towerLsbSum() const
Definition: CaloParams.h:35
std::shared_ptr< l1t::LUT > egIsolationLUT_
Definition: CaloParams.h:302
double jetScale() const
Definition: CaloParams.h:194
int towerNBitsRatio() const
Definition: CaloParams.h:39
double egMaxHOverE_
Definition: CaloParams.h:269
unsigned egIsoMaxEtaAbsForIsoSum() const
Definition: CaloParams.h:83
double egEtToRemoveHECut() const
Definition: CaloParams.h:75
void setTowerNBitsH(int n)
Definition: CaloParams.h:49
double jetNeighbourThreshold() const
Definition: CaloParams.h:136
void setTowerLsbE(double lsb)
Definition: CaloParams.h:47
void setTauIsolationLUT(std::shared_ptr< LUT > lut)
Definition: CaloParams.h:127
void setTauCalibrationType(std::string type)
Definition: CaloParams.h:128
double egLsb() const
Definition: CaloParams.h:67
std::vector< double > etSumEtThreshold_
Definition: CaloParams.h:370
int maxGctEtaForSums() const
Definition: CaloParams.h:191
double towerLsbE() const
Definition: CaloParams.h:34
std::string egIsoPUSType() const
Definition: CaloParams.h:84
bool PUSubtract() const
Definition: CaloParams.h:171
void setjetSF(std::vector< double > jetsf)
Definition: CaloParams.h:179
void setJetCalibrationParams(std::vector< double > params)
Definition: CaloParams.h:148
int minGctEtaForSums() const
Definition: CaloParams.h:190
void setEgIsoPUEstTowerGranularity(unsigned iEgIsoPUEstTowerGranularity)
Definition: CaloParams.h:101
double regionLsb() const
Definition: CaloParams.h:57
int towerMaskSum() const
Definition: CaloParams.h:42
std::vector< double > jetPUSParams_
Definition: CaloParams.h:348
std::string jetPUSType_
Definition: CaloParams.h:345
void setregionSubtraction(std::vector< double > regsub)
Definition: CaloParams.h:177
void setTauRelativeJetIsolationCut(double cutValue)
Definition: CaloParams.h:125
std::string egCalibrationType() const
Definition: CaloParams.h:86
int towerMaskH() const
Definition: CaloParams.h:41
double tauSeedThreshold() const
Definition: CaloParams.h:113
bool doTowerEncoding() const
Definition: CaloParams.h:44
int jetSeedThresholdHw() const
Definition: CaloParams.h:133
std::vector< double > jetCalibrationParams_
Definition: CaloParams.h:354
int tauNeighbourThresholdHw() const
Definition: CaloParams.h:114
void setJetScale(double scale)
Definition: CaloParams.h:186
int tauSeedThresholdHw() const
Definition: CaloParams.h:112
void setJetPUSParams(std::vector< double > params)
Definition: CaloParams.h:146
double tauNeighbourThreshold() const
Definition: CaloParams.h:115
std::string regionPUSType_
Definition: CaloParams.h:244
double isum
void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi)
Definition: CaloParams.h:100
double egMaxHOverE() const
Definition: CaloParams.h:76
T eta() const
unsigned egIsoMaxEtaAbsForTowerSum_
Definition: CaloParams.h:287
double emScale() const
Definition: CaloParams.h:193
void setJetSeedThreshold(double thresh)
Definition: CaloParams.h:143
unsigned egIsoAreaNrTowersPhi_
Definition: CaloParams.h:278
std::vector< double > regionSubtraction() const
Definition: CaloParams.h:172
void setTauIsoPUSType(std::string type)
Definition: CaloParams.h:126
double regionLsb_
Definition: CaloParams.h:241
void setEtSumEtThreshold(unsigned isum, double thresh)
Definition: CaloParams.cc:30
std::vector< double > tauCalibrationParams()
Definition: CaloParams.h:120
double jetLsb() const
Definition: CaloParams.h:132
double towerLsbSum_
Definition: CaloParams.h:207
double towerLsbE_
Definition: CaloParams.h:204
void setEgLsb(double lsb)
Definition: CaloParams.h:90
std::string egCalibrationType_
Definition: CaloParams.h:293
void setEgIsoMaxEtaAbsForIsoSum(unsigned iEgIsoMaxEtaAbsForIsoSum)
Definition: CaloParams.h:103
std::vector< int > etSumEtaMin_
Definition: CaloParams.h:364
double towerLsbH_
Definition: CaloParams.h:201
std::shared_ptr< l1t::LUT > tauIsolationLUT_
Definition: CaloParams.h:323
unsigned regionETCutForMET_
Definition: CaloParams.h:383
std::vector< double > regionPUSParams()
Definition: CaloParams.h:59
std::vector< double > jetCalibrationParams()
Definition: CaloParams.h:140
void setEgNeighbourThreshold(double thresh)
Definition: CaloParams.h:92
void setEmScale(double scale)
Definition: CaloParams.h:185
void setPUSubtract(bool pusub)
Definition: CaloParams.h:176
void print(std::ostream &) const
Definition: CaloParams.cc:35
unsigned int regionETCutForMET() const
Definition: CaloParams.h:189
void setTauCalibrationParams(std::vector< double > params)
Definition: CaloParams.h:129
void setTowerLsbSum(double lsb)
Definition: CaloParams.h:48
double egNeighbourThreshold_
Definition: CaloParams.h:260
void setEgMaxHOverE(double cut)
Definition: CaloParams.h:95
std::string egIsoPUSType_
Definition: CaloParams.h:299
l1t::LUT * tauIsolationLUT()
Definition: CaloParams.h:118
std::vector< int > etSumEtaMax_
Definition: CaloParams.h:367
std::vector< double > jetSF_
Definition: CaloParams.h:379
void setEgEtToRemoveHECut(double thresh)
Definition: CaloParams.h:94
bool applyJetCalibration() const
Definition: CaloParams.h:173
double etSumLsb() const
Definition: CaloParams.h:152
std::string tauCalibrationType_
Definition: CaloParams.h:326
unsigned regionETCutForHT_
Definition: CaloParams.h:382
double egMaxHcalEt() const
Definition: CaloParams.h:73
void setTauSeedThreshold(double thresh)
Definition: CaloParams.h:123
int etSumEtaMax(unsigned isum) const
Definition: CaloParams.cc:10
tuple lut
Definition: lumiPlot.py:244
void setEgRelativeJetIsolationCut(double cutValue)
Definition: CaloParams.h:96
int etSumEtaMin(unsigned isum) const
Definition: CaloParams.cc:5
int towerNBitsE() const
Definition: CaloParams.h:37
void setRegionPUSType(std::string type)
Definition: CaloParams.h:62
std::vector< double > jetPUSParams()
Definition: CaloParams.h:138
double egSeedThreshold_
Definition: CaloParams.h:257
std::string tauIsoPUSType_
Definition: CaloParams.h:320
void setMinGctEtaForSums(int eta)
Definition: CaloParams.h:182
Definition: LUT.h:27
void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta)
Definition: CaloParams.h:98
double jetSeedThreshold() const
Definition: CaloParams.h:134
void setTowerNBitsSum(int n)
Definition: CaloParams.h:51
void setapplyJetCalibration(bool jetcalib)
Definition: CaloParams.h:178
double jetScale_
Definition: CaloParams.h:390
std::string tauCalibrationType() const
Definition: CaloParams.h:119
int towerMaskRatio() const
Definition: CaloParams.h:43
std::vector< double > regionSubtraction_
Definition: CaloParams.h:377
void setTowerLsbH(double lsb)
Definition: CaloParams.h:46
unsigned egIsoAreaNrTowersEta_
Definition: CaloParams.h:275
void setRegionETCutForHT(unsigned etcut)
Definition: CaloParams.h:180
double egRelativeJetIsolationCut_
Definition: CaloParams.h:272
void setEgMaxHcalEt(double cut)
Definition: CaloParams.h:93
double tauRelativeJetIsolationCut() const
Definition: CaloParams.h:116
double etSumLsb_
Definition: CaloParams.h:361
double egEtToRemoveHECut_
Definition: CaloParams.h:266
double tauSeedThreshold_
Definition: CaloParams.h:312
void setEgSeedThreshold(double thresh)
Definition: CaloParams.h:91
void setEtSumEtaMin(unsigned isum, int eta)
Definition: CaloParams.cc:20
bool towerDoEncoding_
Definition: CaloParams.h:234
int egNeighbourThresholdHw() const
Definition: CaloParams.h:70
std::vector< double > tauCalibrationParams_
Definition: CaloParams.h:329
void setEgIsolationLUT(std::shared_ptr< LUT > lut)
Definition: CaloParams.h:105
unsigned egIsoPUEstTowerGranularity_
Definition: CaloParams.h:284
void setEgIsoPUSType(std::string type)
Definition: CaloParams.h:104
void setMaxGctEtaForSums(int eta)
Definition: CaloParams.h:183
unsigned egIsoAreaNrTowersPhi() const
Definition: CaloParams.h:79
void setEtSumEtaMax(unsigned isum, int eta)
Definition: CaloParams.cc:25
double egMaxHcalEt_
Definition: CaloParams.h:263
std::string regionPUSType() const
Definition: CaloParams.h:58
void setEgIsoMaxEtaAbsForTowerSum(unsigned iEgIsoMaxEtaAbsForTowerSum)
Definition: CaloParams.h:102
int etSumEtThresholdHw(unsigned isum) const
Definition: CaloParams.h:155
unsigned egIsoPUEstTowerGranularity() const
Definition: CaloParams.h:81
int towerNBitsSum() const
Definition: CaloParams.h:38
l1t::LUT * egIsolationLUT()
Definition: CaloParams.h:85
bool applyJetCalibration_
Definition: CaloParams.h:378
int egSeedThresholdHw() const
Definition: CaloParams.h:68
void setRegionETCutForMET(unsigned etcut)
Definition: CaloParams.h:181
void setEtSumLsb(double lsb)
Definition: CaloParams.h:158
void setEgCalibrationType(std::string type)
Definition: CaloParams.h:106
unsigned egIsoMaxEtaAbsForTowerSum() const
Definition: CaloParams.h:82
double tauRelativeJetIsolationCut_
Definition: CaloParams.h:318
unsigned egIsoMaxEtaAbsForIsoSum_
Definition: CaloParams.h:290
void setJetCalibrationType(std::string type)
Definition: CaloParams.h:147
double egSeedThreshold() const
Definition: CaloParams.h:69
std::string tauIsoPUSType() const
Definition: CaloParams.h:117
double egNeighbourThreshold() const
Definition: CaloParams.h:71
std::vector< double > egCalibrationParams()
Definition: CaloParams.h:87
void setTauLsb(double lsb)
Definition: CaloParams.h:122
std::vector< double > regionPUSParams_
Definition: CaloParams.h:247
void setJetNeighbourThreshold(double thresh)
Definition: CaloParams.h:144
std::string jetPUSType() const
Definition: CaloParams.h:137
void setJetLsb(double lsb)
Definition: CaloParams.h:142
std::vector< double > jetSF() const
Definition: CaloParams.h:174
void setEgCalibrationParams(std::vector< double > params)
Definition: CaloParams.h:107
void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi)
Definition: CaloParams.h:99
int egEtToRemoveHECutHw() const
Definition: CaloParams.h:74
int towerMaskE() const
Definition: CaloParams.h:40
int towerNBitsH() const
Definition: CaloParams.h:36
void setJetPUSType(std::string type)
Definition: CaloParams.h:145
std::vector< double > egCalibrationParams_
Definition: CaloParams.h:296
void setTowerNBitsRatio(int n)
Definition: CaloParams.h:52
double tauLsb() const
Definition: CaloParams.h:111
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
double jetSeedThreshold_
Definition: CaloParams.h:339
int jetNeighbourThresholdHw() const
Definition: CaloParams.h:135
friend std::ostream & operator<<(std::ostream &o, const CaloParams &p)
Definition: CaloParams.h:165
void setRegionLsb(double lsb)
Definition: CaloParams.h:61
unsigned egIsoVetoNrTowersPhi() const
Definition: CaloParams.h:80
void setTowerNBitsE(int n)
Definition: CaloParams.h:50
unsigned int regionETCutForHT() const
Definition: CaloParams.h:188
double etSumEtThreshold(unsigned isum) const
Definition: CaloParams.cc:15
double tauNeighbourThreshold_
Definition: CaloParams.h:315
void setTowerEncoding(bool doit)
Definition: CaloParams.h:53
void setTauNeighbourThreshold(double thresh)
Definition: CaloParams.h:124
std::string jetCalibrationType() const
Definition: CaloParams.h:139
void setRegionPUSParams(std::vector< double > params)
Definition: CaloParams.h:63