CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalHardcodeCalibrations.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 // Original Author: Fedor Ratnikov
3 // $Id: HcalHardcodeCalibrations.cc,v 1.28 2011/10/26 14:00:29 xiezhen Exp $
4 //
5 //
6 
7 #include <memory>
8 #include <iostream>
9 
15 
17 
21 
23 
24 // class decleration
25 //
26 
27 using namespace cms;
28 
29 namespace {
30 
31 std::vector<HcalGenericDetId> allCells (bool h2_mode) {
32  static std::vector<HcalGenericDetId> result;
33  if (result.size () <= 0) {
34  HcalTopology hcaltopology(h2_mode);
35  for (int eta = -50; eta < 50; eta++) {
36  for (int phi = 0; phi < 100; phi++) {
37  for (int depth = 1; depth < 5; depth++) {
38  for (int det = 1; det < 5; det++) {
39  HcalDetId cell ((HcalSubdetector) det, eta, phi, depth);
40  if (hcaltopology.valid(cell)) result.push_back (cell);
41  }
42  }
43  }
44  }
45  ZdcTopology zdctopology;
46  HcalZDCDetId zcell;
48  for(int depth= 1; depth < 6; depth++){
49  zcell = HcalZDCDetId(section, true, depth);
50  if(zdctopology.valid(zcell)) result.push_back(zcell);
51  zcell = HcalZDCDetId(section, false, depth);
52  if(zdctopology.valid(zcell)) result.push_back(zcell);
53  }
54  section = HcalZDCDetId::HAD;
55  for(int depth= 1; depth < 5; depth++){
56  zcell = HcalZDCDetId(section, true, depth);
57  if(zdctopology.valid(zcell)) result.push_back(zcell);
58  zcell = HcalZDCDetId(section, false, depth);
59  if(zdctopology.valid(zcell)) result.push_back(zcell);
60  }
61  section = HcalZDCDetId::LUM;
62  for(int depth= 1; depth < 3; depth++){
63  zcell = HcalZDCDetId(section, true, depth);
64  if(zdctopology.valid(zcell)) result.push_back(zcell);
65  zcell = HcalZDCDetId(section, false, depth);
66  if(zdctopology.valid(zcell)) result.push_back(zcell);
67  }
68  }
69  return result;
70 }
71 
72 }
73 
75 
76 {
77  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::HcalHardcodeCalibrations->...";
78  //parsing record parameters
79  h2mode_=iConfig.getUntrackedParameter<bool>("H2Mode",false);
80  std::vector <std::string> toGet = iConfig.getUntrackedParameter <std::vector <std::string> > ("toGet");
81  for(std::vector <std::string>::iterator objectName = toGet.begin(); objectName != toGet.end(); ++objectName ) {
82  bool all = *objectName == "all";
83  if ((*objectName == "Pedestals") || all) {
84  setWhatProduced (this, &HcalHardcodeCalibrations::producePedestals);
85  findingRecord <HcalPedestalsRcd> ();
86  }
87  if ((*objectName == "PedestalWidths") || all) {
88  setWhatProduced (this, &HcalHardcodeCalibrations::producePedestalWidths);
89  findingRecord <HcalPedestalWidthsRcd> ();
90  }
91  if ((*objectName == "Gains") || all) {
92  setWhatProduced (this, &HcalHardcodeCalibrations::produceGains);
93  findingRecord <HcalGainsRcd> ();
94  }
95  if ((*objectName == "GainWidths") || all) {
96  setWhatProduced (this, &HcalHardcodeCalibrations::produceGainWidths);
97  findingRecord <HcalGainWidthsRcd> ();
98  }
99  if ((*objectName == "QIEData") || all) {
100  setWhatProduced (this, &HcalHardcodeCalibrations::produceQIEData);
101  findingRecord <HcalQIEDataRcd> ();
102  }
103  if ((*objectName == "ChannelQuality") || (*objectName == "channelQuality") || all) {
104  setWhatProduced (this, &HcalHardcodeCalibrations::produceChannelQuality);
105  findingRecord <HcalChannelQualityRcd> ();
106  }
107  if ((*objectName == "ElectronicsMap") || (*objectName == "electronicsMap") || all) {
108  setWhatProduced (this, &HcalHardcodeCalibrations::produceElectronicsMap);
109  findingRecord <HcalElectronicsMapRcd> ();
110  }
111  if ((*objectName == "ZSThresholds") || (*objectName == "zsThresholds") || all) {
112  setWhatProduced (this, &HcalHardcodeCalibrations::produceZSThresholds);
113  findingRecord <HcalZSThresholdsRcd> ();
114  }
115  if ((*objectName == "RespCorrs") || (*objectName == "ResponseCorrection") || all) {
116  setWhatProduced (this, &HcalHardcodeCalibrations::produceRespCorrs);
117  findingRecord <HcalRespCorrsRcd> ();
118  }
119  if ((*objectName == "LUTCorrs") || (*objectName == "LUTCorrection") || all) {
120  setWhatProduced (this, &HcalHardcodeCalibrations::produceLUTCorrs);
121  findingRecord <HcalLUTCorrsRcd> ();
122  }
123  if ((*objectName == "PFCorrs") || (*objectName == "PFCorrection") || all) {
124  setWhatProduced (this, &HcalHardcodeCalibrations::producePFCorrs);
125  findingRecord <HcalPFCorrsRcd> ();
126  }
127  if ((*objectName == "TimeCorrs") || (*objectName == "TimeCorrection") || all) {
128  setWhatProduced (this, &HcalHardcodeCalibrations::produceTimeCorrs);
129  findingRecord <HcalTimeCorrsRcd> ();
130  }
131  if ((*objectName == "L1TriggerObjects") || (*objectName == "L1Trigger") || all) {
132  setWhatProduced (this, &HcalHardcodeCalibrations::produceL1TriggerObjects);
133  findingRecord <HcalL1TriggerObjectsRcd> ();
134  }
135  if ((*objectName == "ValidationCorrs") || (*objectName == "ValidationCorrection") || all) {
136  setWhatProduced (this, &HcalHardcodeCalibrations::produceValidationCorrs);
137  findingRecord <HcalValidationCorrsRcd> ();
138  }
139  if ((*objectName == "LutMetadata") || (*objectName == "lutMetadata") || all) {
140  setWhatProduced (this, &HcalHardcodeCalibrations::produceLutMetadata);
141  findingRecord <HcalLutMetadataRcd> ();
142  }
143  if ((*objectName == "DcsValues") || all) {
144  setWhatProduced (this, &HcalHardcodeCalibrations::produceDcsValues);
145  findingRecord <HcalDcsRcd> ();
146  }
147  if ((*objectName == "DcsMap") || (*objectName == "dcsMap") || all) {
148  setWhatProduced (this, &HcalHardcodeCalibrations::produceDcsMap);
149  findingRecord <HcalDcsMapRcd> ();
150  }
151  if ((*objectName == "RecoParams") || all) {
152  setWhatProduced (this, &HcalHardcodeCalibrations::produceRecoParams);
153  findingRecord <HcalRecoParamsRcd> ();
154  }
155  if ((*objectName == "LongRecoParams") || all) {
156  setWhatProduced (this, &HcalHardcodeCalibrations::produceLongRecoParams);
157  findingRecord <HcalLongRecoParamsRcd> ();
158  }
159  if ((*objectName == "MCParams") || all) {
160  setWhatProduced (this, &HcalHardcodeCalibrations::produceMCParams);
161  findingRecord <HcalMCParamsRcd> ();
162  }
163  if ((*objectName == "FlagHFDigiTimeParams") || all) {
165  findingRecord <HcalFlagHFDigiTimeParamsRcd> ();
166  }
167  }
168 }
169 
170 
172 {
173 }
174 
175 
176 //
177 // member functions
178 //
179 void
181  std::string record = iKey.name ();
182  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::setIntervalFor-> key: " << record << " time: " << iTime.eventID() << '/' << iTime.time ().value ();
184 }
185 
186 std::auto_ptr<HcalPedestals> HcalHardcodeCalibrations::producePedestals (const HcalPedestalsRcd&) {
187  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::producePedestals-> ...";
188  std::auto_ptr<HcalPedestals> result (new HcalPedestals (false));
189  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
190  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
192  result->addValues(item,h2mode_);
193  }
194  return result;
195 }
196 
197 std::auto_ptr<HcalPedestalWidths> HcalHardcodeCalibrations::producePedestalWidths (const HcalPedestalWidthsRcd&) {
198  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::producePedestalWidths-> ...";
199  std::auto_ptr<HcalPedestalWidths> result (new HcalPedestalWidths (false));
200  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
201  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
203  result->addValues(item,h2mode_);
204  }
205  return result;
206 }
207 
208 std::auto_ptr<HcalGains> HcalHardcodeCalibrations::produceGains (const HcalGainsRcd&) {
209  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceGains-> ...";
210  std::auto_ptr<HcalGains> result (new HcalGains ());
211  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
212  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
213  HcalGain item = HcalDbHardcode::makeGain (*cell);
214  result->addValues(item,h2mode_);
215  }
216  return result;
217 }
218 
219 std::auto_ptr<HcalGainWidths> HcalHardcodeCalibrations::produceGainWidths (const HcalGainWidthsRcd&) {
220  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceGainWidths-> ...";
221  std::auto_ptr<HcalGainWidths> result (new HcalGainWidths ());
222  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
223  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
225  result->addValues(item,h2mode_);
226  }
227  return result;
228 }
229 
230 std::auto_ptr<HcalQIEData> HcalHardcodeCalibrations::produceQIEData (const HcalQIEDataRcd& rcd) {
231  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceQIEData-> ...";
232  std::auto_ptr<HcalQIEData> result (new HcalQIEData ());
233  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
234  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
236  result->addCoder (coder,h2mode_);
237  }
238  return result;
239 }
240 
241 std::auto_ptr<HcalChannelQuality> HcalHardcodeCalibrations::produceChannelQuality (const HcalChannelQualityRcd& rcd) {
242  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceChannelQuality-> ...";
243  std::auto_ptr<HcalChannelQuality> result (new HcalChannelQuality ());
244  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
245  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
246  HcalChannelStatus item(cell->rawId(),0);
247  result->addValues(item,h2mode_);
248  }
249  return result;
250 }
251 
252 
253 std::auto_ptr<HcalRespCorrs> HcalHardcodeCalibrations::produceRespCorrs (const HcalRespCorrsRcd& rcd) {
254  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceRespCorrs-> ...";
255  std::auto_ptr<HcalRespCorrs> result (new HcalRespCorrs ());
256  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
257  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
258  HcalRespCorr item(cell->rawId(),1.0);
259  result->addValues(item,h2mode_);
260  }
261  return result;
262 }
263 
264 std::auto_ptr<HcalLUTCorrs> HcalHardcodeCalibrations::produceLUTCorrs (const HcalLUTCorrsRcd& rcd) {
265  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceLUTCorrs-> ...";
266  std::auto_ptr<HcalLUTCorrs> result (new HcalLUTCorrs ());
267  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
268  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
269  HcalLUTCorr item(cell->rawId(),1.0);
270  result->addValues(item,h2mode_);
271  }
272  return result;
273 }
274 
275 std::auto_ptr<HcalPFCorrs> HcalHardcodeCalibrations::producePFCorrs (const HcalPFCorrsRcd& rcd) {
276  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::producePFCorrs-> ...";
277  std::auto_ptr<HcalPFCorrs> result (new HcalPFCorrs ());
278  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
279  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
280  HcalPFCorr item(cell->rawId(),1.0);
281  result->addValues(item,h2mode_);
282  }
283  return result;
284 }
285 
286 std::auto_ptr<HcalTimeCorrs> HcalHardcodeCalibrations::produceTimeCorrs (const HcalTimeCorrsRcd& rcd) {
287  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceTimeCorrs-> ...";
288  std::auto_ptr<HcalTimeCorrs> result (new HcalTimeCorrs ());
289  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
290  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
291  HcalTimeCorr item(cell->rawId(),0.0);
292  result->addValues(item,h2mode_);
293  }
294  return result;
295 }
296 
297 std::auto_ptr<HcalZSThresholds> HcalHardcodeCalibrations::produceZSThresholds (const HcalZSThresholdsRcd& rcd) {
298  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceZSThresholds-> ...";
299  std::auto_ptr<HcalZSThresholds> result (new HcalZSThresholds ());
300  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
301  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
302  HcalZSThreshold item(cell->rawId(),0);
303  result->addValues(item,h2mode_);
304  }
305  return result;
306 }
307 
308 
309 std::auto_ptr<HcalL1TriggerObjects> HcalHardcodeCalibrations::produceL1TriggerObjects (const HcalL1TriggerObjectsRcd& rcd) {
310  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceL1TriggerObjects-> ...";
311  std::auto_ptr<HcalL1TriggerObjects> result (new HcalL1TriggerObjects ());
312  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
313  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
314  HcalL1TriggerObject item(cell->rawId(),0., 1., 0);
315  result->addValues(item,h2mode_);
316  }
317  // add tag and algo values
318  result->setTagString("hardcoded");
319  result->setAlgoString("hardcoded");
320  return result;
321 }
322 
323 
324 
325 
326 std::auto_ptr<HcalElectronicsMap> HcalHardcodeCalibrations::produceElectronicsMap (const HcalElectronicsMapRcd& rcd) {
327  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceElectronicsMap-> ...";
328 
329  std::auto_ptr<HcalElectronicsMap> result (new HcalElectronicsMap ());
331  return result;
332 }
333 
334 std::auto_ptr<HcalValidationCorrs> HcalHardcodeCalibrations::produceValidationCorrs (const HcalValidationCorrsRcd& rcd) {
335  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceValidationCorrs-> ...";
336  std::auto_ptr<HcalValidationCorrs> result (new HcalValidationCorrs ());
337  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
338  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
339  HcalValidationCorr item(cell->rawId(),1.0);
340  result->addValues(item,h2mode_);
341  }
342  return result;
343 }
344 
345 std::auto_ptr<HcalLutMetadata> HcalHardcodeCalibrations::produceLutMetadata (const HcalLutMetadataRcd& rcd) {
346  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceLutMetadata-> ...";
347  std::auto_ptr<HcalLutMetadata> result (new HcalLutMetadata ());
348 
349  result->setRctLsb( 0.25 );
350  result->setNominalGain( 0.177 );
351 
352  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
353  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
354  HcalLutMetadatum item(cell->rawId(),1.0,1,1);
355  result->addValues(item,h2mode_);
356  }
357  return result;
358 }
359 
360 std::auto_ptr<HcalDcsValues>
362  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceDcsValues-> ...";
363  std::auto_ptr<HcalDcsValues> result(new HcalDcsValues);
364  return result;
365 }
366 
367 std::auto_ptr<HcalDcsMap> HcalHardcodeCalibrations::produceDcsMap (const HcalDcsMapRcd& rcd) {
368  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceDcsMap-> ...";
369 
370  std::auto_ptr<HcalDcsMap> result (new HcalDcsMap ());
372  return result;
373 }
374 
375 std::auto_ptr<HcalRecoParams> HcalHardcodeCalibrations::produceRecoParams (const HcalRecoParamsRcd&) {
376  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceRecoParams-> ...";
377  std::auto_ptr<HcalRecoParams> result (new HcalRecoParams ());
378  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
379  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
381  result->addValues(item,h2mode_);
382  }
383  return result;
384 }
385 std::auto_ptr<HcalTimingParams> HcalHardcodeCalibrations::produceTimingParams (const HcalTimingParamsRcd&) {
386  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceTimingParams-> ...";
387  std::auto_ptr<HcalTimingParams> result (new HcalTimingParams ());
388  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
389  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
391  result->addValues(item,h2mode_);
392  }
393  return result;
394 }
395 std::auto_ptr<HcalLongRecoParams> HcalHardcodeCalibrations::produceLongRecoParams (const HcalLongRecoParamsRcd&) {
396  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceLongRecoParams-> ...";
397  std::auto_ptr<HcalLongRecoParams> result (new HcalLongRecoParams ());
398  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
399  std::vector <unsigned int> mSignal;
400  mSignal.push_back(4);
401  mSignal.push_back(5);
402  mSignal.push_back(6);
403  std::vector <unsigned int> mNoise;
404  mNoise.push_back(1);
405  mNoise.push_back(2);
406  mNoise.push_back(3);
407  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
408  if (cell->isHcalZDCDetId())
409  {
410  HcalLongRecoParam item(cell->rawId(),mSignal,mNoise);
411  result->addValues(item,h2mode_);
412  }
413  }
414  return result;
415 }
416 
417 std::auto_ptr<HcalMCParams> HcalHardcodeCalibrations::produceMCParams (const HcalMCParamsRcd&) {
418  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceMCParams-> ...";
419  std::auto_ptr<HcalMCParams> result (new HcalMCParams ());
420  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
421  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
422  HcalMCParam item(cell->rawId(),0);
423  result->addValues(item,h2mode_);
424  }
425  return result;
426 }
427 
428 
430  edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::produceFlagHFDigiTimeParams-> ...";
431  std::auto_ptr<HcalFlagHFDigiTimeParams> result (new HcalFlagHFDigiTimeParams ());
432  std::vector <HcalGenericDetId> cells = allCells(h2mode_);
433 
434  std::vector<double> coef;
435  coef.push_back(0.93);
436  coef.push_back(-0.38275);
437  coef.push_back(-0.012667);
438 
439  for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
440  HcalFlagHFDigiTimeParam item(cell->rawId(),
441  1, //firstsample
442  3, // samplestoadd
443  2, //expectedpeak
444  40., // min energy threshold
445  coef // coefficients
446  );
447  result->addValues(item,h2mode_);
448  }
449  return result;
450 } // produceFlagHFDigiTimeParams;
std::auto_ptr< HcalPedestalWidths > producePedestalWidths(const HcalPedestalWidthsRcd &rcd)
T getUntrackedParameter(std::string const &, T const &) const
HcalHardcodeCalibrations(const edm::ParameterSet &)
std::auto_ptr< HcalLUTCorrs > produceLUTCorrs(const HcalLUTCorrsRcd &rcd)
std::auto_ptr< HcalDcsMap > produceDcsMap(const HcalDcsMapRcd &rcd)
const EventID & eventID() const
Definition: IOVSyncValue.h:42
JetCorrectorParameters::Record record
Definition: classes.h:11
HcalTimingParam makeTimingParam(HcalGenericDetId fId)
std::auto_ptr< HcalQIEData > produceQIEData(const HcalQIEDataRcd &rcd)
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:97
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:19
std::auto_ptr< HcalLutMetadata > produceLutMetadata(const HcalLutMetadataRcd &rcd)
std::auto_ptr< HcalZSThresholds > produceZSThresholds(const HcalZSThresholdsRcd &rcd)
T eta() const
void makeHardcodeMap(HcalElectronicsMap &emap)
std::auto_ptr< HcalDcsValues > produceDcsValues(const HcalDcsRcd &rcd)
HcalQIECoder makeQIECoder(HcalGenericDetId fId)
HcalPedestalWidth makePedestalWidth(HcalGenericDetId fId)
std::auto_ptr< HcalChannelQuality > produceChannelQuality(const HcalChannelQualityRcd &rcd)
std::auto_ptr< HcalTimeCorrs > produceTimeCorrs(const HcalTimeCorrsRcd &rcd)
void makeHardcodeDcsMap(HcalDcsMap &dcs_map)
std::auto_ptr< HcalTimingParams > produceTimingParams(const HcalTimingParamsRcd &rcd)
std::auto_ptr< HcalRecoParams > produceRecoParams(const HcalRecoParamsRcd &rcd)
virtual bool valid(const HcalZDCDetId &id) const
Definition: ZdcTopology.cc:25
HcalGain makeGain(HcalGenericDetId fId, bool fSmear=false)
std::auto_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
static const IOVSyncValue & beginOfTime()
tuple result
Definition: query.py:137
HcalSubdetector
Definition: HcalAssistant.h:32
HcalRecoParam makeRecoParam(HcalGenericDetId fId)
std::auto_ptr< HcalRespCorrs > produceRespCorrs(const HcalRespCorrsRcd &rcd)
std::auto_ptr< HcalLongRecoParams > produceLongRecoParams(const HcalLongRecoParamsRcd &rcd)
TimeValue_t value() const
Definition: Timestamp.cc:72
std::auto_ptr< HcalElectronicsMap > produceElectronicsMap(const HcalElectronicsMapRcd &rcd)
std::auto_ptr< HcalPFCorrs > producePFCorrs(const HcalPFCorrsRcd &rcd)
HcalGainWidth makeGainWidth(HcalGenericDetId fId)
std::auto_ptr< HcalMCParams > produceMCParams(const HcalMCParamsRcd &rcd)
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
const Timestamp & time() const
Definition: IOVSyncValue.h:44
std::auto_ptr< HcalFlagHFDigiTimeParams > produceFlagHFDigiTimeParams(const HcalFlagHFDigiTimeParamsRcd &rcd)
std::auto_ptr< HcalGainWidths > produceGainWidths(const HcalGainWidthsRcd &rcd)
std::auto_ptr< HcalValidationCorrs > produceValidationCorrs(const HcalValidationCorrsRcd &rcd)
HcalPedestal makePedestal(HcalGenericDetId fId, bool fSmear=false)
std::auto_ptr< HcalPedestals > producePedestals(const HcalPedestalsRcd &rcd)
std::auto_ptr< HcalL1TriggerObjects > produceL1TriggerObjects(const HcalL1TriggerObjectsRcd &rcd)
Definition: DDAxes.h:10