CMS 3D CMS Logo

HcalTextCalibrations.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 <fstream>
9 
13 
15 
17 
19 
20 #include "HcalTextCalibrations.h"
21 //
22 // class declaration
23 //
24 
25 using namespace cms;
26 
28 
29 {
30  //parsing parameters
31  std::vector<edm::ParameterSet> data = iConfig.getParameter<std::vector<edm::ParameterSet> >("input");
32  std::vector<edm::ParameterSet>::iterator request = data.begin();
33  for (; request != data.end(); ++request) {
34  std::string objectName = request->getParameter<std::string>("object");
35  edm::FileInPath fp = request->getParameter<edm::FileInPath>("file");
36  mInputs[objectName] = fp.fullPath();
37  // std::cout << objectName << " with file " << fp.fullPath() << std::endl;
38  if (objectName == "Pedestals") {
39  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::producePedestals).consumes();
40  findingRecord<HcalPedestalsRcd>();
41  } else if (objectName == "PedestalWidths") {
42  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::producePedestalWidths).consumes();
43  findingRecord<HcalPedestalWidthsRcd>();
44  } else if (objectName == "EffectivePedestals") {
45  mTokens[objectName] =
46  setWhatProduced(this, &HcalTextCalibrations::produceEffectivePedestals, edm::es::Label("effective"))
47  .consumes();
48  findingRecord<HcalPedestalsRcd>();
49  } else if (objectName == "EffectivePedestalWidths") {
50  mTokens[objectName] =
51  setWhatProduced(this, &HcalTextCalibrations::produceEffectivePedestalWidths, edm::es::Label("effective"))
52  .consumes();
53  findingRecord<HcalPedestalWidthsRcd>();
54  } else if (objectName == "Gains") {
55  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceGains).consumes();
56  findingRecord<HcalGainsRcd>();
57  } else if (objectName == "GainWidths") {
58  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceGainWidths).consumes();
59  findingRecord<HcalGainWidthsRcd>();
60  } else if (objectName == "QIEData") {
61  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceQIEData).consumes();
62  findingRecord<HcalQIEDataRcd>();
63  } else if (objectName == "QIETypes") {
64  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceQIETypes).consumes();
65  findingRecord<HcalQIETypesRcd>();
66  } else if (objectName == "ChannelQuality") {
67  mTokens[objectName] =
68  setWhatProduced(this, &HcalTextCalibrations::produceChannelQuality, edm::es::Label("withTopo")).consumes();
69  findingRecord<HcalChannelQualityRcd>();
70  } else if (objectName == "ZSThresholds") {
71  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceZSThresholds).consumes();
72  findingRecord<HcalZSThresholdsRcd>();
73  } else if (objectName == "RespCorrs") {
74  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceRespCorrs).consumes();
75  findingRecord<HcalRespCorrsRcd>();
76  } else if (objectName == "LUTCorrs") {
77  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceLUTCorrs).consumes();
78  findingRecord<HcalLUTCorrsRcd>();
79  } else if (objectName == "PFCorrs") {
80  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::producePFCorrs).consumes();
81  findingRecord<HcalPFCorrsRcd>();
82  } else if (objectName == "TimeCorrs") {
83  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceTimeCorrs).consumes();
84  findingRecord<HcalTimeCorrsRcd>();
85  } else if (objectName == "L1TriggerObjects") {
86  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceL1TriggerObjects).consumes();
87  findingRecord<HcalL1TriggerObjectsRcd>();
88  } else if (objectName == "ElectronicsMap") {
89  setWhatProduced(this, &HcalTextCalibrations::produceElectronicsMap);
90  findingRecord<HcalElectronicsMapRcd>();
91  } else if (objectName == "FrontEndMap") {
92  setWhatProduced(this, &HcalTextCalibrations::produceFrontEndMap);
93  findingRecord<HcalFrontEndMapRcd>();
94  } else if (objectName == "ValidationCorrs") {
95  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceValidationCorrs).consumes();
96  findingRecord<HcalValidationCorrsRcd>();
97  } else if (objectName == "LutMetadata") {
98  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceLutMetadata).consumes();
99  findingRecord<HcalLutMetadataRcd>();
100  } else if (objectName == "DcsValues") {
101  setWhatProduced(this, &HcalTextCalibrations::produceDcsValues);
102  findingRecord<HcalDcsRcd>();
103  } else if (objectName == "DcsMap") {
104  setWhatProduced(this, &HcalTextCalibrations::produceDcsMap);
105  findingRecord<HcalDcsMapRcd>();
106  } else if (objectName == "RecoParams") {
107  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceRecoParams).consumes();
108  findingRecord<HcalRecoParamsRcd>();
109  } else if (objectName == "TimingParams") {
110  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceTimingParams).consumes();
111  findingRecord<HcalTimingParamsRcd>();
112  } else if (objectName == "LongRecoParams") {
113  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceLongRecoParams).consumes();
114  findingRecord<HcalLongRecoParamsRcd>();
115  } else if (objectName == "ZDCLowGainFractions") {
116  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceZDCLowGainFractions).consumes();
117  findingRecord<HcalZDCLowGainFractionsRcd>();
118  } else if (objectName == "MCParams") {
119  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceMCParams).consumes();
120  findingRecord<HcalMCParamsRcd>();
121  } else if (objectName == "FlagHFDigiTimeParams") {
122  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceFlagHFDigiTimeParams).consumes();
123  findingRecord<HcalFlagHFDigiTimeParamsRcd>();
124  } else if (objectName == "SiPMParameters") {
125  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceSiPMParameters).consumes();
126  findingRecord<HcalSiPMParametersRcd>();
127  } else if (objectName == "SiPMCharacteristics") {
128  setWhatProduced(this, &HcalTextCalibrations::produceSiPMCharacteristics);
129  findingRecord<HcalSiPMCharacteristicsRcd>();
130  } else if (objectName == "TPChannelParameters") {
131  mTokens[objectName] = setWhatProduced(this, &HcalTextCalibrations::produceTPChannelParameters).consumes();
132  findingRecord<HcalTPChannelParametersRcd>();
133  } else if (objectName == "TPParameters") {
134  setWhatProduced(this, &HcalTextCalibrations::produceTPParameters);
135  findingRecord<HcalTPParametersRcd>();
136  } else {
137  std::cerr << "HcalTextCalibrations-> Unknown object name '" << objectName << "', known names are: "
138  << "Pedestals PedestalWidths Gains GainWidths QIEData QIETypes ChannelQuality ElectronicsMap "
139  << "FrontEndMap ZSThresholds RespCorrs LUTCorrs PFCorrs TimeCorrs L1TriggerObjects "
140  << "ValidationCorrs LutMetadata DcsValues DcsMap "
141  << "RecoParams LongRecoParams ZDCLowGainFraction FlagHFDigiTimeParams MCParams "
142  << "SiPMParameters SiPMCharacteristics TPChannelParameters TPParameters" << std::endl;
143  }
144  }
145  // setWhatProduced(this);
146 }
147 
149 
150 //
151 // member functions
152 //
154  const edm::IOVSyncValue& iTime,
155  edm::ValidityInterval& oInterval) {
156  std::string record = iKey.name();
158 }
159 namespace {
160  template <class T, template <class> class F>
161  std::unique_ptr<T> produce_impl(const std::string& fFile, const HcalTopology* topo = nullptr) {
162  std::ifstream inStream(fFile.c_str());
163  if (!inStream.good()) {
164  std::cerr << "HcalTextCalibrations-> Unable to open file '" << fFile << "'" << std::endl;
165  throw cms::Exception("FileNotFound") << "Unable to open '" << fFile << "'" << std::endl;
166  }
167  auto result = F<T>(topo)(inStream);
168  if (!result) {
169  std::cerr << "HcalTextCalibrations-> Can not read object from file '" << fFile << "'" << std::endl;
170  throw cms::Exception("ReadError") << "Can not read object from file '" << fFile << "'" << std::endl;
171  }
172  return result;
173  }
174  template <class T>
175  std::unique_ptr<T> get_impl(const std::string& fFile) {
176  return produce_impl<T, HcalTextCalibrations::CheckGetObject>(fFile);
177  }
178  template <class T>
179  std::unique_ptr<T> get_impl_topo(const std::string& fFile, const HcalTopology* topo) {
180  return produce_impl<T, HcalTextCalibrations::CheckGetObjectTopo>(fFile, topo);
181  }
182  template <class T>
183  std::unique_ptr<T> create_impl(const std::string& fFile) {
184  return produce_impl<T, HcalTextCalibrations::CheckCreateObject>(fFile);
185  }
186 } // namespace
187 
188 std::unique_ptr<HcalPedestals> HcalTextCalibrations::producePedestals(const HcalPedestalsRcd& rcd) {
189  std::string const n = "Pedestals";
190  return get_impl_topo<HcalPedestals>(mInputs[n], &rcd.get(mTokens[n]));
191 }
192 
193 std::unique_ptr<HcalPedestalWidths> HcalTextCalibrations::producePedestalWidths(const HcalPedestalWidthsRcd& rcd) {
194  std::string const n = "PedestalWidths";
195  return get_impl_topo<HcalPedestalWidths>(mInputs[n], &rcd.get(mTokens[n]));
196 }
197 
198 std::unique_ptr<HcalPedestals> HcalTextCalibrations::produceEffectivePedestals(const HcalPedestalsRcd& rcd) {
199  std::string const n = "EffectivePedestals";
200  return get_impl_topo<HcalPedestals>(mInputs[n], &rcd.get(mTokens[n]));
201 }
202 
203 std::unique_ptr<HcalPedestalWidths> HcalTextCalibrations::produceEffectivePedestalWidths(
204  const HcalPedestalWidthsRcd& rcd) {
205  std::string const n = "EffectivePedestalWidths";
206  return get_impl_topo<HcalPedestalWidths>(mInputs[n], &rcd.get(mTokens[n]));
207 }
208 
209 std::unique_ptr<HcalGains> HcalTextCalibrations::produceGains(const HcalGainsRcd& rcd) {
210  std::string const n = "Gains";
211  return get_impl_topo<HcalGains>(mInputs[n], &rcd.get(mTokens[n]));
212 }
213 
214 std::unique_ptr<HcalGainWidths> HcalTextCalibrations::produceGainWidths(const HcalGainWidthsRcd& rcd) {
215  std::string const n = "GainWidths";
216  return get_impl_topo<HcalGainWidths>(mInputs[n], &rcd.get(mTokens[n]));
217 }
218 
219 std::unique_ptr<HcalQIEData> HcalTextCalibrations::produceQIEData(const HcalQIEDataRcd& rcd) {
220  std::string const n = "QIEData";
221  return get_impl_topo<HcalQIEData>(mInputs[n], &rcd.get(mTokens[n]));
222 }
223 
224 std::unique_ptr<HcalQIETypes> HcalTextCalibrations::produceQIETypes(const HcalQIETypesRcd& rcd) {
225  std::string const n = "QIETypes";
226  return get_impl_topo<HcalQIETypes>(mInputs[n], &rcd.get(mTokens[n]));
227 }
228 
229 std::unique_ptr<HcalChannelQuality> HcalTextCalibrations::produceChannelQuality(const HcalChannelQualityRcd& rcd) {
230  std::string const n = "ChannelQuality";
231  return get_impl_topo<HcalChannelQuality>(mInputs[n], &rcd.get(mTokens[n]));
232 }
233 
234 std::unique_ptr<HcalZSThresholds> HcalTextCalibrations::produceZSThresholds(const HcalZSThresholdsRcd& rcd) {
235  std::string const n = "ZSThresholds";
236  return get_impl_topo<HcalZSThresholds>(mInputs[n], &rcd.get(mTokens[n]));
237 }
238 
239 std::unique_ptr<HcalRespCorrs> HcalTextCalibrations::produceRespCorrs(const HcalRespCorrsRcd& rcd) {
240  std::string const n = "RespCorrs";
241  return get_impl_topo<HcalRespCorrs>(mInputs[n], &rcd.get(mTokens[n]));
242 }
243 
244 std::unique_ptr<HcalLUTCorrs> HcalTextCalibrations::produceLUTCorrs(const HcalLUTCorrsRcd& rcd) {
245  std::string const n = "LUTCorrs";
246  return get_impl_topo<HcalLUTCorrs>(mInputs[n], &rcd.get(mTokens[n]));
247 }
248 
249 std::unique_ptr<HcalPFCorrs> HcalTextCalibrations::producePFCorrs(const HcalPFCorrsRcd& rcd) {
250  std::string const n = "PFCorrs";
251  return get_impl_topo<HcalPFCorrs>(mInputs[n], &rcd.get(mTokens[n]));
252 }
253 
254 std::unique_ptr<HcalTimeCorrs> HcalTextCalibrations::produceTimeCorrs(const HcalTimeCorrsRcd& rcd) {
255  std::string const n = "TimeCorrs";
256  return get_impl_topo<HcalTimeCorrs>(mInputs[n], &rcd.get(mTokens[n]));
257 }
258 
259 std::unique_ptr<HcalL1TriggerObjects> HcalTextCalibrations::produceL1TriggerObjects(const HcalL1TriggerObjectsRcd& rcd) {
260  std::string const n = "L1TriggerObjects";
261  return get_impl_topo<HcalL1TriggerObjects>(mInputs[n], &rcd.get(mTokens[n]));
262 }
263 
264 std::unique_ptr<HcalElectronicsMap> HcalTextCalibrations::produceElectronicsMap(const HcalElectronicsMapRcd& rcd) {
265  return create_impl<HcalElectronicsMap>(mInputs["ElectronicsMap"]);
266 }
267 
268 std::unique_ptr<HcalFrontEndMap> HcalTextCalibrations::produceFrontEndMap(const HcalFrontEndMapRcd& rcd) {
269  return create_impl<HcalFrontEndMap>(mInputs["FrontEndMap"]);
270 }
271 
272 std::unique_ptr<HcalValidationCorrs> HcalTextCalibrations::produceValidationCorrs(const HcalValidationCorrsRcd& rcd) {
273  std::string const n = "ValidationCorrs";
274  return get_impl_topo<HcalValidationCorrs>(mInputs[n], &rcd.get(mTokens[n]));
275 }
276 
277 std::unique_ptr<HcalLutMetadata> HcalTextCalibrations::produceLutMetadata(const HcalLutMetadataRcd& rcd) {
278  std::string const n = "LutMetadata";
279  return get_impl_topo<HcalLutMetadata>(mInputs[n], &rcd.get(mTokens[n]));
280 }
281 
282 std::unique_ptr<HcalDcsValues> HcalTextCalibrations::produceDcsValues(HcalDcsRcd const& rcd) {
283  return get_impl<HcalDcsValues>(mInputs["DcsValues"]);
284 }
285 
286 std::unique_ptr<HcalDcsMap> HcalTextCalibrations::produceDcsMap(const HcalDcsMapRcd& rcd) {
287  return create_impl<HcalDcsMap>(mInputs["DcsMap"]);
288 }
289 
290 std::unique_ptr<HcalRecoParams> HcalTextCalibrations::produceRecoParams(const HcalRecoParamsRcd& rcd) {
291  std::string const n = "RecoParams";
292  return get_impl_topo<HcalRecoParams>(mInputs[n], &rcd.get(mTokens[n]));
293 }
294 
295 std::unique_ptr<HcalLongRecoParams> HcalTextCalibrations::produceLongRecoParams(const HcalLongRecoParamsRcd& rcd) {
296  std::string const n = "LongRecoParams";
297  return get_impl_topo<HcalLongRecoParams>(mInputs[n], &rcd.get(mTokens[n]));
298 }
299 
300 std::unique_ptr<HcalZDCLowGainFractions> HcalTextCalibrations::produceZDCLowGainFractions(
301  const HcalZDCLowGainFractionsRcd& rcd) {
302  std::string const n = "ZDCLowGainFractions";
303  return get_impl_topo<HcalZDCLowGainFractions>(mInputs[n], &rcd.get(mTokens[n]));
304 }
305 
306 std::unique_ptr<HcalTimingParams> HcalTextCalibrations::produceTimingParams(const HcalTimingParamsRcd& rcd) {
307  std::string const n = "TimingParams";
308  return get_impl_topo<HcalTimingParams>(mInputs[n], &rcd.get(mTokens[n]));
309 }
310 std::unique_ptr<HcalMCParams> HcalTextCalibrations::produceMCParams(const HcalMCParamsRcd& rcd) {
311  std::string const n = "MCParams";
312  return get_impl_topo<HcalMCParams>(mInputs[n], &rcd.get(mTokens[n]));
313 }
314 
315 std::unique_ptr<HcalFlagHFDigiTimeParams> HcalTextCalibrations::produceFlagHFDigiTimeParams(
316  const HcalFlagHFDigiTimeParamsRcd& rcd) {
317  std::string const n = "FlagHFDigiTimeParams";
318  return get_impl_topo<HcalFlagHFDigiTimeParams>(mInputs[n], &rcd.get(mTokens[n]));
319 }
320 
321 std::unique_ptr<HcalSiPMParameters> HcalTextCalibrations::produceSiPMParameters(const HcalSiPMParametersRcd& rcd) {
322  std::string const n = "SiPMParameters";
323  return get_impl_topo<HcalSiPMParameters>(mInputs[n], &rcd.get(mTokens[n]));
324 }
325 
326 std::unique_ptr<HcalSiPMCharacteristics> HcalTextCalibrations::produceSiPMCharacteristics(
327  const HcalSiPMCharacteristicsRcd& rcd) {
328  return create_impl<HcalSiPMCharacteristics>(mInputs["SiPMCharacteristics"]);
329 }
330 
331 std::unique_ptr<HcalTPChannelParameters> HcalTextCalibrations::produceTPChannelParameters(
332  const HcalTPChannelParametersRcd& rcd) {
333  std::string const n = "TPChannelParameters";
334  return get_impl_topo<HcalTPChannelParameters>(mInputs[n], &rcd.get(mTokens[n]));
335 }
336 
337 std::unique_ptr<HcalTPParameters> HcalTextCalibrations::produceTPParameters(const HcalTPParametersRcd& rcd) {
338  return get_impl<HcalTPParameters>(mInputs["TPParameters"]);
339 }
HcalTPChannelParametersRcd
Definition: HcalTPChannelParametersRcd.h:7
HcalTextCalibrations::produceEffectivePedestalWidths
std::unique_ptr< HcalPedestalWidths > produceEffectivePedestalWidths(const HcalPedestalWidthsRcd &rcd)
Definition: HcalTextCalibrations.cc:203
HcalTextCalibrations::produceDcsMap
std::unique_ptr< HcalDcsMap > produceDcsMap(const HcalDcsMapRcd &rcd)
Definition: HcalTextCalibrations.cc:286
HcalTextCalibrations::produceElectronicsMap
std::unique_ptr< HcalElectronicsMap > produceElectronicsMap(const HcalElectronicsMapRcd &rcd)
Definition: HcalTextCalibrations.cc:264
HcalTextCalibrations::produceQIEData
std::unique_ptr< HcalQIEData > produceQIEData(const HcalQIEDataRcd &rcd)
Definition: HcalTextCalibrations.cc:219
HcalSiPMCharacteristicsRcd
Definition: HcalSiPMCharacteristicsRcd.h:4
HcalElectronicsMapRcd
Definition: HcalElectronicsMapRcd.h:8
HcalLongRecoParamsRcd
Definition: HcalLongRecoParamsRcd.h:6
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
HcalLutMetadataRcd
Definition: HcalLutMetadataRcd.h:25
ESHandle.h
HcalChannelQualityRcd
Definition: HcalChannelQualityRcd.h:8
HcalGainsRcd
Definition: HcalGainsRcd.h:8
HcalTextCalibrations::produceTPParameters
std::unique_ptr< HcalTPParameters > produceTPParameters(const HcalTPParametersRcd &rcd)
Definition: HcalTextCalibrations.cc:337
ValidityInterval.h
HcalL1TriggerObjectsRcd
Definition: HcalL1TriggerObjectsRcd.h:25
HcalTopology
Definition: HcalTopology.h:26
HcalTextCalibrations::produceRespCorrs
std::unique_ptr< HcalRespCorrs > produceRespCorrs(const HcalRespCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:239
HcalMCParamsRcd
Definition: HcalMCParamsRcd.h:6
edm::ValidityInterval
Definition: ValidityInterval.h:28
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
HcalTextCalibrations::produceTPChannelParameters
std::unique_ptr< HcalTPChannelParameters > produceTPChannelParameters(const HcalTPChannelParametersRcd &rcd)
Definition: HcalTextCalibrations.cc:331
HcalTextCalibrations::produceLutMetadata
std::unique_ptr< HcalLutMetadata > produceLutMetadata(const HcalLutMetadataRcd &rcd)
Definition: HcalTextCalibrations.cc:277
HcalRecNumberingRecord.h
personalPlayback.fp
fp
Definition: personalPlayback.py:523
HcalTextCalibrations::producePedestalWidths
std::unique_ptr< HcalPedestalWidths > producePedestalWidths(const HcalPedestalWidthsRcd &rcd)
Definition: HcalTextCalibrations.cc:193
HcalTextCalibrations::produceSiPMParameters
std::unique_ptr< HcalSiPMParameters > produceSiPMParameters(const HcalSiPMParametersRcd &rcd)
Definition: HcalTextCalibrations.cc:321
HcalGainWidthsRcd
Definition: HcalGainWidthsRcd.h:8
HcalLUTCorrsRcd
Definition: HcalLUTCorrsRcd.h:25
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
HcalTextCalibrations::produceMCParams
std::unique_ptr< HcalMCParams > produceMCParams(const HcalMCParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:310
FileInPath.h
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
produce_impl
std::unique_ptr< T > produce_impl(const std::string &fFile)
Definition: CastorTextCalibrations.cc:97
edm::FileInPath
Definition: FileInPath.h:64
HcalQIETypesRcd
Definition: HcalQIETypesRcd.h:25
HcalSiPMParametersRcd
Definition: HcalSiPMParametersRcd.h:7
HcalTextCalibrations::produceL1TriggerObjects
std::unique_ptr< HcalL1TriggerObjects > produceL1TriggerObjects(const HcalL1TriggerObjectsRcd &rcd)
Definition: HcalTextCalibrations.cc:259
HcalTextCalibrations::producePFCorrs
std::unique_ptr< HcalPFCorrs > producePFCorrs(const HcalPFCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:249
HcalTextCalibrations::produceTimingParams
std::unique_ptr< HcalTimingParams > produceTimingParams(const HcalTimingParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:306
HcalTextCalibrations::produceLUTCorrs
std::unique_ptr< HcalLUTCorrs > produceLUTCorrs(const HcalLUTCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:244
HcalTextCalibrations::produceTimeCorrs
std::unique_ptr< HcalTimeCorrs > produceTimeCorrs(const HcalTimeCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:254
edm::es::Label
Definition: es_Label.h:56
HcalTextCalibrations::produceQIETypes
std::unique_ptr< HcalQIETypes > produceQIETypes(const HcalQIETypesRcd &rcd)
Definition: HcalTextCalibrations.cc:224
edm::eventsetup::EventSetupRecordKey::name
const char * name() const
Definition: EventSetupRecordKey.h:46
HcalPedestalWidthsRcd
Definition: HcalPedestalWidthsRcd.h:8
edm::eventsetup::DependentRecordImplementation::get
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition: DependentRecordImplementation.h:103
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
HcalTextCalibrations::produceGains
std::unique_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
Definition: HcalTextCalibrations.cc:209
HcalValidationCorrsRcd
Definition: HcalValidationCorrsRcd.h:25
HcalDcsRcd
Definition: HcalDcsRcd.h:5
HcalTextCalibrations::produceDcsValues
std::unique_ptr< HcalDcsValues > produceDcsValues(HcalDcsRcd const &rcd)
Definition: HcalTextCalibrations.cc:282
HcalTPParametersRcd
Definition: HcalTPParametersRcd.h:4
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalTextCalibrations::produceSiPMCharacteristics
std::unique_ptr< HcalSiPMCharacteristics > produceSiPMCharacteristics(const HcalSiPMCharacteristicsRcd &rcd)
Definition: HcalTextCalibrations.cc:326
HcalZDCLowGainFractionsRcd
Definition: HcalZDCLowGainFractionsRcd.h:25
edm::ParameterSet
Definition: ParameterSet.h:47
HcalPFCorrsRcd
Definition: HcalPFCorrsRcd.h:25
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
HcalFrontEndMapRcd
Definition: HcalFrontEndMapRcd.h:7
HcalAllRcds.h
HcalTextCalibrations::produceEffectivePedestals
std::unique_ptr< HcalPedestals > produceEffectivePedestals(const HcalPedestalsRcd &rcd)
Definition: HcalTextCalibrations.cc:198
HcalZSThresholdsRcd
Definition: HcalZSThresholdsRcd.h:25
HcalRespCorrsRcd
Definition: HcalRespCorrsRcd.h:27
HcalTimingParamsRcd
Definition: HcalTimingParamsRcd.h:6
HcalTextCalibrations::produceValidationCorrs
std::unique_ptr< HcalValidationCorrs > produceValidationCorrs(const HcalValidationCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:272
cond::ValidityInterval
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:17
HcalTextCalibrations::produceChannelQuality
std::unique_ptr< HcalChannelQuality > produceChannelQuality(const HcalChannelQualityRcd &rcd)
Definition: HcalTextCalibrations.cc:229
HcalTextCalibrations::produceFrontEndMap
std::unique_ptr< HcalFrontEndMap > produceFrontEndMap(const HcalFrontEndMapRcd &rcd)
Definition: HcalTextCalibrations.cc:268
HcalTextCalibrations::produceRecoParams
std::unique_ptr< HcalRecoParams > produceRecoParams(const HcalRecoParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:290
HcalQIEDataRcd
Definition: HcalQIEDataRcd.h:8
HcalTextCalibrations::produceFlagHFDigiTimeParams
std::unique_ptr< HcalFlagHFDigiTimeParams > produceFlagHFDigiTimeParams(const HcalFlagHFDigiTimeParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:315
HcalTextCalibrations::produceZSThresholds
std::unique_ptr< HcalZSThresholds > produceZSThresholds(const HcalZSThresholdsRcd &rcd)
Definition: HcalTextCalibrations.cc:234
Exception
Definition: hltDiff.cc:246
HcalTextCalibrations.h
HcalTextCalibrations::producePedestals
std::unique_ptr< HcalPedestals > producePedestals(const HcalPedestalsRcd &rcd)
Definition: HcalTextCalibrations.cc:188
HcalPedestalsRcd
Definition: HcalPedestalsRcd.h:9
HcalRecoParamsRcd
Definition: HcalRecoParamsRcd.h:6
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HcalFlagHFDigiTimeParamsRcd
Definition: HcalFlagHFDigiTimeParamsRcd.h:6
Exception.h
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
HcalTextCalibrations::produceLongRecoParams
std::unique_ptr< HcalLongRecoParams > produceLongRecoParams(const HcalLongRecoParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:295
mps_fire.result
result
Definition: mps_fire.py:311
HcalTextCalibrations::produceGainWidths
std::unique_ptr< HcalGainWidths > produceGainWidths(const HcalGainWidthsRcd &rcd)
Definition: HcalTextCalibrations.cc:214
HcalTimeCorrsRcd
Definition: HcalTimeCorrsRcd.h:25
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.cerr
cerr
Definition: EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.py:8
HcalTextCalibrations::produceZDCLowGainFractions
std::unique_ptr< HcalZDCLowGainFractions > produceZDCLowGainFractions(const HcalZDCLowGainFractionsRcd &rcd)
Definition: HcalTextCalibrations.cc:300
HcalTextCalibrations::~HcalTextCalibrations
~HcalTextCalibrations() override
Definition: HcalTextCalibrations.cc:148
HcalDcsMapRcd
Definition: HcalDcsMapRcd.h:5
HcalTextCalibrations::HcalTextCalibrations
HcalTextCalibrations(const edm::ParameterSet &)
Definition: HcalTextCalibrations.cc:27
HcalTextCalibrations::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition: HcalTextCalibrations.cc:153
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21
summarizeEdmComparisonLogfiles.objectName
objectName
Definition: summarizeEdmComparisonLogfiles.py:105