CMS 3D CMS Logo

HcalHardcodeCalibrations.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 // Original Author: Fedor Ratnikov
3 //
4 //
5 
6 #include <memory>
7 #include <iostream>
8 #include <string>
9 #include <vector>
10 
19 
22 
26 
28 
29 //#define DebugLog
30 
31 // class decleration
32 //
33 
34 using namespace cms;
35 
36 namespace {
37 
38  const std::vector<HcalGenericDetId>& allCells(const HcalTopology& hcaltopology, bool killHE = false) {
39  static std::vector<HcalGenericDetId> result;
40  int maxDepth = hcaltopology.maxDepth();
41 
42 #ifdef DebugLog
43  std::cout << std::endl << "HcalHardcodeCalibrations: maxDepth = " << maxDepth << std::endl;
44 #endif
45 
46  if (result.empty()) {
48  for (unsigned int phi = 0; phi <= HcalDetId::kHcalPhiMask2; phi++) {
49  for (int depth = 1; depth <= maxDepth; depth++) {
50  for (int det = 1; det <= HcalForward; det++) {
51  HcalDetId cell((HcalSubdetector)det, eta, phi, depth);
52  if (killHE && HcalEndcap == cell.subdetId())
53  continue;
54  if (hcaltopology.valid(cell)) {
55  result.push_back(cell);
56 #ifdef DebugLog
57  std::cout << " HcalHardcodedCalibrations: det|eta|phi|depth = " << det << "|" << eta << "|" << phi
58  << "|" << depth << std::endl;
59 #endif
60  }
61  }
62  }
63  }
64  }
65  ZdcTopology zdctopology;
66  HcalZDCDetId zcell;
68  for (int depth = 1; depth < 6; depth++) {
69  zcell = HcalZDCDetId(section, true, depth);
70  if (zdctopology.valid(zcell))
71  result.push_back(zcell);
72  zcell = HcalZDCDetId(section, false, depth);
73  if (zdctopology.valid(zcell))
74  result.push_back(zcell);
75  }
77  for (int depth = 1; depth < 5; depth++) {
78  zcell = HcalZDCDetId(section, true, depth);
79  if (zdctopology.valid(zcell))
80  result.push_back(zcell);
81  zcell = HcalZDCDetId(section, false, depth);
82  if (zdctopology.valid(zcell))
83  result.push_back(zcell);
84  }
86  for (int depth = 1; depth < 3; depth++) {
87  zcell = HcalZDCDetId(section, true, depth);
88  if (zdctopology.valid(zcell))
89  result.push_back(zcell);
90  zcell = HcalZDCDetId(section, false, depth);
91  if (zdctopology.valid(zcell))
92  result.push_back(zcell);
93  }
95  for (int depth = 1; depth < 17; depth++) {
96  zcell = HcalZDCDetId(section, true, depth);
97  if (zdctopology.valid(zcell))
98  result.push_back(zcell);
99  zcell = HcalZDCDetId(section, false, depth);
100  if (zdctopology.valid(zcell))
101  result.push_back(zcell);
102  }
103 
104  // HcalGenTriggerTower (HcalGenericSubdetector = 5)
105  // NASTY HACK !!!
106  // - As no valid(cell) check found for HcalTrigTowerDetId
107  // to create HT cells (ieta=1-28, iphi=1-72)&(ieta=29-32, iphi=1,5,... 69)
108 
109  for (int vers = 0; vers <= HcalTrigTowerDetId::kHcalVersMask; ++vers) {
110  for (int depth = 0; depth <= HcalTrigTowerDetId::kHcalDepthMask; ++depth) {
112  for (int phi = 1; phi <= HcalTrigTowerDetId::kHcalPhiMask; phi++) {
113  HcalTrigTowerDetId cell(eta, phi, depth, vers);
114  if (hcaltopology.validHT(cell)) {
115  result.push_back(cell);
116 #ifdef DebugLog
117  std::cout << " HcalHardcodedCalibrations: eta|phi|depth|vers = " << eta << "|" << phi << "|" << depth
118  << "|" << vers << std::endl;
119 #endif
120  }
121  }
122  }
123  }
124  }
125  }
126  return result;
127  }
128 
129 } // namespace
130 
132  : hb_recalibration(nullptr),
133  he_recalibration(nullptr),
134  hf_recalibration(nullptr),
135  setHEdsegm(false),
136  setHBdsegm(false) {
137  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::HcalHardcodeCalibrations->...";
138 
139  if (iConfig.exists("GainWidthsForTrigPrims"))
140  switchGainWidthsForTrigPrims = iConfig.getParameter<bool>("GainWidthsForTrigPrims");
141  else
143 
144  //DB helper preparation
152  dbHardcode.useHBUpgrade(iConfig.getParameter<bool>("useHBUpgrade"));
153  dbHardcode.useHEUpgrade(iConfig.getParameter<bool>("useHEUpgrade"));
154  dbHardcode.useHFUpgrade(iConfig.getParameter<bool>("useHFUpgrade"));
155  dbHardcode.useHOUpgrade(iConfig.getParameter<bool>("useHOUpgrade"));
156  dbHardcode.testHFQIE10(iConfig.getParameter<bool>("testHFQIE10"));
157  dbHardcode.testHEPlan1(iConfig.getParameter<bool>("testHEPlan1"));
158  dbHardcode.setKillHE(iConfig.getParameter<bool>("killHE"));
159  dbHardcode.setSiPMCharacteristics(iConfig.getParameter<std::vector<edm::ParameterSet>>("SiPMCharacteristics"));
160 
161  useLayer0Weight = iConfig.getParameter<bool>("useLayer0Weight");
162  useIeta18depth1 = iConfig.getParameter<bool>("useIeta18depth1");
163  testHEPlan1 = iConfig.getParameter<bool>("testHEPlan1");
164  // HB, HE, HF recalibration preparation
165  iLumi = iConfig.getParameter<double>("iLumi");
166 
167  if (iLumi > 0.0) {
168  bool hb_recalib = iConfig.getParameter<bool>("HBRecalibration");
169  bool he_recalib = iConfig.getParameter<bool>("HERecalibration");
170  bool hf_recalib = iConfig.getParameter<bool>("HFRecalibration");
171  if (hb_recalib) {
173  std::make_unique<HBHERecalibration>(iLumi,
174  iConfig.getParameter<double>("HBreCalibCutoff"),
175  iConfig.getParameter<edm::FileInPath>("HBmeanenergies").fullPath());
176  }
177  if (he_recalib) {
179  std::make_unique<HBHERecalibration>(iLumi,
180  iConfig.getParameter<double>("HEreCalibCutoff"),
181  iConfig.getParameter<edm::FileInPath>("HEmeanenergies").fullPath());
182  }
183  if (hf_recalib && !iConfig.getParameter<edm::ParameterSet>("HFRecalParameterBlock").empty())
185  std::make_unique<HFRecalibration>(iConfig.getParameter<edm::ParameterSet>("HFRecalParameterBlock"));
186 
187 #ifdef DebugLog
188  std::cout << " HcalHardcodeCalibrations: iLumi = " << iLumi << std::endl;
189 #endif
190  }
191 
192  std::vector<std::string> toGet = iConfig.getUntrackedParameter<std::vector<std::string>>("toGet");
193  for (auto& objectName : toGet) {
194  bool all = objectName == "all";
195 #ifdef DebugLog
196  std::cout << "Load parameters for " << objectName << std::endl;
197 #endif
198  if ((objectName == "Pedestals") || all) {
200  findingRecord<HcalPedestalsRcd>();
201  }
202  if ((objectName == "PedestalWidths") || all) {
204  findingRecord<HcalPedestalWidthsRcd>();
205  }
206  if ((objectName == "EffectivePedestals") || all) {
209  .consumes();
210  findingRecord<HcalPedestalsRcd>();
211  }
212  if ((objectName == "EffectivePedestalWidths") || all) {
215  .consumes();
216  findingRecord<HcalPedestalWidthsRcd>();
217  }
218  if ((objectName == "Gains") || all) {
220  findingRecord<HcalGainsRcd>();
221  }
222  if ((objectName == "GainWidths") || all) {
224  findingRecord<HcalGainWidthsRcd>();
225  }
226  if ((objectName == "QIEData") || all) {
228  findingRecord<HcalQIEDataRcd>();
229  }
230  if ((objectName == "QIETypes") || all) {
232  findingRecord<HcalQIETypesRcd>();
233  }
234  if ((objectName == "ChannelQuality") || (objectName == "channelQuality") || all) {
236  findingRecord<HcalChannelQualityRcd>();
237  }
238  if ((objectName == "ElectronicsMap") || (objectName == "electronicsMap") || all) {
240  findingRecord<HcalElectronicsMapRcd>();
241  }
242  if ((objectName == "ZSThresholds") || (objectName == "zsThresholds") || all) {
244  findingRecord<HcalZSThresholdsRcd>();
245  }
246  if ((objectName == "RespCorrs") || (objectName == "ResponseCorrection") || all) {
248  topoTokens_[kRespCorrs] = c.consumes();
249  if (he_recalibration) {
250  heDarkeningToken_ = c.consumes(edm::ESInputTag("", "HE"));
251  }
252  if (hb_recalibration) {
253  hbDarkeningToken_ = c.consumes(edm::ESInputTag("", "HB"));
254  }
255  findingRecord<HcalRespCorrsRcd>();
256  }
257  if ((objectName == "LUTCorrs") || (objectName == "LUTCorrection") || all) {
259  findingRecord<HcalLUTCorrsRcd>();
260  }
261  if ((objectName == "PFCorrs") || (objectName == "PFCorrection") || all) {
263  findingRecord<HcalPFCorrsRcd>();
264  }
265  if ((objectName == "TimeCorrs") || (objectName == "TimeCorrection") || all) {
267  findingRecord<HcalTimeCorrsRcd>();
268  }
269  if ((objectName == "L1TriggerObjects") || (objectName == "L1Trigger") || all) {
272  findingRecord<HcalL1TriggerObjectsRcd>();
273  }
274  if ((objectName == "ValidationCorrs") || (objectName == "ValidationCorrection") || all) {
277  findingRecord<HcalValidationCorrsRcd>();
278  }
279  if ((objectName == "LutMetadata") || (objectName == "lutMetadata") || all) {
281  findingRecord<HcalLutMetadataRcd>();
282  }
283  if ((objectName == "DcsValues") || all) {
285  findingRecord<HcalDcsRcd>();
286  }
287  if ((objectName == "DcsMap") || (objectName == "dcsMap") || all) {
289  findingRecord<HcalDcsMapRcd>();
290  }
291  if ((objectName == "RecoParams") || all) {
293  findingRecord<HcalRecoParamsRcd>();
294  }
295  if ((objectName == "LongRecoParams") || all) {
297  findingRecord<HcalLongRecoParamsRcd>();
298  }
299  if ((objectName == "ZDCLowGainFractions") || all) {
302  findingRecord<HcalZDCLowGainFractionsRcd>();
303  }
304  if ((objectName == "MCParams") || all) {
306  findingRecord<HcalMCParamsRcd>();
307  }
308  if ((objectName == "FlagHFDigiTimeParams") || all) {
311  findingRecord<HcalFlagHFDigiTimeParamsRcd>();
312  }
313  if ((objectName == "FrontEndMap") || (objectName == "frontEndMap") || all) {
315  findingRecord<HcalFrontEndMapRcd>();
316  }
317  if ((objectName == "SiPMParameters") || all) {
319  findingRecord<HcalSiPMParametersRcd>();
320  }
321  if ((objectName == "SiPMCharacteristics") || all) {
323  findingRecord<HcalSiPMCharacteristicsRcd>();
324  }
325  if ((objectName == "TPChannelParameters") || all) {
328  findingRecord<HcalTPChannelParametersRcd>();
329  }
330  if ((objectName == "TPParameters") || all) {
332  findingRecord<HcalTPParametersRcd>();
333  }
334  }
335 }
336 
338 
339 //
340 // member functions
341 //
343  const edm::IOVSyncValue& iTime,
344  edm::ValidityInterval& oInterval) {
345  std::string record = iKey.name();
346  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::setIntervalFor-> key: " << record << " time: " << iTime.eventID()
347  << '/' << iTime.time().value();
349 }
350 
351 std::unique_ptr<HcalPedestals> HcalHardcodeCalibrations::producePedestals_(
353  std::string seff = eff ? "Effective" : "";
354  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produce" << seff << "Pedestals-> ...";
355 
356  auto const& topo = rec.get(token);
357  auto result = std::make_unique<HcalPedestals>(&topo, false);
358  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
359  for (auto cell : cells) {
360  HcalPedestal item = dbHardcode.makePedestal(cell, false, eff, &topo, iLumi);
361  result->addValues(item);
362  }
363  return result;
364 }
365 
366 std::unique_ptr<HcalPedestalWidths> HcalHardcodeCalibrations::producePedestalWidths_(
368  std::string seff = eff ? "Effective" : "";
369  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produce" << seff << "PedestalWidths-> ...";
370  auto const& topo = rec.get(token);
371  auto result = std::make_unique<HcalPedestalWidths>(&topo, false);
372  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
373  for (auto cell : cells) {
375  result->addValues(item);
376  }
377  return result;
378 }
379 
380 std::unique_ptr<HcalPedestals> HcalHardcodeCalibrations::producePedestals(const HcalPedestalsRcd& rec) {
381  return producePedestals_(rec, topoTokens_[kPedestals], false);
382 }
383 
384 std::unique_ptr<HcalPedestals> HcalHardcodeCalibrations::produceEffectivePedestals(const HcalPedestalsRcd& rec) {
386 }
387 
388 std::unique_ptr<HcalPedestalWidths> HcalHardcodeCalibrations::producePedestalWidths(const HcalPedestalWidthsRcd& rec) {
390 }
391 
393  const HcalPedestalWidthsRcd& rec) {
395 }
396 
397 std::unique_ptr<HcalGains> HcalHardcodeCalibrations::produceGains(const HcalGainsRcd& rec) {
398  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceGains-> ...";
399 
400  auto const& topo = rec.get(topoTokens_[kGains]);
401  auto result = std::make_unique<HcalGains>(&topo);
402  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
403  for (auto cell : cells) {
405  result->addValues(item);
406  }
407  return result;
408 }
409 
410 std::unique_ptr<HcalGainWidths> HcalHardcodeCalibrations::produceGainWidths(const HcalGainWidthsRcd& rec) {
411  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceGainWidths-> ...";
412 
413  auto const& topo = rec.get(topoTokens_[kGainWidths]);
414  auto result = std::make_unique<HcalGainWidths>(&topo);
415  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
416  for (auto cell : cells) {
417  // for Upgrade - include TrigPrims, for regular case - only HcalDetId
420  result->addValues(item);
421  } else if (!cell.isHcalTrigTowerDetId()) {
423  result->addValues(item);
424  }
425  }
426  return result;
427 }
428 
429 std::unique_ptr<HcalQIEData> HcalHardcodeCalibrations::produceQIEData(const HcalQIEDataRcd& rcd) {
430  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceQIEData-> ...";
431 
432  /*
433  std::cout << std::endl << ">>> HcalHardcodeCalibrations::produceQIEData"
434  << std::endl;
435  */
436 
437  auto const& topo = rcd.get(topoTokens_[kQIEData]);
438  auto result = std::make_unique<HcalQIEData>(&topo);
439  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
440  for (auto cell : cells) {
441  HcalQIECoder coder = dbHardcode.makeQIECoder(cell);
442  result->addCoder(coder);
443  }
444  return result;
445 }
446 
447 std::unique_ptr<HcalQIETypes> HcalHardcodeCalibrations::produceQIETypes(const HcalQIETypesRcd& rcd) {
448  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceQIETypes-> ...";
449  auto const& topo = rcd.get(topoTokens_[kQIETypes]);
450 
451  auto result = std::make_unique<HcalQIETypes>(&topo);
452  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
453  for (auto cell : cells) {
455  result->addValues(item);
456  }
457  return result;
458 }
459 
460 std::unique_ptr<HcalChannelQuality> HcalHardcodeCalibrations::produceChannelQuality(const HcalChannelQualityRcd& rcd) {
461  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceChannelQuality-> ...";
462  auto const& topo = rcd.get(topoTokens_[kChannelQuality]);
463 
464  auto result = std::make_unique<HcalChannelQuality>(&topo);
465  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
466  for (auto cell : cells) {
467  // Special: removal of (non-instrumented) layer "-1"("nose") = depth 1
468  // from Upgrade HE, either from
469  // (i) HEP17 sector in 2017 or
470  // (ii) the entire HE rin=18 from 2018 through Run 3.
471  // May require a revision by 2021.
472 
473  uint32_t status = 0;
474 
475  if (!(cell.isHcalZDCDetId())) {
476  HcalDetId hid = HcalDetId(cell);
477  int iphi = hid.iphi();
478  int ieta = hid.ieta();
479  int absieta = hid.ietaAbs();
480  int depth = hid.depth();
481 
482  // specific HEP17 sector (2017 only)
483  bool isHEP17 = (iphi >= 63) && (iphi <= 66) && (ieta > 0);
484  // |ieta|=18, depth=1
485  bool is18d1 = (absieta == 18) && (depth == 1);
486 
487  if ((!useIeta18depth1 && is18d1) && ((testHEPlan1 && isHEP17) || (!testHEPlan1))) {
488  status = 0x8002; // dead cell
489  }
490  }
491 
492  HcalChannelStatus item(cell.rawId(), status);
493  result->addValues(item);
494  }
495 
496  return result;
497 }
498 
499 std::unique_ptr<HcalRespCorrs> HcalHardcodeCalibrations::produceRespCorrs(const HcalRespCorrsRcd& rcd) {
500  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceRespCorrs-> ...";
501  auto const& topo = rcd.get(topoTokens_[kRespCorrs]);
502 
503  //set depth segmentation for HB/HE recalib - only happens once
505  std::vector<std::vector<int>> m_segmentation;
506  int maxEta = topo.lastHBHERing();
507  m_segmentation.resize(maxEta);
508  for (int i = 0; i < maxEta; i++) {
509  topo.getDepthSegmentation(i + 1, m_segmentation[i]);
510  }
511  if (he_recalibration && !setHEdsegm) {
512  he_recalibration->setup(m_segmentation, &rcd.get(heDarkeningToken_));
513  setHEdsegm = true;
514  }
515  if (hb_recalibration && !setHBdsegm) {
516  hb_recalibration->setup(m_segmentation, &rcd.get(hbDarkeningToken_));
517  setHBdsegm = true;
518  }
519  }
520 
521  auto result = std::make_unique<HcalRespCorrs>(&topo);
522  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
523  for (const auto& cell : cells) {
524  double corr = 1.0;
525 
526  //check for layer 0 reweighting: when depth 1 has only one layer, it is layer 0
527  if (useLayer0Weight &&
528  ((cell.genericSubdet() == HcalGenericDetId::HcalGenEndcap) ||
529  (cell.genericSubdet() == HcalGenericDetId::HcalGenBarrel)) &&
530  (HcalDetId(cell).depth() == 1 &&
531  dbHardcode.getLayersInDepth(HcalDetId(cell).ietaAbs(), HcalDetId(cell).depth(), &topo) == 1)) {
532  //layer 0 is thicker than other layers (9mm vs 3.7mm) and brighter (Bicron vs SCSN81)
533  //in Run1/Run2 (pre-2017 for HE), ODU for layer 0 had neutral density filter attached
534  //NDF was simulated as weight of 0.5 applied to Geant energy deposits
535  //for Phase1, NDF is removed - simulated as weight of 1.2 applied to Geant energy deposits
536  //to maintain RECO calibrations, move the layer 0 energy scale back to its previous state using respcorrs
537  corr = 0.5 / 1.2;
538  }
539 
540  if ((hb_recalibration != nullptr) && (cell.genericSubdet() == HcalGenericDetId::HcalGenBarrel)) {
541  int depth_ = HcalDetId(cell).depth();
542  int ieta_ = HcalDetId(cell).ieta();
543  corr *= hb_recalibration->getCorr(ieta_, depth_);
544 #ifdef DebugLog
545  std::cout << "HB ieta, depth = " << ieta_ << ", " << depth_ << " corr = " << corr << std::endl;
546 #endif
547  } else if ((he_recalibration != nullptr) && (cell.genericSubdet() == HcalGenericDetId::HcalGenEndcap)) {
548  int depth_ = HcalDetId(cell).depth();
549  int ieta_ = HcalDetId(cell).ieta();
550  corr *= he_recalibration->getCorr(ieta_, depth_);
551 #ifdef DebugLog
552  std::cout << "HE ieta, depth = " << ieta_ << ", " << depth_ << " corr = " << corr << std::endl;
553 #endif
554  } else if ((hf_recalibration != nullptr) && (cell.genericSubdet() == HcalGenericDetId::HcalGenForward)) {
555  int depth_ = HcalDetId(cell).depth();
556  int ieta_ = HcalDetId(cell).ieta();
557  corr = hf_recalibration->getCorr(ieta_, depth_, iLumi);
558 #ifdef DebugLog
559  std::cout << "HF ieta, depth = " << ieta_ << ", " << depth_ << " corr = " << corr << std::endl;
560 #endif
561  }
562 
563  HcalRespCorr item(cell.rawId(), corr);
564  result->addValues(item);
565  }
566  return result;
567 }
568 
569 std::unique_ptr<HcalLUTCorrs> HcalHardcodeCalibrations::produceLUTCorrs(const HcalLUTCorrsRcd& rcd) {
570  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceLUTCorrs-> ...";
571  auto const& topo = rcd.get(topoTokens_[kLUTCorrs]);
572 
573  auto result = std::make_unique<HcalLUTCorrs>(&topo);
574  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
575  for (auto cell : cells) {
576  HcalLUTCorr item(cell.rawId(), 1.0);
577  result->addValues(item);
578  }
579  return result;
580 }
581 
582 std::unique_ptr<HcalPFCorrs> HcalHardcodeCalibrations::producePFCorrs(const HcalPFCorrsRcd& rcd) {
583  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::producePFCorrs-> ...";
584  auto const& topo = rcd.get(topoTokens_[kPFCorrs]);
585 
586  auto result = std::make_unique<HcalPFCorrs>(&topo);
587  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
588  for (auto cell : cells) {
589  HcalPFCorr item(cell.rawId(), 1.0);
590  result->addValues(item);
591  }
592  return result;
593 }
594 
595 std::unique_ptr<HcalTimeCorrs> HcalHardcodeCalibrations::produceTimeCorrs(const HcalTimeCorrsRcd& rcd) {
596  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceTimeCorrs-> ...";
597  auto const& topo = rcd.get(topoTokens_[kTimeCorrs]);
598 
599  auto result = std::make_unique<HcalTimeCorrs>(&topo);
600  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
601  for (auto cell : cells) {
602  HcalTimeCorr item(cell.rawId(), 0.0);
603  result->addValues(item);
604  }
605  return result;
606 }
607 
608 std::unique_ptr<HcalZSThresholds> HcalHardcodeCalibrations::produceZSThresholds(const HcalZSThresholdsRcd& rcd) {
609  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceZSThresholds-> ...";
610  auto const& topo = rcd.get(topoTokens_[kZSThresholds]);
611 
612  auto result = std::make_unique<HcalZSThresholds>(&topo);
613  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
614  for (auto cell : cells) {
616  result->addValues(item);
617  }
618  return result;
619 }
620 
621 std::unique_ptr<HcalL1TriggerObjects> HcalHardcodeCalibrations::produceL1TriggerObjects(
622  const HcalL1TriggerObjectsRcd& rcd) {
623  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceL1TriggerObjects-> ...";
624  auto const& topo = rcd.get(topoTokens_[kL1TriggerObjects]);
625 
626  auto result = std::make_unique<HcalL1TriggerObjects>(&topo);
627  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
628  for (auto cell : cells) {
629  HcalL1TriggerObject item(cell.rawId(), 0., 1., 0);
630  result->addValues(item);
631  }
632  // add tag and algo values
633  result->setTagString("hardcoded");
634  result->setAlgoString("hardcoded");
635  return result;
636 }
637 
638 std::unique_ptr<HcalElectronicsMap> HcalHardcodeCalibrations::produceElectronicsMap(const HcalElectronicsMapRcd& rcd) {
639  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceElectronicsMap-> ...";
640  auto const& topo = rcd.get(topoTokens_[kElectronicsMap]);
641 
642  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
644 }
645 
646 std::unique_ptr<HcalValidationCorrs> HcalHardcodeCalibrations::produceValidationCorrs(
647  const HcalValidationCorrsRcd& rcd) {
648  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceValidationCorrs-> ...";
649  auto const& topo = rcd.get(topoTokens_[kValidationCorrs]);
650 
651  auto result = std::make_unique<HcalValidationCorrs>(&topo);
652  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
653  for (auto cell : cells) {
654  HcalValidationCorr item(cell.rawId(), 1.0);
655  result->addValues(item);
656  }
657  return result;
658 }
659 
660 std::unique_ptr<HcalLutMetadata> HcalHardcodeCalibrations::produceLutMetadata(const HcalLutMetadataRcd& rcd) {
661  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceLutMetadata-> ...";
662  auto const& topo = rcd.get(topoTokens_[kLutMetadata]);
663 
664  auto result = std::make_unique<HcalLutMetadata>(&topo);
665 
666  result->setRctLsb(0.5);
667  result->setNominalGain(0.177); // for HBHE SiPMs
668 
669  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
670  for (const auto& cell : cells) {
671  float rcalib = 1.;
672  int granularity = 1;
673  int threshold = 0;
674 
675  if (cell.isHcalTrigTowerDetId()) {
676  rcalib = 0.;
677  }
678 
679  HcalLutMetadatum item(cell.rawId(), rcalib, granularity, threshold);
680  result->addValues(item);
681  }
682 
683  return result;
684 }
685 
686 std::unique_ptr<HcalDcsValues> HcalHardcodeCalibrations::produceDcsValues(const HcalDcsRcd& rcd) {
687  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceDcsValues-> ...";
688  auto result = std::make_unique<HcalDcsValues>();
689  return result;
690 }
691 
692 std::unique_ptr<HcalDcsMap> HcalHardcodeCalibrations::produceDcsMap(const HcalDcsMapRcd& rcd) {
693  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceDcsMap-> ...";
694 
696 }
697 
698 std::unique_ptr<HcalRecoParams> HcalHardcodeCalibrations::produceRecoParams(const HcalRecoParamsRcd& rec) {
699  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceRecoParams-> ...";
700  auto const& topo = rec.get(topoTokens_[kRecoParams]);
701 
702  auto result = std::make_unique<HcalRecoParams>(&topo);
703  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
704  for (auto cell : cells) {
706  result->addValues(item);
707  }
708  return result;
709 }
710 
711 std::unique_ptr<HcalTimingParams> HcalHardcodeCalibrations::produceTimingParams(const HcalTimingParamsRcd& rec) {
712  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceTimingParams-> ...";
713  auto const& topo = rec.get(topoTokens_[kTimingParams]);
714 
715  auto result = std::make_unique<HcalTimingParams>(&topo);
716  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
717  for (auto cell : cells) {
719  result->addValues(item);
720  }
721  return result;
722 }
723 
724 std::unique_ptr<HcalLongRecoParams> HcalHardcodeCalibrations::produceLongRecoParams(const HcalLongRecoParamsRcd& rec) {
725  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceLongRecoParams-> ...";
726  auto const& topo = rec.get(topoTokens_[kLongRecoParams]);
727 
728  auto result = std::make_unique<HcalLongRecoParams>(&topo);
729  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
730  std::vector<unsigned int> mSignal;
731  mSignal.push_back(4);
732  mSignal.push_back(5);
733  mSignal.push_back(6);
734  std::vector<unsigned int> mNoise;
735  mNoise.push_back(1);
736  mNoise.push_back(2);
737  mNoise.push_back(3);
738  for (auto cell : cells) {
739  if (cell.isHcalZDCDetId()) {
740  HcalLongRecoParam item(cell.rawId(), mSignal, mNoise);
741  result->addValues(item);
742  }
743  }
744  return result;
745 }
746 
747 std::unique_ptr<HcalZDCLowGainFractions> HcalHardcodeCalibrations::produceZDCLowGainFractions(
748  const HcalZDCLowGainFractionsRcd& rec) {
749  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceZDCLowGainFractions-> ...";
750  auto const& topo = rec.get(topoTokens_[kZDCLowGainFractions]);
751 
752  auto result = std::make_unique<HcalZDCLowGainFractions>(&topo);
753  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
754  for (auto cell : cells) {
755  HcalZDCLowGainFraction item(cell.rawId(), 0.0);
756  result->addValues(item);
757  }
758  return result;
759 }
760 
761 std::unique_ptr<HcalMCParams> HcalHardcodeCalibrations::produceMCParams(const HcalMCParamsRcd& rec) {
762  // std::cout << std::endl << " .... HcalHardcodeCalibrations::produceMCParams ->"<< std::endl;
763 
764  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceMCParams-> ...";
765  auto const& topo = rec.get(topoTokens_[kMCParams]);
766  auto result = std::make_unique<HcalMCParams>(&topo);
767  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
768  for (auto cell : cells) {
770  result->addValues(item);
771  }
772  return result;
773 }
774 
775 std::unique_ptr<HcalFlagHFDigiTimeParams> HcalHardcodeCalibrations::produceFlagHFDigiTimeParams(
776  const HcalFlagHFDigiTimeParamsRcd& rec) {
777  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceFlagHFDigiTimeParams-> ...";
778  auto const& topo = rec.get(topoTokens_[kFlagHFDigiTimeParams]);
779 
780  auto result = std::make_unique<HcalFlagHFDigiTimeParams>(&topo);
781  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
782 
783  std::vector<double> coef;
784  coef.push_back(0.93);
785  coef.push_back(-0.38275);
786  coef.push_back(-0.012667);
787 
788  for (auto cell : cells) {
789  HcalFlagHFDigiTimeParam item(cell.rawId(),
790  1, //firstsample
791  3, // samplestoadd
792  2, //expectedpeak
793  40., // min energy threshold
794  coef // coefficients
795  );
796  result->addValues(item);
797  }
798  return result;
799 }
800 
801 std::unique_ptr<HcalFrontEndMap> HcalHardcodeCalibrations::produceFrontEndMap(const HcalFrontEndMapRcd& rec) {
802  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceFrontEndMap-> ...";
803  auto const& topo = rec.get(topoTokens_[kFrontEndMap]);
804 
805  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
806 
808 }
809 
810 std::unique_ptr<HcalSiPMParameters> HcalHardcodeCalibrations::produceSiPMParameters(const HcalSiPMParametersRcd& rec) {
811  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceSiPMParameters-> ...";
812  auto const& topo = rec.get(topoTokens_[kSiPMParameters]);
813 
814  auto result = std::make_unique<HcalSiPMParameters>(&topo);
815  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
816  for (auto cell : cells) {
818  result->addValues(item);
819  }
820  return result;
821 }
822 
823 std::unique_ptr<HcalSiPMCharacteristics> HcalHardcodeCalibrations::produceSiPMCharacteristics(
824  const HcalSiPMCharacteristicsRcd& rcd) {
825  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceSiPMCharacteristics-> ...";
826 
828 }
829 
830 std::unique_ptr<HcalTPChannelParameters> HcalHardcodeCalibrations::produceTPChannelParameters(
831  const HcalTPChannelParametersRcd& rec) {
832  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceTPChannelParameters-> ...";
833  auto const& topo = rec.get(topoTokens_[kTPChannelParameters]);
834 
835  auto result = std::make_unique<HcalTPChannelParameters>(&topo);
836  const std::vector<HcalGenericDetId>& cells = allCells(topo, dbHardcode.killHE());
837  for (auto cell : cells) {
839  result->addValues(item);
840  }
841  return result;
842 }
843 
844 std::unique_ptr<HcalTPParameters> HcalHardcodeCalibrations::produceTPParameters(const HcalTPParametersRcd& rcd) {
845  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceTPParameters-> ...";
846 
847  auto result = std::make_unique<HcalTPParameters>();
849  return result;
850 }
851 
854  desc.add<double>("iLumi", -1.);
855  desc.add<bool>("HBRecalibration", false);
856  desc.add<double>("HBreCalibCutoff", 20.);
857  desc.add<edm::FileInPath>("HBmeanenergies", edm::FileInPath("CalibCalorimetry/HcalPlugins/data/meanenergiesHB.txt"));
858  desc.add<bool>("HERecalibration", false);
859  desc.add<double>("HEreCalibCutoff", 20.);
860  desc.add<edm::FileInPath>("HEmeanenergies", edm::FileInPath("CalibCalorimetry/HcalPlugins/data/meanenergiesHE.txt"));
861  desc.add<bool>("HFRecalibration", false);
862  desc.add<bool>("GainWidthsForTrigPrims", false);
863  desc.add<bool>("useHBUpgrade", false);
864  desc.add<bool>("useHEUpgrade", false);
865  desc.add<bool>("useHFUpgrade", false);
866  desc.add<bool>("useHOUpgrade", true);
867  desc.add<bool>("testHFQIE10", false);
868  desc.add<bool>("testHEPlan1", false);
869  desc.add<bool>("killHE", false);
870  desc.add<bool>("useLayer0Weight", false);
871  desc.add<bool>("useIeta18depth1", true);
872  desc.addUntracked<std::vector<std::string>>("toGet", std::vector<std::string>());
873  desc.addUntracked<bool>("fromDDD", false);
874 
876  desc_hb.add<std::vector<double>>("gain", std::vector<double>({0.19}));
877  desc_hb.add<std::vector<double>>("gainWidth", std::vector<double>({0.0}));
878  desc_hb.add<double>("pedestal", 3.0);
879  desc_hb.add<double>("pedestalWidth", 0.55);
880  desc_hb.add<int>("zsThreshold", 8);
881  desc_hb.add<std::vector<double>>("qieOffset", std::vector<double>({-0.49, 1.8, 7.2, 37.9}));
882  desc_hb.add<std::vector<double>>("qieSlope", std::vector<double>({0.912, 0.917, 0.922, 0.923}));
883  desc_hb.add<int>("qieType", 0);
884  desc_hb.add<int>("mcShape", 125);
885  desc_hb.add<int>("recoShape", 105);
886  desc_hb.add<double>("photoelectronsToAnalog", 0.0);
887  desc_hb.add<std::vector<double>>("darkCurrent", std::vector<double>({0.0}));
888  desc_hb.add<bool>("doRadiationDamage", false);
889  desc.add<edm::ParameterSetDescription>("hb", desc_hb);
890 
891  edm::ParameterSetDescription desc_hbRaddam;
892  desc_hbRaddam.add<double>("temperatureBase", 20.0);
893  desc_hbRaddam.add<double>("temperatureNew", -5.0);
894  desc_hbRaddam.add<double>("intlumiOffset", 150);
895  desc_hbRaddam.add<double>("depVsTemp", 0.0631);
896  desc_hbRaddam.add<double>("intlumiToNeutrons", 3.67e8);
897  desc_hbRaddam.add<std::vector<double>>("depVsNeutrons", {5.69e-11, 7.90e-11});
898 
899  edm::ParameterSetDescription desc_hbUpgrade;
900  desc_hbUpgrade.add<std::vector<double>>("gain", std::vector<double>({0.00111111111111}));
901  desc_hbUpgrade.add<std::vector<double>>("gainWidth", std::vector<double>({0}));
902  desc_hbUpgrade.add<double>("pedestal", 18.0);
903  desc_hbUpgrade.add<double>("pedestalWidth", 5.0);
904  desc_hbUpgrade.add<int>("zsThreshold", 3);
905  desc_hbUpgrade.add<std::vector<double>>("qieOffset", std::vector<double>({0.0, 0.0, 0.0, 0.0}));
906  desc_hbUpgrade.add<std::vector<double>>("qieSlope", std::vector<double>({0.333, 0.333, 0.333, 0.333}));
907  desc_hbUpgrade.add<int>("qieType", 2);
908  desc_hbUpgrade.add<int>("mcShape", 206);
909  desc_hbUpgrade.add<int>("recoShape", 206);
910  desc_hbUpgrade.add<double>("photoelectronsToAnalog", 57.5);
911  desc_hbUpgrade.add<std::vector<double>>("darkCurrent", std::vector<double>({0.055}));
912  desc_hbUpgrade.add<bool>("doRadiationDamage", true);
913  desc_hbUpgrade.add<edm::ParameterSetDescription>("radiationDamage", desc_hbRaddam);
914  desc.add<edm::ParameterSetDescription>("hbUpgrade", desc_hbUpgrade);
915 
917  desc_he.add<std::vector<double>>("gain", std::vector<double>({0.23}));
918  desc_he.add<std::vector<double>>("gainWidth", std::vector<double>({0}));
919  desc_he.add<double>("pedestal", 3.0);
920  desc_he.add<double>("pedestalWidth", 0.79);
921  desc_he.add<int>("zsThreshold", 9);
922  desc_he.add<std::vector<double>>("qieOffset", std::vector<double>({-0.38, 2.0, 7.6, 39.6}));
923  desc_he.add<std::vector<double>>("qieSlope", std::vector<double>({0.912, 0.916, 0.92, 0.922}));
924  desc_he.add<int>("qieType", 0);
925  desc_he.add<int>("mcShape", 125);
926  desc_he.add<int>("recoShape", 105);
927  desc_he.add<double>("photoelectronsToAnalog", 0.0);
928  desc_he.add<std::vector<double>>("darkCurrent", std::vector<double>({0.0}));
929  desc_he.add<bool>("doRadiationDamage", false);
930  desc.add<edm::ParameterSetDescription>("he", desc_he);
931 
932  edm::ParameterSetDescription desc_heRaddam;
933  desc_heRaddam.add<double>("temperatureBase", 20.0);
934  desc_heRaddam.add<double>("temperatureNew", 5.0);
935  desc_heRaddam.add<double>("intlumiOffset", 75);
936  desc_heRaddam.add<double>("depVsTemp", 0.0631);
937  desc_heRaddam.add<double>("intlumiToNeutrons", 2.92e8);
938  desc_heRaddam.add<std::vector<double>>("depVsNeutrons", {5.69e-11, 7.90e-11});
939 
940  edm::ParameterSetDescription desc_heUpgrade;
941  desc_heUpgrade.add<std::vector<double>>("gain", std::vector<double>({0.00111111111111}));
942  desc_heUpgrade.add<std::vector<double>>("gainWidth", std::vector<double>({0}));
943  desc_heUpgrade.add<double>("pedestal", 18.0);
944  desc_heUpgrade.add<double>("pedestalWidth", 5.0);
945  desc_heUpgrade.add<int>("zsThreshold", 3);
946  desc_heUpgrade.add<std::vector<double>>("qieOffset", std::vector<double>({0.0, 0.0, 0.0, 0.0}));
947  desc_heUpgrade.add<std::vector<double>>("qieSlope", std::vector<double>({0.333, 0.333, 0.333, 0.333}));
948  desc_heUpgrade.add<int>("qieType", 2);
949  desc_heUpgrade.add<int>("mcShape", 206);
950  desc_heUpgrade.add<int>("recoShape", 206);
951  desc_heUpgrade.add<double>("photoelectronsToAnalog", 57.5);
952  desc_heUpgrade.add<std::vector<double>>("darkCurrent", std::vector<double>({0.055}));
953  desc_heUpgrade.add<bool>("doRadiationDamage", true);
954  desc_heUpgrade.add<edm::ParameterSetDescription>("radiationDamage", desc_heRaddam);
955  desc.add<edm::ParameterSetDescription>("heUpgrade", desc_heUpgrade);
956 
958  desc_hf.add<std::vector<double>>("gain", std::vector<double>({0.14, 0.135}));
959  desc_hf.add<std::vector<double>>("gainWidth", std::vector<double>({0.0, 0.0}));
960  desc_hf.add<double>("pedestal", 3.0);
961  desc_hf.add<double>("pedestalWidth", 0.84);
962  desc_hf.add<int>("zsThreshold", -9999);
963  desc_hf.add<std::vector<double>>("qieOffset", std::vector<double>({-0.87, 1.4, 7.8, -29.6}));
964  desc_hf.add<std::vector<double>>("qieSlope", std::vector<double>({0.359, 0.358, 0.36, 0.367}));
965  desc_hf.add<int>("qieType", 0);
966  desc_hf.add<int>("mcShape", 301);
967  desc_hf.add<int>("recoShape", 301);
968  desc_hf.add<double>("photoelectronsToAnalog", 0.0);
969  desc_hf.add<std::vector<double>>("darkCurrent", std::vector<double>({0.0}));
970  desc_hf.add<bool>("doRadiationDamage", false);
971  desc.add<edm::ParameterSetDescription>("hf", desc_hf);
972 
973  edm::ParameterSetDescription desc_hfUpgrade;
974  desc_hfUpgrade.add<std::vector<double>>("gain", std::vector<double>({0.14, 0.135}));
975  desc_hfUpgrade.add<std::vector<double>>("gainWidth", std::vector<double>({0.0, 0.0}));
976  desc_hfUpgrade.add<double>("pedestal", 13.33);
977  desc_hfUpgrade.add<double>("pedestalWidth", 3.33);
978  desc_hfUpgrade.add<int>("zsThreshold", -9999);
979  desc_hfUpgrade.add<std::vector<double>>("qieOffset", std::vector<double>({0.0697, -0.7405, 12.38, -671.9}));
980  desc_hfUpgrade.add<std::vector<double>>("qieSlope", std::vector<double>({0.297, 0.298, 0.298, 0.313}));
981  desc_hfUpgrade.add<int>("qieType", 1);
982  desc_hfUpgrade.add<int>("mcShape", 301);
983  desc_hfUpgrade.add<int>("recoShape", 301);
984  desc_hfUpgrade.add<double>("photoelectronsToAnalog", 0.0);
985  desc_hfUpgrade.add<std::vector<double>>("darkCurrent", std::vector<double>({0.0}));
986  desc_hfUpgrade.add<bool>("doRadiationDamage", false);
987  desc.add<edm::ParameterSetDescription>("hfUpgrade", desc_hfUpgrade);
988 
989  edm::ParameterSetDescription desc_hfrecal;
990  desc_hfrecal.add<std::vector<double>>("HFdepthOneParameterA", std::vector<double>());
991  desc_hfrecal.add<std::vector<double>>("HFdepthOneParameterB", std::vector<double>());
992  desc_hfrecal.add<std::vector<double>>("HFdepthTwoParameterA", std::vector<double>());
993  desc_hfrecal.add<std::vector<double>>("HFdepthTwoParameterB", std::vector<double>());
994  desc.add<edm::ParameterSetDescription>("HFRecalParameterBlock", desc_hfrecal);
995 
997  desc_ho.add<std::vector<double>>("gain", std::vector<double>({0.006, 0.0087}));
998  desc_ho.add<std::vector<double>>("gainWidth", std::vector<double>({0.0, 0.0}));
999  desc_ho.add<double>("pedestal", 11.0);
1000  desc_ho.add<double>("pedestalWidth", 0.57);
1001  desc_ho.add<int>("zsThreshold", 24);
1002  desc_ho.add<std::vector<double>>("qieOffset", std::vector<double>({-0.44, 1.4, 7.1, 38.5}));
1003  desc_ho.add<std::vector<double>>("qieSlope", std::vector<double>({0.907, 0.915, 0.92, 0.921}));
1004  desc_ho.add<int>("qieType", 0);
1005  desc_ho.add<int>("mcShape", 201);
1006  desc_ho.add<int>("recoShape", 201);
1007  desc_ho.add<double>("photoelectronsToAnalog", 4.0);
1008  desc_ho.add<std::vector<double>>("darkCurrent", std::vector<double>({0.0}));
1009  desc_ho.add<bool>("doRadiationDamage", false);
1010  desc.add<edm::ParameterSetDescription>("ho", desc_ho);
1011 
1012  edm::ParameterSetDescription validator_sipm;
1013  validator_sipm.add<int>("pixels", 1);
1014  validator_sipm.add<double>("crosstalk", 0);
1015  validator_sipm.add<double>("nonlin1", 1);
1016  validator_sipm.add<double>("nonlin2", 0);
1017  validator_sipm.add<double>("nonlin3", 0);
1018  std::vector<edm::ParameterSet> default_sipm(1);
1019  desc.addVPSet("SiPMCharacteristics", validator_sipm, default_sipm);
1020 
1021  descriptions.addDefault(desc);
1022 }
HcalTPChannelParametersRcd
Definition: HcalTPChannelParametersRcd.h:7
DBConfiguration_cff.toGet
toGet
Definition: DBConfiguration_cff.py:10
HcalLutMetadatum
Definition: HcalLutMetadatum.h:12
HcalDbHardcode::makeQIECoder
HcalQIECoder makeQIECoder(HcalGenericDetId fId) const
Definition: HcalDbHardcode.cc:184
HcalHardcodeCalibrations::hb_recalibration
std::unique_ptr< HBHERecalibration > hb_recalibration
Definition: HcalHardcodeCalibrations.h:143
mps_fire.i
i
Definition: mps_fire.py:428
HcalTrigTowerDetId::kHcalPhiMask
static const int kHcalPhiMask
Definition: HcalTrigTowerDetId.h:16
HcalDbHardcode::makeHardcodeSiPMCharacteristics
std::unique_ptr< HcalSiPMCharacteristics > makeHardcodeSiPMCharacteristics() const
Definition: HcalDbHardcode.cc:688
edm::ESInputTag
Definition: ESInputTag.h:87
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
HcalSiPMCharacteristicsRcd
Definition: HcalSiPMCharacteristicsRcd.h:4
HcalElectronicsMapRcd
Definition: HcalElectronicsMapRcd.h:8
HcalHardcodeCalibrations::kTimingParams
Definition: HcalHardcodeCalibrations.h:132
HcalLongRecoParamsRcd
Definition: HcalLongRecoParamsRcd.h:6
MessageLogger.h
funct::false
false
Definition: Factorize.h:29
HcalLutMetadataRcd
Definition: HcalLutMetadataRcd.h:25
HcalHardcodeCalibrations::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition: HcalHardcodeCalibrations.cc:342
ESHandle.h
HcalZDCDetId::HAD
Definition: HcalZDCDetId.h:23
hcalUnsuppressedDigis_cfi.killHE
killHE
Definition: hcalUnsuppressedDigis_cfi.py:12
HcalZDCDetId::Section
Section
Definition: HcalZDCDetId.h:23
HcalHardcodeCalibrations::kTimeCorrs
Definition: HcalHardcodeCalibrations.h:125
HcalHardcodeCalibrations::produceRecoParams
std::unique_ptr< HcalRecoParams > produceRecoParams(const HcalRecoParamsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:698
HcalDetId::iphi
constexpr int iphi() const
get the cell iphi
Definition: HcalDetId.h:157
HcalRespCorr
Definition: HcalRespCorr.h:12
HcalHardcodeCalibrations::produceLUTCorrs
std::unique_ptr< HcalLUTCorrs > produceLUTCorrs(const HcalLUTCorrsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:569
HcalChannelQualityRcd
Definition: HcalChannelQualityRcd.h:8
mps_update.status
status
Definition: mps_update.py:69
HcalDbHardcode::makeMCParam
HcalMCParam makeMCParam(HcalGenericDetId fId) const
Definition: HcalDbHardcode.cc:216
HcalDbHardcode::setHB
void setHB(HcalHardcodeParameters p)
Definition: HcalDbHardcode.h:54
HcalDbHardcode::setHE
void setHE(HcalHardcodeParameters p)
Definition: HcalDbHardcode.h:58
HcalGainsRcd
Definition: HcalGainsRcd.h:8
HcalDbHardcode::testHFQIE10
void testHFQIE10(bool b)
Definition: HcalDbHardcode.h:86
ValidityInterval.h
HcalL1TriggerObjectsRcd
Definition: HcalL1TriggerObjectsRcd.h:25
HcalDbHardcode::makeGain
HcalGain makeGain(HcalGenericDetId fId, bool fSmear=false) const
Definition: HcalDbHardcode.cc:157
gather_cfg.cout
cout
Definition: gather_cfg.py:144
HcalHardcodeCalibrations::kGainWidths
Definition: HcalHardcodeCalibrations.h:118
HcalTopology
Definition: HcalTopology.h:26
HcalTimeCorr
Definition: HcalTimeCorr.h:12
HcalDbHardcode::getLayersInDepth
int getLayersInDepth(int ieta, int depth, const HcalTopology *topo)
Definition: HcalDbHardcode.cc:615
HcalMCParamsRcd
Definition: HcalMCParamsRcd.h:6
HcalHardcodeCalibrations::produceTPParameters
std::unique_ptr< HcalTPParameters > produceTPParameters(const HcalTPParametersRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:844
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::ValidityInterval
Definition: ValidityInterval.h:28
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
HcalDbHardcode::killHE
const bool killHE() const
Definition: HcalDbHardcode.h:98
HcalHardcodeCalibrations::kMCParams
Definition: HcalHardcodeCalibrations.h:135
HcalHardcodeCalibrations::produceTimingParams
std::unique_ptr< HcalTimingParams > produceTimingParams(const HcalTimingParamsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:711
HcalHardcodeCalibrations::produceQIETypes
std::unique_ptr< HcalQIETypes > produceQIETypes(const HcalQIETypesRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:447
HcalDbHardcode::setKillHE
void setKillHE(bool b)
Definition: HcalDbHardcode.h:89
HcalGenericDetId::HcalGenEndcap
Definition: HcalGenericDetId.h:20
HcalDbHardcode::makeHardcodeTPParameters
void makeHardcodeTPParameters(HcalTPParameters &tppar) const
Definition: HcalDbHardcode.cc:716
HcalHardcodeCalibrations::kLUTCorrs
Definition: HcalHardcodeCalibrations.h:123
HcalGenericDetId.h
HcalHardcodeCalibrations::HcalHardcodeCalibrations
HcalHardcodeCalibrations(const edm::ParameterSet &)
Definition: HcalHardcodeCalibrations.cc:131
HcalRecNumberingRecord.h
HcalDetId::depth
constexpr int depth() const
get the tower depth
Definition: HcalDetId.h:164
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::Timestamp::value
TimeValue_t value() const
Definition: Timestamp.h:45
HcalHardcodeCalibrations::produceQIEData
std::unique_ptr< HcalQIEData > produceQIEData(const HcalQIEDataRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:429
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
HcalHardcodeCalibrations::kChannelQuality
Definition: HcalHardcodeCalibrations.h:121
HcalZDCDetId.h
HcalZSThreshold
Definition: HcalZSThreshold.h:13
HcalDbHardcode::makeHardcodeFrontEndMap
void makeHardcodeFrontEndMap(HcalFrontEndMap &emap, const std::vector< HcalGenericDetId > &cells) const
HcalGainWidthsRcd
Definition: HcalGainWidthsRcd.h:8
HcalLUTCorrsRcd
Definition: HcalLUTCorrsRcd.h:25
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
python.cmstools.all
def all(container)
workaround iterator generators for ROOT classes
Definition: cmstools.py:26
HcalDbHardcode::makeTimingParam
HcalTimingParam makeTimingParam(HcalGenericDetId fId) const
Definition: HcalDbHardcode.cc:454
HcalHardcodeCalibrations::produceTimeCorrs
std::unique_ptr< HcalTimeCorrs > produceTimeCorrs(const HcalTimeCorrsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:595
HcalHardcodeCalibrations::kValidationCorrs
Definition: HcalHardcodeCalibrations.h:129
HcalHardcodeCalibrations::producePFCorrs
std::unique_ptr< HcalPFCorrs > producePFCorrs(const HcalPFCorrsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:582
HcalHardcodeCalibrations::kRecoParams
Definition: HcalHardcodeCalibrations.h:131
HcalHardcodeCalibrations::kSiPMParameters
Definition: HcalHardcodeCalibrations.h:138
HLT_FULL_cff.maxDepth
maxDepth
Definition: HLT_FULL_cff.py:8735
HcalHardcodeCalibrations::produceFrontEndMap
std::unique_ptr< HcalFrontEndMap > produceFrontEndMap(const HcalFrontEndMapRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:801
HcalHardcodeParameters
Definition: HcalHardcodeParameters.h:9
HcalHardcodeCalibrations::useLayer0Weight
bool useLayer0Weight
Definition: HcalHardcodeCalibrations.h:152
FileInPath.h
ZdcTopology::valid
virtual bool valid(const HcalZDCDetId &id) const
Definition: ZdcTopology.cc:27
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
HcalTopology::maxDepth
int maxDepth(void) const
Definition: HcalTopology.cc:980
HcalHardcodeCalibrations::kEffectivePedestals
Definition: HcalHardcodeCalibrations.h:115
HcalHardcodeCalibrations::produceChannelQuality
std::unique_ptr< HcalChannelQuality > produceChannelQuality(const HcalChannelQualityRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:460
HcalZDCDetId
Definition: HcalZDCDetId.h:16
edm::FileInPath
Definition: FileInPath.h:64
HcalHardcodeCalibrations::heDarkeningToken_
edm::ESGetToken< HBHEDarkening, HBHEDarkeningRecord > heDarkeningToken_
Definition: HcalHardcodeCalibrations.h:147
HcalHardcodeCalibrations::produceFlagHFDigiTimeParams
std::unique_ptr< HcalFlagHFDigiTimeParams > produceFlagHFDigiTimeParams(const HcalFlagHFDigiTimeParamsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:775
HcalQIETypesRcd
Definition: HcalQIETypesRcd.h:25
HcalSiPMParametersRcd
Definition: HcalSiPMParametersRcd.h:7
HcalDbHardcode::makeHardcodeMap
std::unique_ptr< HcalElectronicsMap > makeHardcodeMap(const std::vector< HcalGenericDetId > &cells) const
Definition: HcalDbHardcode.cc:508
HcalRecoParam
Definition: HcalRecoParam.h:16
HcalHardcodeCalibrations::kQIETypes
Definition: HcalHardcodeCalibrations.h:120
HcalDbHardcode::makeHardcodeSiPMParameter
HcalSiPMParameter makeHardcodeSiPMParameter(HcalGenericDetId fId, const HcalTopology *topo, double intlumi)
Definition: HcalDbHardcode.cc:642
alignCSCRings.corr
dictionary corr
Definition: alignCSCRings.py:124
PVValHelper::eta
Definition: PVValidationHelpers.h:69
HcalDetId::kHcalPhiMask2
static constexpr uint32_t kHcalPhiMask2
Definition: HcalDetId.h:15
HcalChannelStatus
Definition: HcalChannelStatus.h:13
maxEta
double maxEta
Definition: PFJetBenchmarkAnalyzer.cc:76
HcalHardcodeCalibrations::~HcalHardcodeCalibrations
~HcalHardcodeCalibrations() override
Definition: HcalHardcodeCalibrations.cc:337
HcalDbHardcode::makePedestal
HcalPedestal makePedestal(HcalGenericDetId fId, bool fSmear, bool eff, const HcalTopology *topo, double intlumi)
Definition: HcalDbHardcode.cc:107
edm::es::Label
Definition: es_Label.h:56
HcalHardcodeCalibrations::kL1TriggerObjects
Definition: HcalHardcodeCalibrations.h:127
HcalHardcodeCalibrations.h
edm::eventsetup::EventSetupRecordKey::name
const char * name() const
Definition: EventSetupRecordKey.h:46
HcalHardcodeCalibrations::produceDcsMap
std::unique_ptr< HcalDcsMap > produceDcsMap(const HcalDcsMapRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:692
HcalTopology::validHT
bool validHT(const HcalTrigTowerDetId &id) const
Definition: HcalTopology.cc:239
HcalPedestalWidthsRcd
Definition: HcalPedestalWidthsRcd.h:8
HcalPedestal
Definition: HcalPedestal.h:15
HcalDbHardcode::useHEUpgrade
void useHEUpgrade(bool b)
Definition: HcalDbHardcode.h:83
edm::eventsetup::DependentRecordImplementation::get
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition: DependentRecordImplementation.h:103
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
HcalTPChannelParameter
Definition: HcalTPChannelParameter.h:7
HcalValidationCorrsRcd
Definition: HcalValidationCorrsRcd.h:25
HcalDcsRcd
Definition: HcalDcsRcd.h:5
HcalTPParametersRcd
Definition: HcalTPParametersRcd.h:4
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
HcalHardcodeCalibrations::kPedestals
Definition: HcalHardcodeCalibrations.h:113
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalGain
Definition: HcalGain.h:16
HcalZDCLowGainFraction
Definition: HcalZDCLowGainFraction.h:13
HcalHardcodeCalibrations::useIeta18depth1
bool useIeta18depth1
Definition: HcalHardcodeCalibrations.h:153
HcalTrigTowerDetId.h
HcalHardcodeCalibrations::setHBdsegm
bool setHBdsegm
Definition: HcalHardcodeCalibrations.h:151
HcalHardcodeCalibrations::produceValidationCorrs
std::unique_ptr< HcalValidationCorrs > produceValidationCorrs(const HcalValidationCorrsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:646
HcalL1TriggerObject
Definition: HcalL1TriggerObject.h:13
HcalHardcodeCalibrations::kRespCorrs
Definition: HcalHardcodeCalibrations.h:122
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:681
HcalZDCLowGainFractionsRcd
Definition: HcalZDCLowGainFractionsRcd.h:25
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
HcalHardcodeCalibrations::kFlagHFDigiTimeParams
Definition: HcalHardcodeCalibrations.h:136
edm::IOVSyncValue::eventID
const EventID & eventID() const
Definition: IOVSyncValue.h:40
HcalDbHardcode::makeHardcodeDcsMap
std::unique_ptr< HcalDcsMap > makeHardcodeDcsMap() const
Definition: HcalDbHardcode.cc:491
HcalDetId::ieta
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
edm::ParameterSet
Definition: ParameterSet.h:47
HcalPFCorrsRcd
Definition: HcalPFCorrsRcd.h:25
HcalZDCDetId::RPD
Definition: HcalZDCDetId.h:23
HcalHardcodeCalibrations::kPedestalWidths
Definition: HcalHardcodeCalibrations.h:114
HcalHardcodeCalibrations::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HcalHardcodeCalibrations.cc:852
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
PVValHelper::phi
Definition: PVValidationHelpers.h:68
HcalFlagHFDigiTimeParam
Definition: HcalFlagHFDigiTimeParam.h:25
HcalHardcodeCalibrations::produceGains
std::unique_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:397
HcalDbHardcode::makeGainWidth
HcalGainWidth makeGainWidth(HcalGenericDetId fId) const
Definition: HcalDbHardcode.cc:172
HcalDetId.h
HcalHardcodeCalibrations::produceEffectivePedestals
std::unique_ptr< HcalPedestals > produceEffectivePedestals(const HcalPedestalsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:384
HcalHardcodeCalibrations::produceEffectivePedestalWidths
std::unique_ptr< HcalPedestalWidths > produceEffectivePedestalWidths(const HcalPedestalWidthsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:392
HcalDetId
Definition: HcalDetId.h:12
createfilelist.int
int
Definition: createfilelist.py:10
HcalHardcodeCalibrations::kZDCLowGainFractions
Definition: HcalHardcodeCalibrations.h:134
HcalLongRecoParam
Definition: HcalLongRecoParam.h:15
HcalFrontEndMapRcd
Definition: HcalFrontEndMapRcd.h:7
HcalAllRcds.h
HcalHardcodeCalibrations::setHEdsegm
bool setHEdsegm
Definition: HcalHardcodeCalibrations.h:150
HcalHardcodeCalibrations::produceSiPMCharacteristics
std::unique_ptr< HcalSiPMCharacteristics > produceSiPMCharacteristics(const HcalSiPMCharacteristicsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:823
HcalGenericDetId::HcalGenBarrel
Definition: HcalGenericDetId.h:19
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
HcalSubdetector.h
HcalZSThresholdsRcd
Definition: HcalZSThresholdsRcd.h:25
HcalRespCorrsRcd
Definition: HcalRespCorrsRcd.h:27
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
HcalLUTCorr
Definition: HcalLUTCorr.h:15
HcalHardcodeCalibrations::kElectronicsMap
Definition: HcalHardcodeCalibrations.h:128
HcalTimingParamsRcd
Definition: HcalTimingParamsRcd.h:6
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord >
HcalQIECoder
Definition: HcalQIECoder.h:20
HcalDbHardcode::setSiPMCharacteristics
void setSiPMCharacteristics(std::vector< edm::ParameterSet > vps)
Definition: HcalDbHardcode.h:88
HcalHardcodeCalibrations::hbDarkeningToken_
edm::ESGetToken< HBHEDarkening, HBHEDarkeningRecord > hbDarkeningToken_
Definition: HcalHardcodeCalibrations.h:148
HcalHardcodeCalibrations::produceDcsValues
std::unique_ptr< HcalDcsValues > produceDcsValues(const HcalDcsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:686
HcalHardcodeCalibrations::kEffectivePedestalWidths
Definition: HcalHardcodeCalibrations.h:116
HcalSubdetector
HcalSubdetector
Definition: HcalAssistant.h:31
HcalForward
Definition: HcalAssistant.h:36
HcalTopology::valid
bool valid(const DetId &id) const override
Definition: HcalTopology.cc:225
HcalMCParam
Definition: HcalMCParam.h:29
HcalHardcodeCalibrations::produceSiPMParameters
std::unique_ptr< HcalSiPMParameters > produceSiPMParameters(const HcalSiPMParametersRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:810
HcalHardcodeCalibrations::testHEPlan1
bool testHEPlan1
Definition: HcalHardcodeCalibrations.h:154
HcalHardcodeCalibrations::kPFCorrs
Definition: HcalHardcodeCalibrations.h:124
HcalHardcodeCalibrations::iLumi
double iLumi
Definition: HcalHardcodeCalibrations.h:142
HcalHardcodeCalibrations::he_recalibration
std::unique_ptr< HBHERecalibration > he_recalibration
Definition: HcalHardcodeCalibrations.h:144
HcalTopology.h
edm::IOVSyncValue::time
const Timestamp & time() const
Definition: IOVSyncValue.h:42
cond::ValidityInterval
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:17
HcalHardcodeCalibrations::kZSThresholds
Definition: HcalHardcodeCalibrations.h:126
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
HcalValidationCorr
Definition: HcalValidationCorr.h:12
HcalHardcodeCalibrations::kGains
Definition: HcalHardcodeCalibrations.h:117
HcalHardcodeCalibrations::kLongRecoParams
Definition: HcalHardcodeCalibrations.h:133
HcalTrigTowerDetId::kHcalDepthMask
static const int kHcalDepthMask
Definition: HcalTrigTowerDetId.h:21
HcalHardcodeCalibrations::kQIEData
Definition: HcalHardcodeCalibrations.h:119
HcalDbHardcode::makeQIEType
HcalQIEType makeQIEType(HcalGenericDetId fId) const
Definition: HcalDbHardcode.cc:198
HcalHardcodeCalibrations::topoTokens_
std::unordered_map< int, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > topoTokens_
Definition: HcalHardcodeCalibrations.h:146
HcalTrigTowerDetId::kHcalEtaMask
static const int kHcalEtaMask
Definition: HcalTrigTowerDetId.h:18
HcalEndcap
Definition: HcalAssistant.h:34
HcalHardcodeCalibrations::kLutMetadata
Definition: HcalHardcodeCalibrations.h:130
HcalQIEDataRcd
Definition: HcalQIEDataRcd.h:8
HcalHardcodeCalibrations::producePedestals
std::unique_ptr< HcalPedestals > producePedestals(const HcalPedestalsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:380
postprocess-scan-build.cells
cells
Definition: postprocess-scan-build.py:13
HcalDbHardcode::makeZSThreshold
HcalZSThreshold makeZSThreshold(HcalGenericDetId fId) const
Definition: HcalDbHardcode.cc:178
HcalDbHardcode::makeRecoParam
HcalRecoParam makeRecoParam(HcalGenericDetId fId) const
Definition: HcalDbHardcode.cc:307
hgcalPlots.section
section
Definition: hgcalPlots.py:2049
HcalHardcodeCalibrations::producePedestals_
std::unique_ptr< HcalPedestals > producePedestals_(const HcalPedestalsRcd &rcd, const edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > &, bool eff)
Definition: HcalHardcodeCalibrations.cc:351
HcalHardcodeCalibrations::kFrontEndMap
Definition: HcalHardcodeCalibrations.h:137
HcalPedestalsRcd
Definition: HcalPedestalsRcd.h:9
HcalDbHardcode::setHO
void setHO(HcalHardcodeParameters p)
Definition: HcalDbHardcode.h:66
HcalRecoParamsRcd
Definition: HcalRecoParamsRcd.h:6
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
HcalDbHardcode::useHOUpgrade
void useHOUpgrade(bool b)
Definition: HcalDbHardcode.h:84
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HcalFlagHFDigiTimeParamsRcd
Definition: HcalFlagHFDigiTimeParamsRcd.h:6
HcalDbHardcode::setHF
void setHF(HcalHardcodeParameters p)
Definition: HcalDbHardcode.h:62
HcalHardcodeCalibrations::hf_recalibration
std::unique_ptr< HFRecalibration > hf_recalibration
Definition: HcalHardcodeCalibrations.h:145
HcalDbHardcode::makeHardcodeTPChannelParameter
HcalTPChannelParameter makeHardcodeTPChannelParameter(HcalGenericDetId fId) const
Definition: HcalDbHardcode.cc:708
HcalHardcodeCalibrations::dbHardcode
HcalDbHardcode dbHardcode
Definition: HcalHardcodeCalibrations.h:141
HcalZDCDetId::LUM
Definition: HcalZDCDetId.h:23
HcalTimingParam
Definition: HcalTimingParam.h:7
HcalDetId::kHcalEtaMask2
static constexpr uint32_t kHcalEtaMask2
Definition: HcalDetId.h:19
HcalHardcodeCalibrations::produceGainWidths
std::unique_ptr< HcalGainWidths > produceGainWidths(const HcalGainWidthsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:410
HcalTrigTowerDetId::kHcalVersMask
static const int kHcalVersMask
Definition: HcalTrigTowerDetId.h:23
HcalDbHardcode::setHFUpgrade
void setHFUpgrade(HcalHardcodeParameters p)
Definition: HcalDbHardcode.h:78
mps_fire.result
result
Definition: mps_fire.py:311
HcalDbHardcode::setHEUpgrade
void setHEUpgrade(HcalHardcodeParameters p)
Definition: HcalDbHardcode.h:74
HcalDbHardcode::useHFUpgrade
void useHFUpgrade(bool b)
Definition: HcalDbHardcode.h:85
HcalPedestalWidth
Definition: HcalPedestalWidth.h:15
HcalDetId::ietaAbs
constexpr int ietaAbs() const
get the absolute value of the cell ieta
Definition: HcalDetId.h:148
HcalQIEType
Definition: HcalQIEType.h:12
HcalDbHardcode::useHBUpgrade
void useHBUpgrade(bool b)
Definition: HcalDbHardcode.h:82
ZdcTopology
Definition: ZdcTopology.h:14
HcalHardcodeCalibrations::producePedestalWidths_
std::unique_ptr< HcalPedestalWidths > producePedestalWidths_(const HcalPedestalWidthsRcd &rcd, const edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > &, bool eff)
Definition: HcalHardcodeCalibrations.cc:366
HcalDbHardcode::setHBUpgrade
void setHBUpgrade(HcalHardcodeParameters p)
Definition: HcalDbHardcode.h:70
HcalHardcodeCalibrations::produceMCParams
std::unique_ptr< HcalMCParams > produceMCParams(const HcalMCParamsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:761
remoteMonitoring_LED_IterMethod_cfg.threshold
threshold
Definition: remoteMonitoring_LED_IterMethod_cfg.py:426
HcalHardcodeCalibrations::produceLutMetadata
std::unique_ptr< HcalLutMetadata > produceLutMetadata(const HcalLutMetadataRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:660
HcalHardcodeCalibrations::produceTPChannelParameters
std::unique_ptr< HcalTPChannelParameters > produceTPChannelParameters(const HcalTPChannelParametersRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:830
HcalHardcodeCalibrations::kTPChannelParameters
Definition: HcalHardcodeCalibrations.h:139
HcalTimeCorrsRcd
Definition: HcalTimeCorrsRcd.h:25
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
HcalGenericDetId::HcalGenForward
Definition: HcalGenericDetId.h:22
HcalHardcodeCalibrations::produceLongRecoParams
std::unique_ptr< HcalLongRecoParams > produceLongRecoParams(const HcalLongRecoParamsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:724
HcalHardcodeCalibrations::producePedestalWidths
std::unique_ptr< HcalPedestalWidths > producePedestalWidths(const HcalPedestalWidthsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:388
HcalDbHardcode::makePedestalWidth
HcalPedestalWidth makePedestalWidth(HcalGenericDetId fId, bool eff, const HcalTopology *topo, double intlumi)
Definition: HcalDbHardcode.cc:130
HcalZDCDetId::EM
Definition: HcalZDCDetId.h:23
HcalHardcodeCalibrations::produceL1TriggerObjects
std::unique_ptr< HcalL1TriggerObjects > produceL1TriggerObjects(const HcalL1TriggerObjectsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:621
HcalHardcodeCalibrations::produceRespCorrs
std::unique_ptr< HcalRespCorrs > produceRespCorrs(const HcalRespCorrsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:499
HcalSiPMParameter
Definition: HcalSiPMParameter.h:7
HcalHardcodeCalibrations::switchGainWidthsForTrigPrims
bool switchGainWidthsForTrigPrims
Definition: HcalHardcodeCalibrations.h:149
HcalHardcodeCalibrations::produceZSThresholds
std::unique_ptr< HcalZSThresholds > produceZSThresholds(const HcalZSThresholdsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:608
ZdcTopology.h
edm::ParameterSet::empty
bool empty() const
Definition: ParameterSet.h:201
HcalHardcodeCalibrations::produceZDCLowGainFractions
std::unique_ptr< HcalZDCLowGainFractions > produceZDCLowGainFractions(const HcalZDCLowGainFractionsRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:747
HcalDcsMapRcd
Definition: HcalDcsMapRcd.h:5
edm::FileInPath::fullPath
std::string fullPath() const
Definition: FileInPath.cc:163
HcalDbHardcode::testHEPlan1
void testHEPlan1(bool b)
Definition: HcalDbHardcode.h:87
HcalGainWidth
Definition: HcalGainWidth.h:15
HcalPFCorr
Definition: HcalPFCorr.h:12
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21
HcalHardcodeCalibrations::produceElectronicsMap
std::unique_ptr< HcalElectronicsMap > produceElectronicsMap(const HcalElectronicsMapRcd &rcd)
Definition: HcalHardcodeCalibrations.cc:638
summarizeEdmComparisonLogfiles.objectName
objectName
Definition: summarizeEdmComparisonLogfiles.py:105
HcalTrigTowerDetId
Definition: HcalTrigTowerDetId.h:14
unpackBuffers-CaloStage2.token
token
Definition: unpackBuffers-CaloStage2.py:318