CMS 3D CMS Logo

EcalDBCopy.cc
Go to the documentation of this file.
3 
5 
8 
42 
51 
54 
57 
66 
73 
76 
79 
82 
85 
86 #include <vector>
87 
89  : m_timetype(iConfig.getParameter<std::string>("timetype")), m_cacheIDs(), m_records() {
90  std::string container;
93  typedef std::vector<edm::ParameterSet> Parameters;
94  Parameters toCopy = iConfig.getParameter<Parameters>("toCopy");
95  for (Parameters::iterator i = toCopy.begin(); i != toCopy.end(); ++i) {
96  container = i->getParameter<std::string>("container");
97  record = i->getParameter<std::string>("record");
98  m_cacheIDs.insert(std::make_pair(container, 0));
99  m_records.insert(std::make_pair(container, record));
100  }
101 }
102 
104 
105 void EcalDBCopy::analyze(const edm::Event& evt, const edm::EventSetup& evtSetup) {
106  std::string container;
108  typedef std::map<std::string, std::string>::const_iterator recordIter;
109  for (recordIter i = m_records.begin(); i != m_records.end(); ++i) {
110  container = (*i).first;
111  record = (*i).second;
112  if (shouldCopy(evtSetup, container)) {
113  copyToDB(evtSetup, container);
114  }
115  }
116 }
117 
118 bool EcalDBCopy::shouldCopy(const edm::EventSetup& evtSetup, std::string container) {
119  unsigned long long cacheID = 0;
120  if (container == "EcalPedestals") {
121  cacheID = evtSetup.get<EcalPedestalsRcd>().cacheIdentifier();
122  } else if (container == "EcalADCToGeVConstant") {
123  cacheID = evtSetup.get<EcalADCToGeVConstantRcd>().cacheIdentifier();
124  } else if (container == "EcalLinearCorrections") {
125  cacheID = evtSetup.get<EcalLinearCorrectionsRcd>().cacheIdentifier();
126  } else if (container == "EcalIntercalibConstants") {
127  cacheID = evtSetup.get<EcalIntercalibConstantsRcd>().cacheIdentifier();
128  } else if (container == "EcalIntercalibConstantsMC") {
129  cacheID = evtSetup.get<EcalIntercalibConstantsMCRcd>().cacheIdentifier();
130  } else if (container == "EcalIntercalibErrors") {
131  cacheID = evtSetup.get<EcalIntercalibErrorsRcd>().cacheIdentifier();
132  } else if (container == "EcalGainRatios") {
133  cacheID = evtSetup.get<EcalGainRatiosRcd>().cacheIdentifier();
134  } else if (container == "EcalWeightXtalGroups") {
135  cacheID = evtSetup.get<EcalWeightXtalGroupsRcd>().cacheIdentifier();
136  } else if (container == "EcalTBWeights") {
137  cacheID = evtSetup.get<EcalTBWeightsRcd>().cacheIdentifier();
138  } else if (container == "EcalLaserAPDPNRatios") {
139  cacheID = evtSetup.get<EcalLaserAPDPNRatiosRcd>().cacheIdentifier();
140  } else if (container == "EcalLaserAPDPNRatiosRef") {
141  cacheID = evtSetup.get<EcalTBWeightsRcd>().cacheIdentifier();
142  } else if (container == "EcalLaserAlphas") {
143  cacheID = evtSetup.get<EcalTBWeightsRcd>().cacheIdentifier();
144  } else if (container == "EcalChannelStatus") {
145  cacheID = evtSetup.get<EcalChannelStatusRcd>().cacheIdentifier();
146  } else if (container == "EcalDQMTowerStatus") {
147  cacheID = evtSetup.get<EcalDQMTowerStatusRcd>().cacheIdentifier();
148  } else if (container == "EcalDQMChannelStatus") {
149  cacheID = evtSetup.get<EcalDQMChannelStatusRcd>().cacheIdentifier();
150  } else if (container == "EcalDCSTowerStatus") {
151  cacheID = evtSetup.get<EcalDCSTowerStatusRcd>().cacheIdentifier();
152  } else if (container == "EcalDAQTowerStatus") {
153  cacheID = evtSetup.get<EcalDAQTowerStatusRcd>().cacheIdentifier();
154  } else if (container == "EcalTimeCalibConstants") {
155  cacheID = evtSetup.get<EcalTimeCalibConstantsRcd>().cacheIdentifier();
156  } else if (container == "EcalClusterCrackCorrParameters") {
157  cacheID = evtSetup.get<EcalClusterCrackCorrParametersRcd>().cacheIdentifier();
158  } else if (container == "EcalPFRecHitThresholds") {
159  cacheID = evtSetup.get<EcalPFRecHitThresholdsRcd>().cacheIdentifier();
160  } else if (container == "EcalClusterEnergyUncertaintyParameters") {
161  cacheID = evtSetup.get<EcalClusterEnergyUncertaintyParametersRcd>().cacheIdentifier();
162  } else if (container == "EcalClusterEnergyCorrectionParameters") {
163  cacheID = evtSetup.get<EcalClusterEnergyCorrectionParametersRcd>().cacheIdentifier();
164  } else if (container == "EcalClusterEnergyCorrectionObjectSpecificParameters") {
165  cacheID = evtSetup.get<EcalClusterEnergyCorrectionObjectSpecificParametersRcd>().cacheIdentifier();
166  } else if (container == "EcalClusterLocalContCorrParameters") {
167  cacheID = evtSetup.get<EcalClusterLocalContCorrParametersRcd>().cacheIdentifier();
168  } else if (container == "EcalTPGCrystalStatus") {
169  cacheID = evtSetup.get<EcalTPGCrystalStatusRcd>().cacheIdentifier();
170  } else if (container == "EcalTPGTowerStatus") {
171  cacheID = evtSetup.get<EcalTPGTowerStatusRcd>().cacheIdentifier();
172  } else if (container == "EBAlignment") {
173  cacheID = evtSetup.get<EBAlignmentRcd>().cacheIdentifier();
174  } else if (container == "EEAlignment") {
175  cacheID = evtSetup.get<EEAlignmentRcd>().cacheIdentifier();
176  } else if (container == "ESAlignment") {
177  cacheID = evtSetup.get<ESAlignmentRcd>().cacheIdentifier();
178  } else if (container == "EcalTimeOffsetConstant") {
179  cacheID = evtSetup.get<EcalTimeOffsetConstantRcd>().cacheIdentifier();
180  } else if (container == "EcalSampleMask") {
181  cacheID = evtSetup.get<EcalSampleMaskRcd>().cacheIdentifier();
182  } else if (container == "EcalTimeBiasCorrections") {
183  cacheID = evtSetup.get<EcalTimeBiasCorrectionsRcd>().cacheIdentifier();
184  } else if (container == "EcalSimPulseShape") {
185  cacheID = evtSetup.get<EcalSimPulseShapeRcd>().cacheIdentifier();
186  } else if (container == "EcalSamplesCorrelation") {
187  cacheID = evtSetup.get<EcalSamplesCorrelationRcd>().cacheIdentifier();
188  }
189 
190  else {
191  throw cms::Exception("Unknown container");
192  }
193 
194  if (m_cacheIDs[container] == cacheID) {
195  return false;
196  } else {
197  m_cacheIDs[container] = cacheID;
198  return true;
199  }
200 }
201 
202 void EcalDBCopy::copyToDB(const edm::EventSetup& evtSetup, std::string container) {
204  if (!dbOutput.isAvailable()) {
205  throw cms::Exception("PoolDBOutputService is not available");
206  }
207 
208  std::string recordName = m_records[container];
209 
210  if (container == "EcalPedestals") {
212  evtSetup.get<EcalPedestalsRcd>().get(handle);
213  const EcalPedestals* obj = handle.product();
214  std::cout << "ped pointer is: " << obj << std::endl;
215  dbOutput->createNewIOV<const EcalPedestals>(
216  new EcalPedestals(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
217 
218  } else if (container == "EcalADCToGeVConstant") {
220  evtSetup.get<EcalADCToGeVConstantRcd>().get(handle);
221  const EcalADCToGeVConstant* obj = handle.product();
222  std::cout << "adc pointer is: " << obj << std::endl;
223 
224  dbOutput->createNewIOV<const EcalADCToGeVConstant>(
225  new EcalADCToGeVConstant(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
226 
227  } else if (container == "EcalTimeCalibConstants") {
230  const EcalTimeCalibConstants* obj = handle.product();
231  std::cout << "adc pointer is: " << obj << std::endl;
232 
233  dbOutput->createNewIOV<const EcalTimeCalibConstants>(
234  new EcalTimeCalibConstants(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
235 
236  } else if (container == "EcalChannelStatus") {
238  evtSetup.get<EcalChannelStatusRcd>().get(handle);
239  const EcalChannelStatus* obj = handle.product();
240  std::cout << "channel status pointer is: " << obj << std::endl;
241 
242  dbOutput->createNewIOV<const EcalChannelStatus>(
243  new EcalChannelStatus(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
244 
245  } else if (container == "EcalDQMChannelStatus") {
247  evtSetup.get<EcalDQMChannelStatusRcd>().get(handle);
248  const EcalDQMChannelStatus* obj = handle.product();
249  std::cout << "DQM channel status pointer is: " << obj << std::endl;
250  dbOutput->createNewIOV<const EcalDQMChannelStatus>(
251  new EcalDQMChannelStatus(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
252 
253  } else if (container == "EcalDQMTowerStatus") {
255  evtSetup.get<EcalDQMTowerStatusRcd>().get(handle);
256  const EcalDQMTowerStatus* obj = handle.product();
257  std::cout << "DQM Tower status pointer is: " << obj << std::endl;
258  dbOutput->createNewIOV<const EcalDQMTowerStatus>(
259  new EcalDQMTowerStatus(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
260 
261  } else if (container == "EcalDCSTowerStatus") {
263  evtSetup.get<EcalDCSTowerStatusRcd>().get(handle);
264  const EcalDCSTowerStatus* obj = handle.product();
265  std::cout << "channel status pointer is: " << obj << std::endl;
266 
267  dbOutput->createNewIOV<const EcalDCSTowerStatus>(
268  new EcalDCSTowerStatus(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
269 
270  } else if (container == "EcalDAQTowerStatus") {
272  evtSetup.get<EcalDAQTowerStatusRcd>().get(handle);
273  const EcalDAQTowerStatus* obj = handle.product();
274  std::cout << "DAQ channel status pointer is: " << obj << std::endl;
275 
276  dbOutput->createNewIOV<const EcalDAQTowerStatus>(
277  new EcalDAQTowerStatus(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
278 
279  } else if (container == "EcalTPGCrystalStatus") {
281  evtSetup.get<EcalTPGCrystalStatusRcd>().get(handle);
282  const EcalTPGCrystalStatus* obj = handle.product();
283  std::cout << "TPG channel status pointer is: " << obj << std::endl;
284 
285  dbOutput->createNewIOV<const EcalTPGCrystalStatus>(
286  new EcalTPGCrystalStatus(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
287 
288  } else if (container == "EcalTPGTowerStatus") {
290  evtSetup.get<EcalTPGTowerStatusRcd>().get(handle);
291  const EcalTPGTowerStatus* obj = handle.product();
292  std::cout << "TPG tower status pointer is: " << obj << std::endl;
293 
294  dbOutput->createNewIOV<const EcalTPGTowerStatus>(
295  new EcalTPGTowerStatus(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
296 
297  } else if (container == "EcalIntercalibConstants") {
300  const EcalIntercalibConstants* obj = handle.product();
301  std::cout << "inter pointer is: " << obj << std::endl;
302  dbOutput->createNewIOV<const EcalIntercalibConstants>(
303  new EcalIntercalibConstants(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
304 
305  } else if (container == "EcalLinearCorrections") {
307  evtSetup.get<EcalLinearCorrectionsRcd>().get(handle);
308  const EcalLinearCorrections* obj = handle.product();
309  std::cout << "inter pointer is: " << obj << std::endl;
310  dbOutput->createNewIOV<const EcalLinearCorrections>(
311  new EcalLinearCorrections(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
312 
313  } else if (container == "EcalIntercalibConstantsMC") {
316  const EcalIntercalibConstantsMC* obj = handle.product();
317  std::cout << "intercalib MC pointer is: " << obj << std::endl;
318  dbOutput->createNewIOV<const EcalIntercalibConstantsMC>(
319  new EcalIntercalibConstantsMC(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
320 
321  } else if (container == "EcalIntercalibErrors") {
323  evtSetup.get<EcalIntercalibErrorsRcd>().get(handle);
324  const EcalIntercalibErrors* obj = handle.product();
325  std::cout << "inter pointer is: " << obj << std::endl;
326  dbOutput->createNewIOV<const EcalIntercalibErrors>(
327  new EcalIntercalibErrors(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
328 
329  } else if (container == "EcalGainRatios") {
331  evtSetup.get<EcalGainRatiosRcd>().get(handle);
332  const EcalGainRatios* obj = handle.product();
333  std::cout << "gain pointer is: " << obj << std::endl;
334  dbOutput->createNewIOV<const EcalGainRatios>(
335  new EcalGainRatios(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
336 
337  } else if (container == "EcalWeightXtalGroups") {
339  evtSetup.get<EcalWeightXtalGroupsRcd>().get(handle);
340  const EcalWeightXtalGroups* obj = handle.product();
341  std::cout << "weight pointer is: " << obj << std::endl;
342  dbOutput->createNewIOV<const EcalWeightXtalGroups>(
343  new EcalWeightXtalGroups(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
344 
345  } else if (container == "EcalTBWeights") {
347  evtSetup.get<EcalTBWeightsRcd>().get(handle);
348  const EcalTBWeights* obj = handle.product();
349  std::cout << "tbweight pointer is: " << obj << std::endl;
350  dbOutput->createNewIOV<const EcalTBWeights>(
351  new EcalTBWeights(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
352 
353  } else if (container == "EcalLaserAlphas") {
355  evtSetup.get<EcalLaserAlphasRcd>().get(handle);
356  const EcalLaserAlphas* obj = handle.product();
357  std::cout << "ecalLaserAlpha pointer is: " << obj << std::endl;
358  dbOutput->createNewIOV<const EcalLaserAlphas>(
359  new EcalLaserAlphas(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
360 
361  } else if (container == "EcalLaserAPDPNRatios") {
363  evtSetup.get<EcalLaserAPDPNRatiosRcd>().get(handle);
364  const EcalLaserAPDPNRatios* obj = handle.product();
365  std::cout << "tbweight pointer is: " << obj << std::endl;
366  dbOutput->createNewIOV<const EcalLaserAPDPNRatios>(
367  new EcalLaserAPDPNRatios(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
368 
369  } else if (container == "EcalLaserAPDPNRatiosRef") {
372  const EcalLaserAPDPNRatiosRef* obj = handle.product();
373  std::cout << "tbweight pointer is: " << obj << std::endl;
374  dbOutput->createNewIOV<const EcalLaserAPDPNRatiosRef>(
375  new EcalLaserAPDPNRatiosRef(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
376 
377  } else if (container == "EcalClusterCrackCorrParameters") {
380  const EcalClusterCrackCorrParameters* obj = handle.product();
381  std::cout << "cluster crack pointer is: " << obj << std::endl;
383  new EcalClusterCrackCorrParameters(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
384 
385  } else if (container == "EcalPFRecHitThresholds") {
388  const EcalPFRecHitThresholds* obj = handle.product();
389  std::cout << "Ecal PF rec hit thresholds pointer is: " << obj << std::endl;
390  dbOutput->createNewIOV<const EcalPFRecHitThresholds>(
391  new EcalPFRecHitThresholds(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
392 
393  } else if (container == "EcalClusterEnergyUncertaintyParameters") {
397  std::cout << "tbweight pointer is: " << obj << std::endl;
400 
401  } else if (container == "EcalClusterEnergyCorrectionParameters") {
405  std::cout << "tbweight pointer is: " << obj << std::endl;
408 
409  } else if (container == "EcalClusterEnergyCorrectionObjectSpecificParameters") {
413  std::cout << "tbweight pointer is: " << obj << std::endl;
416  dbOutput->beginOfTime(),
417  dbOutput->endOfTime(),
418  recordName);
419 
420  } else if (container == "EcalClusterLocalContCorrParameters") {
423  const EcalClusterLocalContCorrParameters* obj = handle.product();
424  std::cout << "tbweight pointer is: " << obj << std::endl;
426  new EcalClusterLocalContCorrParameters(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
427 
428  } else if (container == "EBAlignment") {
430  evtSetup.get<EBAlignmentRcd>().get(handle);
431  const Alignments* obj = handle.product();
432  std::cout << "EB alignment pointer is: " << obj << std::endl;
433  dbOutput->createNewIOV<const Alignments>(
434  new Alignments(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
435 
436  } else if (container == "EEAlignment") {
438  evtSetup.get<EEAlignmentRcd>().get(handle);
439  const Alignments* obj = handle.product();
440  std::cout << "EE alignment pointer is: " << obj << std::endl;
441  dbOutput->createNewIOV<const Alignments>(
442  new Alignments(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
443 
444  } else if (container == "ESAlignment") {
446  evtSetup.get<ESAlignmentRcd>().get(handle);
447  const Alignments* obj = handle.product();
448  std::cout << "ES alignment pointer is: " << obj << std::endl;
449  dbOutput->createNewIOV<const Alignments>(
450  new Alignments(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
451 
452  } else if (container == "EcalTimeOffsetConstant") {
455  const EcalTimeOffsetConstant* obj = handle.product();
456  std::cout << "TimeOffset pointer is: " << obj << std::endl;
457  dbOutput->createNewIOV<const EcalTimeOffsetConstant>(
458  new EcalTimeOffsetConstant(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
459 
460  } else if (container == "EcalSampleMask") {
462  evtSetup.get<EcalSampleMaskRcd>().get(handle);
463  const EcalSampleMask* obj = handle.product();
464  std::cout << "sample mask pointer is: " << obj << std::endl;
465  dbOutput->createNewIOV<const EcalSampleMask>(
466  new EcalSampleMask(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
467 
468  } else if (container == "EcalSimPulseShape") {
470  evtSetup.get<EcalSimPulseShapeRcd>().get(handle);
471  const EcalSimPulseShape* obj = handle.product();
472  dbOutput->createNewIOV<const EcalSimPulseShape>(
473  new EcalSimPulseShape(*obj), dbOutput->beginOfTime(), dbOutput->endOfTime(), recordName);
474 
475  } else if (container == "EcalTimeBiasCorrections") {
478  const EcalTimeBiasCorrections* obj = handle.product();
479  std::cout << "TimeBiasCorrections pointer is: " << obj << std::endl;
481  bias_ = new EcalTimeBiasCorrections();
482  std::vector<float> vect = obj->EBTimeCorrAmplitudeBins;
483  copy(vect.begin(), vect.end(), back_inserter(bias_->EBTimeCorrAmplitudeBins));
484  vect = obj->EBTimeCorrShiftBins;
485  copy(vect.begin(), vect.end(), back_inserter(bias_->EBTimeCorrShiftBins));
486  vect = obj->EETimeCorrAmplitudeBins;
487  copy(vect.begin(), vect.end(), back_inserter(bias_->EETimeCorrAmplitudeBins));
488  vect = obj->EETimeCorrShiftBins;
489  copy(vect.begin(), vect.end(), back_inserter(bias_->EETimeCorrShiftBins));
490  dbOutput->writeOne(bias_, dbOutput->beginOfTime(), "EcalTimeBiasCorrectionsRcd");
491 
492  } else if (container == "EcalSamplesCorrelation") {
495  const EcalSamplesCorrelation* obj = handle.product();
496  std::cout << "SamplesCorrelation pointer is: " << obj << std::endl;
497  EcalSamplesCorrelation* correl_;
498  correl_ = new EcalSamplesCorrelation();
499  std::vector<double> vect = obj->EBG12SamplesCorrelation;
500  copy(vect.begin(), vect.end(), back_inserter(correl_->EBG12SamplesCorrelation));
501  vect = obj->EBG6SamplesCorrelation;
502  copy(vect.begin(), vect.end(), back_inserter(correl_->EBG6SamplesCorrelation));
503  vect = obj->EBG1SamplesCorrelation;
504  copy(vect.begin(), vect.end(), back_inserter(correl_->EBG1SamplesCorrelation));
505  vect = obj->EEG12SamplesCorrelation;
506  copy(vect.begin(), vect.end(), back_inserter(correl_->EEG12SamplesCorrelation));
507  vect = obj->EEG6SamplesCorrelation;
508  copy(vect.begin(), vect.end(), back_inserter(correl_->EEG6SamplesCorrelation));
509  vect = obj->EEG1SamplesCorrelation;
510  copy(vect.begin(), vect.end(), back_inserter(correl_->EEG1SamplesCorrelation));
511  dbOutput->writeOne(correl_, dbOutput->beginOfTime(), "EcalSamplesCorrelationRcd");
512 
513  } else {
514  throw cms::Exception("Unknown container");
515  }
516 
517  std::cout << "EcalDBCopy wrote " << recordName << std::endl;
518 }
EcalTimeOffsetConstantRcd
Definition: EcalTimeOffsetConstantRcd.h:5
EcalIntercalibConstantsMC.h
mps_fire.i
i
Definition: mps_fire.py:428
EcalPedestals.h
EcalLaserAPDPNRatiosRef
EcalLaserAPDPNRatiosRefMap EcalLaserAPDPNRatiosRef
Definition: EcalLaserAPDPNRatiosRef.h:13
EcalPFRecHitThresholdsRcd
Definition: EcalPFRecHitThresholdsRcd.h:5
EcalLaserAPDPNRatiosRcd
Definition: EcalLaserAPDPNRatiosRcd.h:24
cond::service::PoolDBOutputService::beginOfTime
cond::Time_t beginOfTime() const
Definition: PoolDBOutputService.cc:215
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
EcalSamplesCorrelationRcd
Definition: EcalSamplesCorrelationRcd.h:12
ESHandle.h
EcalClusterEnergyCorrectionObjectSpecificParameters.h
EcalIntercalibErrorsRcd
Definition: EcalIntercalibErrorsRcd.h:5
EcalIntercalibConstants.h
EcalDQMTowerStatus
EcalDQMTowerStatusMap EcalDQMTowerStatus
Definition: EcalDQMTowerStatus.h:13
patZpeak.handle
handle
Definition: patZpeak.py:23
EcalLaserAlphas
EcalLaserAlphaMap EcalLaserAlphas
Definition: EcalLaserAlphas.h:12
EcalSamplesCorrelation::EEG1SamplesCorrelation
std::vector< double > EEG1SamplesCorrelation
Definition: EcalSamplesCorrelation.h:28
EcalSimPulseShapeRcd.h
ESAlignmentRcd
Definition: ESAlignmentRcd.h:6
align_cfg.recordName
recordName
Definition: align_cfg.py:66
EcalDBCopy::EcalDBCopy
EcalDBCopy(const edm::ParameterSet &iConfig)
Definition: EcalDBCopy.cc:88
EcalLaserAPDPNRatiosRef.h
gather_cfg.cout
cout
Definition: gather_cfg.py:144
EcalTPGCrystalStatusRcd
Definition: EcalTPGCrystalStatusRcd.h:5
EcalSampleMask
Definition: EcalSampleMask.h:16
EEAlignmentRcd
Definition: EEAlignmentRcd.h:6
EcalTimeBiasCorrectionsRcd
Definition: EcalTimeBiasCorrectionsRcd.h:12
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
EcalFunParams
Definition: EcalFunctionParameters.h:11
Alignments.h
EcalLinearCorrectionsRcd.h
EcalLaserAPDPNRatiosRefRcd.h
EcalLinearCorrections.h
EcalDCSTowerStatusRcd
Definition: EcalDCSTowerStatusRcd.h:5
EcalTimeOffsetConstant
Definition: EcalTimeOffsetConstant.h:13
EcalDQMTowerStatus.h
EcalDAQTowerStatusRcd.h
EcalPFRecHitThresholds
EcalPFRecHitThresholdsMap EcalPFRecHitThresholds
Definition: EcalPFRecHitThresholds.h:12
EcalADCToGeVConstant
Definition: EcalADCToGeVConstant.h:13
EcalLaserAlphasRcd.h
EcalTPGCrystalStatusRcd.h
EcalTimeCalibConstants.h
EcalDBCopy::copyToDB
void copyToDB(const edm::EventSetup &evtSetup, std::string container)
Definition: EcalDBCopy.cc:202
EcalDQMChannelStatusRcd.h
EcalCondObjectContainer
Definition: EcalCondObjectContainer.h:13
EcalGainRatios
EcalGainRatioMap EcalGainRatios
Definition: EcalGainRatios.h:12
edm::Service::isAvailable
bool isAvailable() const
Definition: Service.h:40
EcalLaserAPDPNRatiosRefRcd
Definition: EcalLaserAPDPNRatiosRefRcd.h:24
EcalWeightXtalGroups.h
EcalTimeBiasCorrections::EETimeCorrAmplitudeBins
std::vector< float > EETimeCorrAmplitudeBins
Definition: EcalTimeBiasCorrections.h:26
EcalTBWeightsRcd
Definition: EcalTBWeightsRcd.h:5
EcalSimPulseShape.h
EcalTimeBiasCorrections::EETimeCorrShiftBins
std::vector< float > EETimeCorrShiftBins
Definition: EcalTimeBiasCorrections.h:27
EcalClusterEnergyCorrectionParametersRcd.h
EcalTBWeights.h
EcalSamplesCorrelationRcd.h
EcalClusterEnergyCorrectionObjectSpecificParameters
EcalFunParams EcalClusterEnergyCorrectionObjectSpecificParameters
Definition: EcalClusterEnergyCorrectionObjectSpecificParameters.h:6
EcalCondTowerObjectContainer
Definition: EcalCondTowerObjectContainer.h:13
EcalIntercalibErrors.h
EcalSamplesCorrelation::EBG12SamplesCorrelation
std::vector< double > EBG12SamplesCorrelation
Definition: EcalSamplesCorrelation.h:22
EcalSamplesCorrelation.h
EcalPFRecHitThresholds.h
PoolDBOutputService.h
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
EcalClusterCrackCorrParameters.h
EcalTimeOffsetConstant.h
EcalIntercalibConstantsMCRcd.h
cond::service::PoolDBOutputService::createNewIOV
void createNewIOV(const T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t, const std::string &recordName)
Definition: PoolDBOutputService.h:116
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
EcalSampleMaskRcd
Definition: EcalSampleMaskRcd.h:5
Service.h
EcalDBCopy::m_records
std::map< std::string, std::string > m_records
Definition: EcalDBCopy.h:31
EcalClusterEnergyCorrectionObjectSpecificParametersRcd
Definition: EcalClusterEnergyCorrectionObjectSpecificParametersRcd.h:5
EcalTimeBiasCorrections::EBTimeCorrAmplitudeBins
std::vector< float > EBTimeCorrAmplitudeBins
Definition: EcalTimeBiasCorrections.h:23
EcalTimeOffsetConstantRcd.h
edm::ESHandle
Definition: DTSurvey.h:22
EcalClusterEnergyUncertaintyParameters.h
EcalIntercalibConstants
EcalIntercalibConstantMap EcalIntercalibConstants
Definition: EcalIntercalibConstants.h:12
EcalClusterEnergyUncertaintyParametersRcd
Definition: EcalClusterEnergyUncertaintyParametersRcd.h:5
EcalTimeBiasCorrections
Definition: EcalTimeBiasCorrections.h:16
EcalLaserAPDPNRatiosRcd.h
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
EcalClusterEnergyCorrectionObjectSpecificParametersRcd.h
EcalGainRatiosRcd
Definition: EcalGainRatiosRcd.h:5
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalPedestals
EcalPedestalsMap EcalPedestals
Definition: EcalPedestals.h:50
EcalDQMTowerStatusRcd
Definition: EcalDQMTowerStatusRcd.h:5
EcalADCToGeVConstant.h
EcalSampleMaskRcd.h
EcalDQMTowerStatusRcd.h
EcalClusterEnergyUncertaintyParametersRcd.h
EcalIntercalibConstantsMCRcd
Definition: EcalIntercalibConstantsMCRcd.h:5
edm::ParameterSet
Definition: ParameterSet.h:47
EcalLaserAlphas.h
EcalDBCopy.h
EcalChannelStatusRcd
Definition: EcalChannelStatusRcd.h:5
EcalWeightXtalGroups
EcalCondObjectContainer< EcalXtalGroupId > EcalWeightXtalGroups
Definition: EcalWeightXtalGroups.h:12
EcalLinearCorrections
EcalTimeDependentCorrections EcalLinearCorrections
Definition: EcalLinearCorrections.h:10
EcalIntercalibErrorsRcd.h
EBAlignmentRcd.h
EcalADCToGeVConstantRcd.h
EcalPFRecHitThresholdsRcd.h
edm::Service< cond::service::PoolDBOutputService >
EcalDQMChannelStatusRcd
Definition: EcalDQMChannelStatusRcd.h:5
EcalLaserAlphasRcd
Definition: EcalLaserAlphasRcd.h:24
EcalLinearCorrectionsRcd
Definition: EcalLinearCorrectionsRcd.h:5
EcalDBCopy::~EcalDBCopy
~EcalDBCopy() override
Definition: EcalDBCopy.cc:103
EcalSamplesCorrelation::EBG1SamplesCorrelation
std::vector< double > EBG1SamplesCorrelation
Definition: EcalSamplesCorrelation.h:24
edm::EventSetup
Definition: EventSetup.h:58
EcalLaserAPDPNRatios.h
EcalSamplesCorrelation::EEG12SamplesCorrelation
std::vector< double > EEG12SamplesCorrelation
Definition: EcalSamplesCorrelation.h:26
EcalGainRatiosRcd.h
EcalDBCopy::m_cacheIDs
std::map< std::string, unsigned long long > m_cacheIDs
Definition: EcalDBCopy.h:30
EcalSimPulseShape
Definition: EcalSimPulseShape.h:7
EcalChannelStatus
EcalChannelStatusMap EcalChannelStatus
Definition: EcalChannelStatus.h:13
get
#define get
EcalDAQTowerStatus.h
EcalTPGTowerStatus.h
EcalGainRatios.h
EcalTimeCalibConstantsRcd
Definition: EcalTimeCalibConstantsRcd.h:5
cond::service::PoolDBOutputService::endOfTime
cond::Time_t endOfTime() const
Definition: PoolDBOutputService.cc:213
EcalSampleMask.h
EcalTPGCrystalStatus
EcalTPGCrystalStatusMap EcalTPGCrystalStatus
Definition: EcalTPGCrystalStatus.h:19
EcalDBCopy::shouldCopy
bool shouldCopy(const edm::EventSetup &evtSetup, std::string container)
Definition: EcalDBCopy.cc:118
EcalDCSTowerStatus
EcalDCSTowerStatusMap EcalDCSTowerStatus
Definition: EcalDCSTowerStatus.h:13
EcalDCSTowerStatus.h
EcalClusterEnergyCorrectionParameters.h
EcalTPGTowerStatus
Definition: EcalTPGTowerStatus.h:9
std
Definition: JetResolutionObject.h:76
EcalClusterCrackCorrParameters
EcalFunParams EcalClusterCrackCorrParameters
Definition: EcalClusterCrackCorrParameters.h:6
EEAlignmentRcd.h
Exception
Definition: hltDiff.cc:245
cond::service::PoolDBOutputService::writeOne
Hash writeOne(const T *payload, Time_t time, const std::string &recordName)
Definition: PoolDBOutputService.h:63
EcalClusterLocalContCorrParameters
EcalFunParams EcalClusterLocalContCorrParameters
Definition: EcalClusterLocalContCorrParameters.h:6
EcalIntercalibErrors
EcalIntercalibErrorMap EcalIntercalibErrors
Definition: EcalIntercalibErrors.h:12
EBAlignmentRcd
Definition: EBAlignmentRcd.h:6
EventSetup.h
EcalDQMChannelStatus
EcalDQMChannelStatusMap EcalDQMChannelStatus
Definition: EcalDQMChannelStatus.h:10
EcalClusterEnergyCorrectionParametersRcd
Definition: EcalClusterEnergyCorrectionParametersRcd.h:5
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
EcalTPGCrystalStatus.h
EcalTPGTowerStatusRcd.h
EcalClusterLocalContCorrParametersRcd.h
EcalClusterLocalContCorrParameters.h
EcalClusterEnergyCorrectionParameters
EcalFunParams EcalClusterEnergyCorrectionParameters
Definition: EcalClusterEnergyCorrectionParameters.h:6
EcalPedestalsRcd.h
EcalClusterCrackCorrParametersRcd.h
EcalClusterEnergyUncertaintyParameters
EcalFunParams EcalClusterEnergyUncertaintyParameters
Definition: EcalClusterEnergyUncertaintyParameters.h:6
EcalSamplesCorrelation::EBG6SamplesCorrelation
std::vector< double > EBG6SamplesCorrelation
Definition: EcalSamplesCorrelation.h:23
EcalLaserAPDPNRatios
Definition: EcalLaserAPDPNRatios.h:14
EcalWeightXtalGroupsRcd
Definition: EcalWeightXtalGroupsRcd.h:5
ParameterSet.h
EcalTimeCalibConstantsRcd.h
EcalPedestalsRcd
Definition: EcalPedestalsRcd.h:5
EcalDAQTowerStatus
EcalDAQTowerStatusMap EcalDAQTowerStatus
Definition: EcalDAQTowerStatus.h:13
EcalTimeCalibConstants
EcalTimeCalibConstantMap EcalTimeCalibConstants
Definition: EcalTimeCalibConstants.h:12
EcalClusterLocalContCorrParametersRcd
Definition: EcalClusterLocalContCorrParametersRcd.h:5
EcalDCSTowerStatusRcd.h
EcalTimeBiasCorrections::EBTimeCorrShiftBins
std::vector< float > EBTimeCorrShiftBins
Definition: EcalTimeBiasCorrections.h:24
EcalDQMChannelStatus.h
EcalClusterCrackCorrParametersRcd
Definition: EcalClusterCrackCorrParametersRcd.h:5
edm::Event
Definition: Event.h:73
EcalTimeBiasCorrectionsRcd.h
Parameters
vector< ParameterSet > Parameters
Definition: HLTMuonPlotter.cc:25
ESAlignmentRcd.h
EcalTPGTowerStatusRcd
Definition: EcalTPGTowerStatusRcd.h:5
EcalIntercalibConstantsRcd
Definition: EcalIntercalibConstantsRcd.h:5
Alignments
Definition: Alignments.h:10
EcalIntercalibConstantsRcd.h
EcalChannelStatus.h
EcalSamplesCorrelation::EEG6SamplesCorrelation
std::vector< double > EEG6SamplesCorrelation
Definition: EcalSamplesCorrelation.h:27
EcalADCToGeVConstantRcd
Definition: EcalADCToGeVConstantRcd.h:5
EcalWeightXtalGroupsRcd.h
EcalIntercalibConstantsMC
EcalIntercalibConstantMCMap EcalIntercalibConstantsMC
Definition: EcalIntercalibConstantsMC.h:12
EcalTBWeightsRcd.h
EcalTimeBiasCorrections.h
EcalDAQTowerStatusRcd
Definition: EcalDAQTowerStatusRcd.h:5
EcalChannelStatusRcd.h
EcalTBWeights
Definition: EcalTBWeights.h:15
EcalDBCopy::analyze
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
Definition: EcalDBCopy.cc:105
EcalTimeDependentCorrections
Definition: EcalTimeDependentCorrections.h:14
EcalSamplesCorrelation
Definition: EcalSamplesCorrelation.h:16
EcalSimPulseShapeRcd
Definition: EcalSimPulseShapeRcd.h:5