CMS 3D CMS Logo

L1TCaloParamsViewer.cc
Go to the documentation of this file.
5 
8 
13 #include <iomanip>
14 
16 private:
30  bool printHfSF;
41 
43 
44  std::string hash(void* buf, size_t len) const;
45 
46 public:
47  void analyze(const edm::Event&, const edm::EventSetup&) override;
48 
50  printPUSParams = pset.getUntrackedParameter<bool>("printPUSParams", false);
51  printTauCalibLUT = pset.getUntrackedParameter<bool>("printTauCalibLUT", false);
52  printTauCompressLUT = pset.getUntrackedParameter<bool>("printTauCompressLUT", false);
53  printJetCalibLUT = pset.getUntrackedParameter<bool>("printJetCalibLUT", false);
54  printJetCalibPar = pset.getUntrackedParameter<bool>("printJetCalibParams", false);
55  printJetPUSPar = pset.getUntrackedParameter<bool>("printJetPUSPar", false);
56  printJetCompressPtLUT = pset.getUntrackedParameter<bool>("printJetCompressPtLUT", false);
57  printJetCompressEtaLUT = pset.getUntrackedParameter<bool>("printJetCompressEtaLUT", false);
58  printEgCalibLUT = pset.getUntrackedParameter<bool>("printEgCalibLUT", false);
59  printEgIsoLUT = pset.getUntrackedParameter<bool>("printEgIsoLUT", false);
60  printEtSumMetPUSLUT = pset.getUntrackedParameter<bool>("printEtSumMetPUSLUT", false);
61  printHfSF = pset.getUntrackedParameter<bool>("printHfSF", false);
62  printHcalSF = pset.getUntrackedParameter<bool>("printHcalSF", false);
63  printEcalSF = pset.getUntrackedParameter<bool>("printEcalSF", false);
64  printEtSumEttPUSLUT = pset.getUntrackedParameter<bool>("printEtSumEttPUSLUT", false);
65  printEtSumEcalSumPUSLUT = pset.getUntrackedParameter<bool>("printEtSumEcalSumPUSLUT", false);
66  printMetCalibrationLUT = pset.getUntrackedParameter<bool>("printMetCalibrationLUT", false);
67  printMetHFCalibrationLUT = pset.getUntrackedParameter<bool>("printMetHFCalibrationLUT", false);
68  printEtSumEttCalibrationLUT = pset.getUntrackedParameter<bool>("printEtSumEttCalibrationLUT", false);
69  printEtSumEcalSumCalibrationLUT = pset.getUntrackedParameter<bool>("printEtSumEcalSumCalibrationLUT", false);
70 
71  useStage2Rcd = pset.getUntrackedParameter<bool>("useStage2Rcd", false);
72 
73  if (useStage2Rcd)
75  else
77  }
78 
79  ~L1TCaloParamsViewer(void) override {}
80 };
81 
83 #include <cmath>
84 #include <iostream>
85 using namespace std;
86 
87 std::string L1TCaloParamsViewer::hash(void* buf, size_t len) const {
89  EVP_MD_CTX* mdctx = EVP_MD_CTX_new();
90  const EVP_MD* md = EVP_get_digestbyname("SHA1");
91  if (!EVP_DigestInit_ex(mdctx, md, nullptr))
92  throw cms::Exception("L1TCaloParamsViewer::hash") << "SHA1 initialization error";
93 
94  if (!EVP_DigestUpdate(mdctx, buf, len))
95  throw cms::Exception("L1TCaloParamsViewer::hash") << "SHA1 processing error";
96 
97  unsigned char hash[EVP_MAX_MD_SIZE];
98  unsigned int md_len = 0;
99  if (!EVP_DigestFinal_ex(mdctx, hash, &md_len))
100  throw cms::Exception("L1TCaloParamsViewer::hash") << "SHA1 finalization error";
101 
102  EVP_MD_CTX_free(mdctx);
103 
104  // re-write bytes in hex
105  char tmp[EVP_MAX_MD_SIZE * 2 + 1];
106  if (md_len > 20)
107  md_len = 20;
108  for (unsigned int i = 0; i < md_len; i++)
109  ::sprintf(&tmp[i * 2], "%02x", hash[i]);
110 
111  tmp[md_len * 2] = 0;
112  return std::string(tmp);
113 }
114 
117  if (useStage2Rcd)
118  handle1 = evSetup.getHandle(stage2ParamsToken_);
119  else
120  handle1 = evSetup.getHandle(paramsToken_);
121 
122  l1t::CaloParams const& ptr = *handle1;
123 
124  l1t::CaloParamsHelper const* ptr1 = nullptr;
125  ptr1 = (l1t::CaloParamsHelper const*)(&(ptr));
126 
127  edm::LogInfo("") << "L1TCaloParamsViewer:";
128 
129  cout << endl << " Towers: " << endl;
130  cout << " towerLsbH= " << ptr1->towerLsbH() << endl;
131  cout << " towerLsbE= " << ptr1->towerLsbE() << endl;
132  cout << " towerLsbSum= " << ptr1->towerLsbSum() << endl;
133  cout << " towerNBitsH= " << ptr1->towerNBitsH() << endl;
134  cout << " towerNBitsE= " << ptr1->towerNBitsE() << endl;
135  cout << " towerNBitsSum= " << ptr1->towerNBitsSum() << endl;
136  cout << " towerNBitsRatio= " << ptr1->towerNBitsRatio() << endl;
137  cout << " towerMaskE= " << ptr1->towerMaskE() << endl;
138  cout << " towerMaskH= " << ptr1->towerMaskH() << endl;
139  cout << " towerMaskSum= " << ptr1->towerMaskSum() << endl;
140  cout << " towerEncoding= " << ptr1->doTowerEncoding() << endl;
141 
142  cout << endl << " Regions: " << endl;
143  cout << " regionLsb= " << ptr1->regionLsb() << endl;
144  cout << " regionPUSType= " << ptr1->regionPUSType() << endl;
145  cout << " regionPUSParams= [" << ptr1->regionPUSParams().size() << "] ";
146  float pusParams[ptr1->regionPUSParams().size()];
147  for (unsigned int i = 0; i < ptr1->regionPUSParams().size(); i++) {
148  pusParams[i] = ceil(2 * ptr1->regionPUSParams()[i]);
149  if (printPUSParams)
150  cout << " " << ceil(2 * pusParams[i]) << endl;
151  }
152 
153  if (!ptr1->regionPUSParams().empty())
154  cout << hash(pusParams, sizeof(float) * ptr1->regionPUSParams().size()) << endl;
155  else
156  cout << endl;
157 
158  if (!ptr1->regionPUSLUT()->empty()) {
159  cout << " regionPUSLUT= [" << ptr1->regionPUSLUT()->maxSize() << "] ";
160  int regionPUSLUT[ptr1->regionPUSLUT()->maxSize()];
161  for (unsigned int i = 0; i < ptr1->regionPUSLUT()->maxSize(); i++)
162  regionPUSLUT[i] = ptr1->regionPUSLUT()->data(i);
163  cout << hash(regionPUSLUT, sizeof(int) * ptr1->regionPUSLUT()->maxSize()) << endl;
164  } else {
165  cout << " regionPUSLUT= [0]" << endl;
166  }
167 
168  cout << " pileUpTowerThreshold= " << ptr1->pileUpTowerThreshold() << endl;
169 
170  cout << endl << " EG: " << endl;
171  cout << " egLsb= " << ptr1->egLsb() << endl;
172  cout << " egSeedThreshold= " << ptr1->egSeedThreshold() << endl;
173  cout << " egNeighbourThreshold= " << ptr1->egNeighbourThreshold() << endl;
174  cout << " egHcalThreshold= " << ptr1->egHcalThreshold() << endl;
175 
176  if (!ptr1->egTrimmingLUT()->empty()) {
177  cout << " egTrimmingLUT= [" << ptr1->egTrimmingLUT()->maxSize() << "] " << flush;
178  int egTrimming[ptr1->egTrimmingLUT()->maxSize()];
179  for (unsigned int i = 0; i < ptr1->egTrimmingLUT()->maxSize(); i++)
180  egTrimming[i] = ptr1->egTrimmingLUT()->data(i);
181  cout << hash(egTrimming, sizeof(int) * ptr1->egTrimmingLUT()->maxSize()) << endl;
182  } else {
183  cout << " egTrimmingLUT= [0] " << endl;
184  }
185 
186  cout << " egMaxHcalEt= " << ptr1->egMaxHcalEt() << endl;
187  cout << " egMaxPtHOverE= " << ptr1->egMaxPtHOverE() << endl;
188  cout << " egMinPtJetIsolation= " << ptr1->egMinPtJetIsolation() << endl;
189  cout << " egMaxPtJetIsolation= " << ptr1->egMaxPtJetIsolation() << endl;
190  cout << " egMinPtHOverEIsolation= " << ptr1->egMinPtHOverEIsolation() << endl;
191  cout << " egMaxPtHOverEIsolation= " << ptr1->egMaxPtHOverEIsolation() << endl;
192 
193  if (!ptr1->egMaxHOverELUT()->empty()) {
194  cout << " egMaxHOverELUT= [" << ptr1->egMaxHOverELUT()->maxSize() << "] ";
195  int egMaxHOverE[ptr1->egMaxHOverELUT()->maxSize()];
196  for (unsigned int i = 0; i < ptr1->egMaxHOverELUT()->maxSize(); i++)
197  egMaxHOverE[i] = ptr1->egMaxHOverELUT()->data(i);
198  cout << hash(egMaxHOverE, sizeof(int) * ptr1->egMaxHOverELUT()->maxSize()) << endl;
199  } else {
200  cout << " egMaxHOverELUT= [0]" << endl;
201  }
202 
203  if (!ptr1->egCompressShapesLUT()->empty()) {
204  cout << " egCompressShapesLUT= [" << ptr1->egCompressShapesLUT()->maxSize() << "] ";
205  int egCompressShapes[ptr1->egCompressShapesLUT()->maxSize()];
206  for (unsigned int i = 0; i < ptr1->egCompressShapesLUT()->maxSize(); i++)
207  egCompressShapes[i] = ptr1->egCompressShapesLUT()->data(i);
208  cout << hash(egCompressShapes, sizeof(int) * ptr1->egCompressShapesLUT()->maxSize()) << endl;
209  } else {
210  cout << " egCompressShapesLUT= [0]" << endl;
211  }
212 
213  cout << " egShapeIdType= " << ptr1->egShapeIdType() << endl;
214  cout << " egShapeIdVersion= " << ptr1->egShapeIdVersion() << endl;
215  if (!ptr1->egShapeIdLUT()->empty()) {
216  cout << " egShapeIdLUT= [" << ptr1->egShapeIdLUT()->maxSize() << "] " << flush;
217  int egShapeId[ptr1->egShapeIdLUT()->maxSize()];
218  for (unsigned int i = 0; i < ptr1->egShapeIdLUT()->maxSize(); i++)
219  egShapeId[i] = ptr1->egShapeIdLUT()->data(i);
220  cout << hash(egShapeId, sizeof(int) * ptr1->egShapeIdLUT()->maxSize()) << endl;
221  } else {
222  cout << " egShapeIdLUT= [0]" << endl;
223  }
224 
225  cout << " egBypassEGVetos= " << ptr1->egBypassEGVetos() << endl;
226  cout << " egBypassShape= " << ptr1->egBypassShape() << endl;
227  cout << " egBypassExtHoverE= " << ptr1->egBypassExtHOverE() << endl;
228  cout << " egBypassECALFG= " << ptr1->egBypassECALFG() << endl;
229  cout << " egHOverEcutBarrel= " << ptr1->egHOverEcutBarrel() << endl;
230  cout << " egHOverEcutEndcap= " << ptr1->egHOverEcutEndcap() << endl;
231 
232  cout << " egPUSType= " << ptr1->egPUSType() << endl;
233 
234  cout << " egIsolationType= " << ptr1->egIsolationType() << endl;
235  if (!ptr1->egIsolationLUT()->empty()) {
236  cout << " egIsoLUT= [" << ptr1->egIsolationLUT()->maxSize() << "] " << flush;
237  int egIsolation[ptr1->egIsolationLUT()->maxSize()];
238  for (unsigned int i = 0; i < ptr1->egIsolationLUT()->maxSize(); i++)
239  egIsolation[i] = ptr1->egIsolationLUT()->data(i);
240  cout << hash(egIsolation, sizeof(int) * ptr1->egIsolationLUT()->maxSize()) << endl;
241  if (printEgIsoLUT)
242  for (unsigned int i = 0; i < ptr1->egIsolationLUT()->maxSize(); i++)
243  cout << i << " " << egIsolation[i] << endl;
244  } else {
245  cout << " egIsoLUT= [0]" << endl;
246  }
247  if (!ptr1->egIsolationLUT2()->empty()) {
248  cout << " egIsoLUT2= [" << ptr1->egIsolationLUT2()->maxSize() << "] " << flush;
249  int egIsolation2[ptr1->egIsolationLUT2()->maxSize()];
250  for (unsigned int i = 0; i < ptr1->egIsolationLUT2()->maxSize(); i++)
251  egIsolation2[i] = ptr1->egIsolationLUT2()->data(i);
252  cout << hash(egIsolation2, sizeof(int) * ptr1->egIsolationLUT2()->maxSize()) << endl;
253  if (printEgIsoLUT)
254  for (unsigned int i = 0; i < ptr1->egIsolationLUT2()->maxSize(); i++)
255  cout << i << " " << egIsolation2[i] << endl;
256  } else {
257  cout << " egIsoLUT2= [0]" << endl;
258  }
259 
260  cout << " egIsoAreaNrTowersEta= " << ptr1->egIsoAreaNrTowersEta() << endl;
261  cout << " egIsoAreaNrTowersPhi= " << ptr1->egIsoAreaNrTowersPhi() << endl;
262  cout << " egIsoVetoNrTowersPhi= " << ptr1->egIsoVetoNrTowersPhi() << endl;
263  cout << " egPUSParams= [" << ptr1->egPUSParams().size() << "] " << flush;
264  float egPUSParams[ptr1->egPUSParams().size()];
265  for (unsigned int i = 0; i < ptr1->egPUSParams().size(); i++)
266  egPUSParams[i] = ptr1->egPUSParams()[i];
267 
268  if (!ptr1->egPUSParams().empty())
269  cout << hash(egPUSParams, sizeof(float) * ptr1->egPUSParams().size()) << endl;
270  else
271  cout << endl;
272 
273  cout << " egCalibrationParams= [" << ptr1->egCalibrationParams().size() << "] " << flush;
274  double egCalibrationParams[ptr1->egCalibrationParams().size()];
275  for (unsigned int i = 0; i < ptr1->egCalibrationParams().size(); i++)
276  egCalibrationParams[i] = ptr1->egCalibrationParams()[i];
277 
278  if (!ptr1->egCalibrationParams().empty())
279  cout << hash(egCalibrationParams, sizeof(double) * ptr1->egCalibrationParams().size()) << endl;
280  else
281  cout << endl;
282 
283  cout << " egCalibrationType= " << ptr1->egCalibrationType() << endl;
284  cout << " egCalibrationVersion= " << ptr1->egCalibrationVersion() << endl;
285  if (!ptr1->egCalibrationLUT()->empty()) {
286  cout << " egCalibrationLUT= [" << ptr1->egCalibrationLUT()->maxSize() << "] " << flush;
287  int egCalibration[ptr1->egCalibrationLUT()->maxSize()];
288  for (unsigned int i = 0; i < ptr1->egCalibrationLUT()->maxSize(); i++)
289  egCalibration[i] = ptr1->egCalibrationLUT()->data(i);
290  cout << hash(egCalibration, sizeof(int) * ptr1->egCalibrationLUT()->maxSize()) << endl;
291  if (printEgCalibLUT)
292  for (unsigned int i = 0; i < ptr1->egCalibrationLUT()->maxSize(); i++)
293  cout << i << " " << egCalibration[i] << endl;
294  } else {
295  cout << " egCalibrationLUT= [0]" << endl;
296  }
297 
298  cout << endl << " Tau: " << endl;
299  cout << " tauLsb= " << ptr1->tauLsb() << endl;
300  //cout<<" tauSeedThreshold= "<<ptr1->tauSeedThreshold()<<endl;
301  //cout<<" tauNeighbourThreshold= "<<ptr1->tauNeighbourThreshold()<<endl;
302  cout << " tauMaxPtTauVeto= " << ptr1->tauMaxPtTauVeto() << endl;
303  cout << " tauMinPtJetIsolationB= " << ptr1->tauMinPtJetIsolationB() << endl;
304  cout << " tauPUSType= " << ptr1->tauPUSType() << endl;
305  cout << " tauMaxJetIsolationB= " << ptr1->tauMaxJetIsolationB() << endl;
306  cout << " tauMaxJetIsolationA= " << ptr1->tauMaxJetIsolationA() << endl;
307  cout << " tauIsoAreaNrTowersEta= " << ptr1->tauIsoAreaNrTowersEta() << endl;
308  cout << " tauIsoAreaNrTowersPhi= " << ptr1->tauIsoAreaNrTowersPhi() << endl;
309  cout << " tauIsoVetoNrTowersPhi= " << ptr1->tauIsoVetoNrTowersPhi() << endl;
310  if (!ptr1->tauIsolationLUT()->empty()) {
311  cout << " tauIsoLUT= [" << ptr1->tauIsolationLUT()->maxSize() << "] " << flush;
312  int tauIsolation[ptr1->tauIsolationLUT()->maxSize()];
313  for (unsigned int i = 0; i < ptr1->tauIsolationLUT()->maxSize(); i++)
314  tauIsolation[i] = ptr1->tauIsolationLUT()->data(i);
315  cout << hash(tauIsolation, sizeof(int) * ptr1->tauIsolationLUT()->maxSize()) << endl;
316  } else {
317  cout << " tauIsoLUT= [0]" << endl;
318  }
319  if (!ptr1->tauIsolationLUT2()->empty()) {
320  cout << " tauIsoLUT2= [" << ptr1->tauIsolationLUT2()->maxSize() << "] " << flush;
321  int tauIsolation2[ptr1->tauIsolationLUT2()->maxSize()];
322  for (unsigned int i = 0; i < ptr1->tauIsolationLUT2()->maxSize(); i++)
323  tauIsolation2[i] = ptr1->tauIsolationLUT2()->data(i);
324  cout << hash(tauIsolation2, sizeof(int) * ptr1->tauIsolationLUT2()->maxSize()) << endl;
325  } else {
326  cout << " tauIsoLUT2= [0]" << endl;
327  }
328  if (!ptr1->tauTrimmingShapeVetoLUT()->empty()) {
329  cout << " tauTrimmingShapeVetoLUT=[" << ptr1->tauTrimmingShapeVetoLUT()->maxSize() << "] " << flush;
330  int tauTrimmingShapeVetoLUT[ptr1->tauTrimmingShapeVetoLUT()->maxSize()];
331  for (unsigned int i = 0; i < ptr1->tauTrimmingShapeVetoLUT()->maxSize(); i++)
332  tauTrimmingShapeVetoLUT[i] = ptr1->tauTrimmingShapeVetoLUT()->data(i);
333  cout << hash(tauTrimmingShapeVetoLUT, sizeof(int) * ptr1->tauTrimmingShapeVetoLUT()->maxSize()) << endl;
334  } else {
335  cout << " tauTrimmingShapeVetoLUT=[0]" << endl;
336  }
337 
338  if (!ptr1->tauCalibrationLUT()->empty()) {
339  cout << " tauCalibrationLUT= [" << ptr1->tauCalibrationLUT()->maxSize() << "] " << flush;
340  int tauCalibration[512]; //ptr1->tauCalibrationLUT()->maxSize()];
341  for (unsigned int i = 0; i < 512; i++) //ptr1->tauCalibrationLUT()->maxSize(); i++)
342  tauCalibration[i] = ptr1->tauCalibrationLUT()->data(i);
343  cout << hash(tauCalibration, sizeof(int) * 512 /*ptr1->tauCalibrationLUT()->maxSize() */) << endl;
344 
345  if (printTauCalibLUT)
346  for (unsigned int i = 0; i < 512 /*ptr1->tauCalibrationLUT()->maxSize()*/; i++)
347  cout << i << " " << tauCalibration[i] << endl;
348 
349  } else {
350  cout << " tauCalibrationLUT= [0]" << endl;
351  }
352 
353  cout << " tauCalibrationType= " << ptr1->tauCalibrationType() << endl;
354 
355  cout << " tauCalibrationParams= [" << ptr1->tauCalibrationParams().size() << "] " << flush;
356  double tauCalibrationParams[ptr1->tauCalibrationParams().size()];
357  for (unsigned int i = 0; i < ptr1->tauCalibrationParams().size(); i++)
358  tauCalibrationParams[i] = ptr1->tauCalibrationParams()[i];
359 
360  if (!ptr1->tauCalibrationParams().empty())
361  cout << hash(tauCalibrationParams, sizeof(double) * ptr1->tauCalibrationParams().size()) << endl;
362  else
363  cout << endl;
364 
365  if (!ptr1->tauCompressLUT()->empty()) {
366  cout << " tauCompressLUT= [" << ptr1->tauCompressLUT()->maxSize() << "] " << flush;
367  int tauCompress[ptr1->tauCompressLUT()->maxSize()];
368  for (unsigned int i = 0; i < ptr1->tauCompressLUT()->maxSize(); i++)
369  tauCompress[i] = ptr1->tauCompressLUT()->data(i);
370  cout << hash(tauCompress, sizeof(int) * ptr1->tauCompressLUT()->maxSize()) << endl;
371 
372  if (printTauCompressLUT)
373  for (unsigned int i = 0; i < ptr1->tauCompressLUT()->maxSize(); i++)
374  cout << i << " " << tauCompress[i] << endl;
375 
376  } else {
377  cout << " tauCompressLUT= [0]" << endl;
378  }
379 
380  if (!ptr1->tauEtToHFRingEtLUT()->empty()) {
381  cout << " tauEtToHFRingEtLUT= [" << ptr1->tauEtToHFRingEtLUT()->maxSize() << "] " << flush;
382  int tauEtToHFRingEt[ptr1->tauEtToHFRingEtLUT()->maxSize()];
383  for (unsigned int i = 0; i < ptr1->tauEtToHFRingEtLUT()->maxSize(); i++)
384  tauEtToHFRingEt[i] = ptr1->tauEtToHFRingEtLUT()->data(i);
385 
386  cout << hash(tauEtToHFRingEt, sizeof(int) * ptr1->tauEtToHFRingEtLUT()->maxSize()) << endl;
387  } else {
388  cout << " tauEtToHFRingEtLUT= [0]" << endl;
389  }
390 
391  cout << " isoTauEtaMin= " << ptr1->isoTauEtaMin() << endl;
392  cout << " isoTauEtaMax= " << ptr1->isoTauEtaMax() << endl;
393  cout << " tauPUSParams= [" << ptr1->tauPUSParams().size() << "] " << flush;
394  float tauPUSParams[ptr1->tauPUSParams().size()];
395  for (unsigned int i = 0; i < ptr1->tauPUSParams().size(); i++)
396  tauPUSParams[i] = ptr1->tauPUSParams()[i];
397 
398  if (!ptr1->tauPUSParams().empty())
399  cout << hash(tauPUSParams, sizeof(float) * ptr1->tauPUSParams().size()) << endl;
400  else
401  cout << endl;
402 
403  cout << endl << " Jets: " << endl;
404  cout << " jetLsb= " << ptr1->jetLsb() << endl;
405  cout << " jetSeedThreshold= " << ptr1->jetSeedThreshold() << endl;
406  cout << " jetNeighbourThreshold= " << ptr1->jetNeighbourThreshold() << endl;
407  cout << " jetRegionMask= " << ptr1->jetRegionMask() << endl;
408  cout << " jetBypassPUS= " << ptr1->jetBypassPUS() << endl;
409  //cout<<" jetPUSType= "<<ptr1->jetPUSType()<<endl;
410  cout << " jetPUSUsePhiRing= " << ptr1->jetPUSUsePhiRing() << endl;
411  cout << " jetCalibrationType= " << ptr1->jetCalibrationType() << endl;
412  //cout<<" jetCalibrationParams= ["<<ptr1->jetCalibrationParams().size()<<"] "<<flush;
413  //float jetCalibrationParams[ptr1->jetCalibrationParams().size()]; // deliberately drop double precision
414  //for(unsigned int i=0; i<ptr1->jetCalibrationParams().size(); i++) jetCalibrationParams[i] = ptr1->jetCalibrationParams()[i];
415 
416  /*if( !ptr1->jetCalibrationParams().empty() ){
417  cout << hash( jetCalibrationParams, sizeof(float)*ptr1->jetCalibrationParams().size() ) << endl;
418  if( printJetCalibPar )
419  for(unsigned int i=0; i<ptr1->jetCalibrationParams().size(); i++)
420  cout<<i<<" " << std::setprecision(14) << jetCalibrationParams[i]<<endl;
421 
422  } else cout<<endl;
423 
424  cout<<" jetPUSParams= ["<<ptr1->jetPUSParams().size()<<"] "<<flush;
425  float jetPUSParams[ptr1->jetPUSParams().size()]; // deliberately drop double precision
426  for(unsigned int i=0; i<ptr1->jetPUSParams().size(); i++) jetPUSParams[i] = ptr1->jetPUSParams()[i];
427  if( !ptr1->jetPUSParams().empty() ){
428  cout << hash( jetPUSParams, sizeof(float)*ptr1->jetPUSParams().size() ) << endl;
429  if( printJetPUSPar )
430  for(unsigned int i=0; i<ptr1->jetPUSParams().size(); i++)
431  cout<<i<<" " << std::setprecision(14) << jetPUSParams[i]<<endl;
432 
433  } else cout<<endl;
434  */
435 
436  if (!ptr1->jetCalibrationLUT()->empty()) {
437  cout << " jetCalibrationLUT= [" << ptr1->jetCalibrationLUT()->maxSize() << "] " << flush;
438  int jetCalibration[ptr1->jetCalibrationLUT()->maxSize()];
439  for (unsigned int i = 0; i < ptr1->jetCalibrationLUT()->maxSize(); i++)
440  jetCalibration[i] = ptr1->jetCalibrationLUT()->data(i);
441 
442  cout << hash(jetCalibration, sizeof(int) * ptr1->jetCalibrationLUT()->maxSize()) << endl;
443 
444  if (printJetCalibLUT)
445  for (unsigned int i = 0; i < ptr1->jetCalibrationLUT()->maxSize(); i++)
446  cout << i << " " << jetCalibration[i] << endl;
447 
448  } else {
449  cout << " jetCalibrationLUT= [0]" << endl;
450  }
451 
452  if (!ptr1->jetCompressPtLUT()->empty()) {
453  cout << " jetCompressPtLUT= [" << ptr1->jetCompressPtLUT()->maxSize() << "] " << flush;
454  int jetCompressPt[ptr1->jetCompressPtLUT()->maxSize()];
455  for (unsigned int i = 0; i < ptr1->jetCompressPtLUT()->maxSize(); i++)
456  jetCompressPt[i] = ptr1->jetCompressPtLUT()->data(i);
457 
458  cout << hash(jetCompressPt, sizeof(int) * ptr1->jetCompressPtLUT()->maxSize()) << endl;
459 
460  if (printJetCompressPtLUT)
461  for (unsigned int i = 0; i < ptr1->jetCompressPtLUT()->maxSize(); i++)
462  cout << i << " " << jetCompressPt[i] << endl;
463 
464  } else {
465  cout << " jetCompressPtLUT= [0]" << endl;
466  }
467 
468  if (!ptr1->jetCompressEtaLUT()->empty()) {
469  cout << " jetCompressEtaLUT= [" << ptr1->jetCompressEtaLUT()->maxSize() << "] " << flush;
470  int jetCompressEta[ptr1->jetCompressEtaLUT()->maxSize()];
471  for (unsigned int i = 0; i < ptr1->jetCompressEtaLUT()->maxSize(); i++)
472  jetCompressEta[i] = ptr1->jetCompressEtaLUT()->data(i);
473 
474  cout << hash(jetCompressEta, sizeof(int) * ptr1->jetCompressEtaLUT()->maxSize()) << endl;
475 
476  if (printJetCompressEtaLUT)
477  for (unsigned int i = 0; i < ptr1->jetCompressEtaLUT()->maxSize(); i++)
478  cout << i << " " << jetCompressEta[i] << endl;
479 
480  } else {
481  cout << " jetCompressEtaLUT= [0]" << endl;
482  }
483 
484  cout << endl << " Sums: " << endl;
485  unsigned int nEntities = 0;
486  cout << " etSumLsb= " << ptr1->etSumLsb() << endl;
487  cout << " etSumEtaMin= [";
488  for (unsigned int i = 0; ptr1->etSumEtaMin(i) > 0.001; i++)
489  cout << (i == 0 ? "" : ",") << ptr1->etSumEtaMin(i);
490  cout << "]" << endl;
491  cout << " etSumEtaMax= [";
492  for (unsigned int i = 0; ptr1->etSumEtaMax(i) > 0.001; i++, nEntities++)
493  cout << (i == 0 ? "" : ",") << ptr1->etSumEtaMax(i);
494  cout << "]" << endl;
495  cout << " etSumEtThreshold= [";
496  for (unsigned int i = 0; i < nEntities; i++)
497  cout << (i == 0 ? "" : ",") << ptr1->etSumEtThreshold(i);
498  cout << "]" << endl;
499 
500  cout << " etSumBypassMetPUS= " << ptr1->etSumBypassMetPUS() << endl;
501  cout << " etSumBypassEttPUS= " << ptr1->etSumBypassEttPUS() << endl;
502  cout << " etSumBypassEcalSumPUS " << ptr1->etSumBypassEcalSumPUS() << endl;
503 
504  cout << " etSumMetPUSType= " << ptr1->etSumMetPUSType() << endl;
505  cout << " etSumEttPUSType= " << ptr1->etSumEttPUSType() << endl;
506  cout << " etSumEcalSumPUSType= " << ptr1->etSumEcalSumPUSType() << endl;
507 
508  cout << " etSumCentralityUpper= [";
509  for (unsigned int i = 0; ptr1->etSumCentUpper(i) > 0.001; i++)
510  cout << (i == 0 ? "" : ",") << ptr1->etSumCentUpper(i);
511  cout << "]" << endl;
512  cout << " etSumCentralityLower= [";
513  for (unsigned int i = 0; ptr1->etSumCentLower(i) > 0.001; i++)
514  cout << (i == 0 ? "" : ",") << ptr1->etSumCentLower(i);
515  cout << "]" << endl;
516 
517  cout << " metCalibrationType= " << ptr1->metCalibrationType() << endl;
518  cout << " metHFCalibrationType= " << ptr1->metHFCalibrationType() << endl;
519  cout << " etSumEttCalibrationType=" << ptr1->etSumEttCalibrationType() << endl;
520  cout << " etSumEcalSumCalibrationType=" << ptr1->etSumEcalSumCalibrationType() << endl;
521 
522  if (!ptr1->etSumMetPUSLUT()->empty()) {
523  cout << " etSumMetPUSLUT= [" << ptr1->etSumMetPUSLUT()->maxSize() << "] " << flush;
524  int etSumMetPUSLUT[ptr1->etSumMetPUSLUT()->maxSize()];
525  for (unsigned int i = 0; i < ptr1->etSumMetPUSLUT()->maxSize(); i++)
526  etSumMetPUSLUT[i] = ptr1->etSumMetPUSLUT()->data(i);
527 
528  cout << hash(etSumMetPUSLUT, sizeof(int) * ptr1->etSumMetPUSLUT()->maxSize()) << endl;
529 
530  if (printEtSumMetPUSLUT)
531  for (unsigned int i = 0; i < ptr1->etSumMetPUSLUT()->maxSize(); i++)
532  cout << i << " " << etSumMetPUSLUT[i] << endl;
533 
534  } else {
535  cout << " etSumMetPUSLUT= [0]" << endl;
536  }
537 
538  if (!ptr1->etSumEttPUSLUT()->empty()) {
539  cout << " etSumEttPUSLUT= [" << ptr1->etSumEttPUSLUT()->maxSize() << "] " << flush;
540  int etSumEttPUSLUT[ptr1->etSumEttPUSLUT()->maxSize()];
541  for (unsigned int i = 0; i < ptr1->etSumEttPUSLUT()->maxSize(); i++)
542  etSumEttPUSLUT[i] = ptr1->etSumEttPUSLUT()->data(i);
543 
544  cout << hash(etSumEttPUSLUT, sizeof(int) * ptr1->etSumEttPUSLUT()->maxSize()) << endl;
545 
546  if (printEtSumEttPUSLUT)
547  for (unsigned int i = 0; i < ptr1->etSumEttPUSLUT()->maxSize(); i++)
548  cout << i << " " << etSumEttPUSLUT[i] << endl;
549 
550  } else {
551  cout << " etSumEttPUSLUT= [0]" << endl;
552  }
553 
554  if (!ptr1->etSumEcalSumPUSLUT()->empty()) {
555  cout << " etSumEcalSumPUSLUT= [" << ptr1->etSumEcalSumPUSLUT()->maxSize() << "] " << flush;
556  int etSumEcalSumPUSLUT[ptr1->etSumEcalSumPUSLUT()->maxSize()];
557  for (unsigned int i = 0; i < ptr1->etSumEcalSumPUSLUT()->maxSize(); i++)
558  etSumEcalSumPUSLUT[i] = ptr1->etSumEcalSumPUSLUT()->data(i);
559 
560  cout << hash(etSumEcalSumPUSLUT, sizeof(int) * ptr1->etSumEcalSumPUSLUT()->maxSize()) << endl;
561 
562  if (printEtSumEcalSumPUSLUT)
563  for (unsigned int i = 0; i < ptr1->etSumEcalSumPUSLUT()->maxSize(); i++)
564  cout << i << " " << etSumEcalSumPUSLUT[i] << endl;
565 
566  } else {
567  cout << " etSumEcalSumPUSLUT= [0]" << endl;
568  }
569 
570  if (!ptr1->metCalibrationLUT()->empty()) {
571  cout << " metCalibrationLUT= [" << ptr1->metCalibrationLUT()->maxSize() << "] " << flush;
572  int metCalibrationLUT[ptr1->metCalibrationLUT()->maxSize()];
573  for (unsigned int i = 0; i < ptr1->metCalibrationLUT()->maxSize(); i++)
574  metCalibrationLUT[i] = ptr1->metCalibrationLUT()->data(i);
575 
576  cout << hash(metCalibrationLUT, sizeof(int) * ptr1->metCalibrationLUT()->maxSize()) << endl;
577 
578  if (printMetCalibrationLUT)
579  for (unsigned int i = 0; i < ptr1->metCalibrationLUT()->maxSize(); i++)
580  cout << i << " " << metCalibrationLUT[i] << endl;
581 
582  } else {
583  cout << " metCalibrationLUT= [0]" << endl;
584  }
585 
586  if (!ptr1->metHFCalibrationLUT()->empty()) {
587  cout << " metHFCalibrationLUT= [" << ptr1->metHFCalibrationLUT()->maxSize() << "] " << flush;
588  int metHFCalibrationLUT[ptr1->metHFCalibrationLUT()->maxSize()];
589  for (unsigned int i = 0; i < ptr1->metHFCalibrationLUT()->maxSize(); i++)
590  metHFCalibrationLUT[i] = ptr1->metHFCalibrationLUT()->data(i);
591 
592  cout << hash(metHFCalibrationLUT, sizeof(int) * ptr1->metHFCalibrationLUT()->maxSize()) << endl;
593 
594  if (printMetHFCalibrationLUT)
595  for (unsigned int i = 0; i < ptr1->metHFCalibrationLUT()->maxSize(); i++)
596  cout << i << " " << metHFCalibrationLUT[i] << endl;
597 
598  } else {
599  cout << " metHFCalibrationLUT= [0]" << endl;
600  }
601 
602  if (!ptr1->metPhiCalibrationLUT()->empty()) {
603  cout << " metPhiCalibrationLUT= [" << ptr1->metPhiCalibrationLUT()->maxSize() << "] " << flush;
604  int metPhiCalibrationLUT[ptr1->metPhiCalibrationLUT()->maxSize()];
605  for (unsigned int i = 0; i < ptr1->metPhiCalibrationLUT()->maxSize(); i++)
606  metPhiCalibrationLUT[i] = ptr1->metPhiCalibrationLUT()->data(i);
607 
608  cout << hash(metPhiCalibrationLUT, sizeof(int) * ptr1->metPhiCalibrationLUT()->maxSize()) << endl;
609 
610  if (printMetPhiCalibrationLUT)
611  for (unsigned int i = 0; i < ptr1->metPhiCalibrationLUT()->maxSize(); i++)
612  cout << i << " " << metPhiCalibrationLUT[i] << endl;
613 
614  } else {
615  cout << " metPhiCalibrationLUT= [0]" << endl;
616  }
617 
618  if (!ptr1->metHFPhiCalibrationLUT()->empty()) {
619  cout << " metHFPhiCalibrationLUT= [" << ptr1->metHFPhiCalibrationLUT()->maxSize() << "] " << flush;
620  int metHFPhiCalibrationLUT[ptr1->metHFPhiCalibrationLUT()->maxSize()];
621  for (unsigned int i = 0; i < ptr1->metHFPhiCalibrationLUT()->maxSize(); i++)
622  metHFPhiCalibrationLUT[i] = ptr1->metHFPhiCalibrationLUT()->data(i);
623 
624  cout << hash(metHFPhiCalibrationLUT, sizeof(int) * ptr1->metHFPhiCalibrationLUT()->maxSize()) << endl;
625 
626  if (printMetHFCalibrationLUT)
627  for (unsigned int i = 0; i < ptr1->metHFPhiCalibrationLUT()->maxSize(); i++)
628  cout << i << " " << metHFPhiCalibrationLUT[i] << endl;
629 
630  } else {
631  cout << " metHFPhiCalibrationLUT= [0]" << endl;
632  }
633 
634  if (!ptr1->etSumEttCalibrationLUT()->empty()) {
635  cout << " etSumEttCalibrationLUT= [" << ptr1->etSumEttCalibrationLUT()->maxSize() << "] " << flush;
636  int etSumEttCalibrationLUT[ptr1->etSumEttCalibrationLUT()->maxSize()];
637  for (unsigned int i = 0; i < ptr1->etSumEttCalibrationLUT()->maxSize(); i++)
638  etSumEttCalibrationLUT[i] = ptr1->etSumEttCalibrationLUT()->data(i);
639 
640  cout << hash(etSumEttCalibrationLUT, sizeof(int) * ptr1->etSumEttCalibrationLUT()->maxSize()) << endl;
641 
642  if (printEtSumEttCalibrationLUT)
643  for (unsigned int i = 0; i < ptr1->etSumEttCalibrationLUT()->maxSize(); i++)
644  cout << i << " " << etSumEttCalibrationLUT[i] << endl;
645 
646  } else {
647  cout << " etSumEttCalibrationLUT= [0]" << endl;
648  }
649 
650  if (!ptr1->etSumEcalSumCalibrationLUT()->empty()) {
651  cout << " etSumEcalSumCalibrationLUT=[" << ptr1->etSumEttCalibrationLUT()->maxSize() << "] " << flush;
652  int etSumEcalSumCalibrationLUT[ptr1->etSumEcalSumCalibrationLUT()->maxSize()];
653  for (unsigned int i = 0; i < ptr1->etSumEcalSumCalibrationLUT()->maxSize(); i++)
654  etSumEcalSumCalibrationLUT[i] = ptr1->etSumEcalSumCalibrationLUT()->data(i);
655 
656  cout << hash(etSumEcalSumCalibrationLUT, sizeof(int) * ptr1->etSumEcalSumCalibrationLUT()->maxSize()) << endl;
657 
658  if (printEtSumEcalSumCalibrationLUT)
659  for (unsigned int i = 0; i < ptr1->etSumEcalSumCalibrationLUT()->maxSize(); i++)
660  cout << i << " " << etSumEcalSumCalibrationLUT[i] << endl;
661 
662  } else {
663  cout << " etSumEcalSumCalibrationLUT=[0]" << endl;
664  }
665 
666  cout << endl << " HI centrality trigger: " << endl;
667  cout << " centralityLUT= [";
668  for (unsigned int i = 0; i < ptr1->centralityLUT()->maxSize(); i++)
669  cout << (i == 0 ? "" : ",") << ptr1->centralityLUT()->data(i);
670  cout << "]" << endl;
671 
672  std::vector<int> mbt = ptr1->minimumBiasThresholds();
673  cout << " minimumBiasThresholds= [";
674  for (unsigned int i = 0; i < mbt.size(); i++)
675  cout << mbt[i];
676  cout << "]" << endl;
677 
678  cout << endl << "centralityRegionMask() = " << ptr1->centralityRegionMask() << endl;
679  cout << endl << "jetRegionMask() = " << ptr1->jetRegionMask() << endl;
680  cout << endl << "tauRegionMask() = " << ptr1->tauRegionMask() << endl;
681 
682  cout << endl << " HI Q2 trigger: " << endl;
683  cout << " q2LUT= [";
684  for (unsigned int i = 0; i < ptr1->q2LUT()->maxSize(); i++)
685  cout << (i == 0 ? "" : ",") << ptr1->q2LUT()->data(i);
686  cout << "]" << endl;
687 
688  cout << endl << " Layer1: " << endl;
689  std::vector<double> ecalSF = ptr1->layer1ECalScaleFactors();
690  cout << " layer1ECalScaleFactors= [" << ecalSF.size() << "] " << flush;
691  int _ecalSF[ecalSF.size()];
692  for (unsigned int i = 0; i < ecalSF.size(); i++)
693  _ecalSF[i] = int(ecalSF[i] * 100000.);
694  cout << hash(_ecalSF, sizeof(int) * ecalSF.size()) << endl;
695  if (printEcalSF) {
696  cout << endl << " [" << endl;
697  for (unsigned int i = 0; i < ecalSF.size(); i++)
698  cout << (i == 0 ? "" : ",") << int(ecalSF[i] * 1000.) / 1000.;
699  cout << "]" << endl;
700  }
701  std::vector<double> hcalSF = ptr1->layer1HCalScaleFactors();
702  cout << " layer1HCalScaleFactors= [" << hcalSF.size() << "] " << flush;
703  int _hcalSF[hcalSF.size()];
704  for (unsigned int i = 0; i < hcalSF.size(); i++) {
705  // round false precision
706  // double significand;
707  // int exponent;
708  // significand = frexp( hcalSF[i], &exponent );
709  // _hcalSF[i] = ldexp( int(significand*10000)/10000., exponent );
710  _hcalSF[i] = int(hcalSF[i] * 100000.);
711  }
712  cout << hash(_hcalSF, sizeof(int) * hcalSF.size()) << endl;
713  if (printHcalSF) {
714  cout << endl << " [" << endl;
715  for (unsigned int i = 0; i < hcalSF.size(); i++)
716  cout << (i == 0 ? "" : ",") << int(hcalSF[i] * 1000.) / 1000.;
717  cout << "]" << endl;
718  }
719  std::vector<double> hfSF = ptr1->layer1HFScaleFactors();
720  cout << " layer1HFScaleFactors= [" << hfSF.size() << "] " << flush;
721  int _hfSF[hfSF.size()];
722  for (unsigned int i = 0; i < hfSF.size(); i++)
723  _hfSF[i] = int(hfSF[i] * 100000.);
724  cout << hash(_hfSF, sizeof(int) * hfSF.size()) << endl;
725  if (printHfSF) {
726  cout << endl << " [" << endl;
727  for (unsigned int i = 0; i < hfSF.size(); i++)
728  cout << (i == 0 ? "" : ",") << int(hfSF[i] * 1000.) / 1000.;
729  cout << "]" << endl;
730  }
731 
732  std::vector<int> ecalScaleET = ptr1->layer1ECalScaleETBins();
733  cout << " layer1ECalScaleETBins= [";
734  for (unsigned int i = 0; i < ecalScaleET.size(); i++)
735  cout << (i == 0 ? "" : ",") << ecalScaleET[i];
736  cout << "]" << endl;
737  std::vector<int> hcalScaleET = ptr1->layer1HCalScaleETBins();
738  cout << " layer1HCalScaleETBins= [";
739  for (unsigned int i = 0; i < hcalScaleET.size(); i++)
740  cout << (i == 0 ? "" : ",") << hcalScaleET[i];
741  cout << "]" << endl;
742  std::vector<int> hfScaleET = ptr1->layer1HFScaleETBins();
743  cout << " layer1HFScaleETBins= [";
744  for (unsigned int i = 0; i < hfScaleET.size(); i++)
745  cout << (i == 0 ? "" : ",") << hfScaleET[i];
746  cout << "]" << endl;
747 
748  std::vector<unsigned> layer1ECalScalePhi = ptr1->layer1ECalScalePhiBins();
749  cout << " layer1ECalScalePhi= [";
750  for (unsigned int i = 0; i < layer1ECalScalePhi.size(); i++)
751  cout << (i == 0 ? "" : ",") << layer1ECalScalePhi[i];
752  cout << "]" << endl;
753  std::vector<unsigned> layer1HCalScalePhi = ptr1->layer1HCalScalePhiBins();
754  cout << " layer1HCalScalePhi= [";
755  for (unsigned int i = 0; i < layer1HCalScalePhi.size(); i++)
756  cout << (i == 0 ? "" : ",") << layer1HCalScalePhi[i];
757  cout << "]" << endl;
758  std::vector<unsigned> layer1HFScalePhiBins = ptr1->layer1HFScalePhiBins();
759  cout << " layer1HFScalePhiBins= [";
760  for (unsigned int i = 0; i < layer1HFScalePhiBins.size(); i++)
761  cout << (i == 0 ? "" : ",") << layer1HFScalePhiBins[i];
762  cout << "]" << endl;
763 
764  // std::vector<unsigned> layer1SecondStageLUT = ptr1->layer1SecondStageLUT();
765  // cout<<" layer1HFScalePhiBins= ["; for(unsigned int i=0; i<layer1SecondStageLUT.size(); i++) cout<<(i==0?"":",")<<layer1SecondStageLUT[i]; cout<<"]"<<endl;
766 }
767 
771 
unsigned jetBypassPUS() const
std::string const & egShapeIdType() const
constexpr int32_t ceil(float num)
double tauMaxJetIsolationB() const
std::vector< unsigned > const & layer1HFScalePhiBins() const
void openssl_init()
Definition: openssl_init.cc:5
unsigned egIsoAreaNrTowersPhi() const
bool doTowerEncoding() const
unsigned int maxSize() const
Definition: LUT.h:55
double etSumCentUpper(unsigned centClass) const
double etSumCentLower(unsigned centClass) const
l1t::LUT * jetCalibrationLUT()
std::string const & etSumEcalSumPUSType() const
unsigned etSumBypassEcalSumPUS() const
l1t::LUT * metCalibrationLUT()
const std::vector< double > & tauPUSParams() const
unsigned egCalibrationVersion() const
std::vector< unsigned > const & layer1ECalScalePhiBins() const
double towerLsbE() const
l1t::LUT const * egIsolationLUT() const
l1t::LUT * metHFPhiCalibrationLUT()
std::string hash(void *buf, size_t len) const
unsigned tauIsoAreaNrTowersEta() const
std::string const & etSumEttCalibrationType() const
std::vector< double > const & egCalibrationParams() const
bool empty() const
Definition: LUT.h:58
std::vector< double > const & regionPUSParams() const
double tauMaxPtTauVeto() const
const std::string & egPUSType() const
int egMinPtJetIsolation() const
std::vector< int > minimumBiasThresholds() const
l1t::LUT * tauTrimmingShapeVetoLUT()
unsigned egShapeIdVersion() const
std::vector< int > const & layer1ECalScaleETBins() const
double jetSeedThreshold() const
double etSumEtThreshold(unsigned isum) const
#define EVP_MD_CTX_free
Definition: openssl_init.h:7
std::string const & metCalibrationType() const
std::vector< double > const & layer1HCalScaleFactors() const
double egNeighbourThreshold() const
unsigned egBypassEGVetos() const
l1t::LUT * egCompressShapesLUT()
double egHcalThreshold() const
std::vector< double > const & tauCalibrationParams() const
unsigned egIsoVetoNrTowersPhi() const
l1t::LUT * tauIsolationLUT2()
int iEvent
Definition: GenABIO.cc:224
int egMinPtHOverEIsolation() const
std::string const & jetCalibrationType() const
int etSumEtaMax(unsigned isum) const
unsigned etSumBypassMetPUS() const
std::vector< double > const & layer1ECalScaleFactors() const
int etSumEtaMin(unsigned isum) const
unsigned egBypassShape() const
double regionLsb() const
std::string const & etSumEcalSumCalibrationType() const
std::string const & etSumMetPUSType() const
#define EVP_MD_CTX_new
Definition: openssl_init.h:6
int data(unsigned int address) const
Definition: LUT.h:46
edm::ESGetToken< l1t::CaloParams, L1TCaloStage2ParamsRcd > stage2ParamsToken_
double egMaxHcalEt() const
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
unsigned egBypassECALFG() const
double tauMaxJetIsolationA() const
unsigned egBypassExtHOverE() const
std::string const & egCalibrationType() const
double egSeedThreshold() const
~L1TCaloParamsViewer(void) override
l1t::LUT * jetCompressPtLUT()
double towerLsbH() const
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:130
L1TCaloParamsViewer(const edm::ParameterSet &pset)
l1t::LUT const * tauEtToHFRingEtLUT() const
std::string const & etSumEttPUSType() const
Log< level::Info, false > LogInfo
l1t::LUT * etSumEcalSumCalibrationLUT()
l1t::LUT const * egCalibrationLUT() const
l1t::LUT * metHFCalibrationLUT()
std::string const & tauCalibrationType() const
std::string tauPUSType() const
int centralityRegionMask() const
int egMaxPtHOverEIsolation() const
unsigned tauIsoVetoNrTowersPhi() const
unsigned etSumBypassEttPUS() const
edm::ESGetToken< l1t::CaloParams, L1TCaloParamsRcd > paramsToken_
std::string const & metHFCalibrationType() const
double egMaxPtHOverE() const
std::vector< int > const & layer1HCalScaleETBins() const
int egMaxPtJetIsolation() const
std::vector< int > const & layer1HFScaleETBins() const
l1t::LUT * tauCalibrationLUT()
double towerLsbSum() const
l1t::LUT * etSumEttCalibrationLUT()
l1t::LUT * tauIsolationLUT()
std::vector< double > const & layer1HFScaleFactors() const
unsigned egIsoAreaNrTowersEta() const
l1t::LUT * jetCompressEtaLUT()
tmp
align.sh
Definition: createJobs.py:716
double tauMinPtJetIsolationB() const
std::vector< unsigned > const & layer1HCalScalePhiBins() const
l1t::LUT * metPhiCalibrationLUT()
int pileUpTowerThreshold() const
l1t::LUT const * egIsolationLUT2() const
std::string const & egIsolationType() const
double jetNeighbourThreshold() const
const std::vector< double > & egPUSParams() const
std::string const & regionPUSType() const
l1t::LUT * etSumEcalSumPUSLUT()
unsigned jetPUSUsePhiRing() const
unsigned tauIsoAreaNrTowersPhi() const
void analyze(const edm::Event &, const edm::EventSetup &) override