CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
HcalOmdsCalibrations Class Reference

#include <HcalOmdsCalibrations.h>

Inheritance diagram for HcalOmdsCalibrations:
edm::ESProducer edm::EventSetupRecordIntervalFinder edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

Public Member Functions

 HcalOmdsCalibrations (const edm::ParameterSet &)
 
void produce ()
 
 ~HcalOmdsCalibrations ()
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
virtual ~ESProducer ()
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
virtual void newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval)
 overrides DataProxyProvider method More...
 
virtual ~ESProxyFactoryProducer ()
 
- Public Member Functions inherited from edm::eventsetup::DataProxyProvider
 DataProxyProvider ()
 
const ComponentDescriptiondescription () const
 
bool isUsingRecord (const EventSetupRecordKey &) const
 
const KeyedProxieskeyedProxies (const EventSetupRecordKey &iRecordKey) const
 
void resetProxies (const EventSetupRecordKey &iRecordType)
 
void resetProxiesIfTransient (const EventSetupRecordKey &iRecordType)
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~DataProxyProvider ()
 
- Public Member Functions inherited from edm::EventSetupRecordIntervalFinder
const
eventsetup::ComponentDescription
descriptionForFinder () const
 
 EventSetupRecordIntervalFinder ()
 
std::set
< eventsetup::EventSetupRecordKey
findingForRecords () const
 
const ValidityIntervalfindIntervalFor (const eventsetup::EventSetupRecordKey &, const IOVSyncValue &)
 
void setDescriptionForFinder (const eventsetup::ComponentDescription &iDescription)
 
virtual ~EventSetupRecordIntervalFinder ()
 

Protected Member Functions

std::auto_ptr< HcalChannelQualityproduceChannelQuality (const HcalChannelQualityRcd &rcd)
 
std::auto_ptr< HcalDcsValuesproduceDcsValues (const HcalDcsRcd &rcd)
 
std::auto_ptr< HcalElectronicsMapproduceElectronicsMap (const HcalElectronicsMapRcd &rcd)
 
std::auto_ptr< HcalGainsproduceGains (const HcalGainsRcd &rcd)
 
std::auto_ptr< HcalGainWidthsproduceGainWidths (const HcalGainWidthsRcd &rcd)
 
std::auto_ptr
< HcalL1TriggerObjects
produceL1TriggerObjects (const HcalL1TriggerObjectsRcd &rcd)
 
std::auto_ptr< HcalLutMetadataproduceLutMetadata (const HcalLutMetadataRcd &rcd)
 
std::auto_ptr< HcalPedestalsproducePedestals (const HcalPedestalsRcd &rcd)
 
std::auto_ptr< HcalPedestalWidthsproducePedestalWidths (const HcalPedestalWidthsRcd &rcd)
 
std::auto_ptr< HcalQIEDataproduceQIEData (const HcalQIEDataRcd &rcd)
 
std::auto_ptr< HcalRespCorrsproduceRespCorrs (const HcalRespCorrsRcd &rcd)
 
std::auto_ptr
< HcalValidationCorrs
produceValidationCorrs (const HcalValidationCorrsRcd &rcd)
 
std::auto_ptr< HcalZSThresholdsproduceZSThresholds (const HcalZSThresholdsRcd &rcd)
 
virtual void setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
 
- Protected Member Functions inherited from edm::ESProducer
template<typename T >
void setWhatProduced (T *iThis, const es::Label &iLabel=es::Label())
 
template<typename T >
void setWhatProduced (T *iThis, const char *iLabel)
 
template<typename T >
void setWhatProduced (T *iThis, const std::string &iLabel)
 
template<typename T , typename TDecorator >
void setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord , typename TArg >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label())
 
- Protected Member Functions inherited from edm::ESProxyFactoryProducer
template<class TFactory >
void registerFactory (std::auto_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
virtual void registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::auto_ptr< eventsetup::ProxyFactoryBase > &iFactory, const std::string &iLabel=std::string())
 
virtual void registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList)
 override DataProxyProvider method More...
 
- Protected Member Functions inherited from edm::eventsetup::DataProxyProvider
void eraseAll (const EventSetupRecordKey &iRecordKey)
 deletes all the Proxies in aStream More...
 
void invalidateProxies (const EventSetupRecordKey &iRecordKey)
 
template<class T >
void usingRecord ()
 
void usingRecordWithKey (const EventSetupRecordKey &)
 
- Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder
template<class T >
void findingRecord ()
 
void findingRecordWithKey (const eventsetup::EventSetupRecordKey &)
 

Private Attributes

std::map< std::string,
std::string > 
mAccessor
 
std::map< std::string,
std::string > 
mInputs
 
std::map< std::string, int > mIOVBegin
 
std::map< std::string,
std::string > 
mQuery
 
std::map< std::string, int > mSubversion
 
std::map< std::string,
std::string > 
mVersion
 

Additional Inherited Members

- Public Types inherited from edm::eventsetup::DataProxyProvider
typedef std::vector< std::pair
< DataKey, boost::shared_ptr
< DataProxy > > > 
KeyedProxies
 
typedef std::vector
< EventSetupRecordKey
Keys
 
typedef std::map
< EventSetupRecordKey,
KeyedProxies
RecordProxies
 
- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 

Detailed Description

Definition at line 31 of file HcalOmdsCalibrations.h.

Constructor & Destructor Documentation

HcalOmdsCalibrations::HcalOmdsCalibrations ( const edm::ParameterSet iConfig)

Definition at line 43 of file HcalOmdsCalibrations.cc.

References dtNoiseDBValidation_cfg::cerr, data, edm::ParameterSet::getParameter(), summarizeEdmComparisonLogfiles::objectName, produceChannelQuality(), produceDcsValues(), produceElectronicsMap(), produceGains(), produceGainWidths(), produceL1TriggerObjects(), produceLutMetadata(), producePedestals(), producePedestalWidths(), produceQIEData(), produceRespCorrs(), produceValidationCorrs(), produceZSThresholds(), and AlCaHLTBitMon_QueryRunRegistry::string.

45 {
46  //parsing parameters
47  std::vector<edm::ParameterSet> data = iConfig.getParameter<std::vector<edm::ParameterSet> >("input");
48  std::vector<edm::ParameterSet>::iterator request = data.begin ();
49  for (; request != data.end (); request++) {
50  std::string objectName = request->getParameter<std::string> ("object");
51 
52  if (request->exists("version")) mVersion[objectName] = request->getParameter<std::string>("version");
53  if (request->exists("subversion")) mSubversion[objectName] = request->getParameter<int>("subversion");
54  if (request->exists("iov_begin")) mIOVBegin[objectName] = request->getParameter<int>("iov_begin");
55  if (request->exists("accessor")) mAccessor[objectName] = request->getParameter<std::string>("accessor");
56  if (request->exists("query")) mQuery[objectName] = request->getParameter<std::string>("query");
57 
58  mInputs [objectName] = request->getParameter<std::string>("tag");
59  if (objectName == "Pedestals") {
61  findingRecord <HcalPedestalsRcd> ();
62  }
63  else if (objectName == "PedestalWidths") {
65  findingRecord <HcalPedestalWidthsRcd> ();
66  }
67  else if (objectName == "Gains") {
69  findingRecord <HcalGainsRcd> ();
70  }
71  else if (objectName == "GainWidths") {
73  findingRecord <HcalGainWidthsRcd> ();
74  }
75  else if (objectName == "QIEData") {
77  findingRecord <HcalQIEDataRcd> ();
78  }
79  else if (objectName == "ChannelQuality") {
81  findingRecord <HcalChannelQualityRcd> ();
82  }
83  else if (objectName == "ZSThresholds") {
85  findingRecord <HcalZSThresholdsRcd> ();
86  }
87  else if (objectName == "RespCorrs") {
89  findingRecord <HcalRespCorrsRcd> ();
90  }
91  else if (objectName == "L1TriggerObjects") {
93  findingRecord <HcalL1TriggerObjectsRcd> ();
94  }
95  else if (objectName == "ElectronicsMap") {
97  findingRecord <HcalElectronicsMapRcd> ();
98  }
99  else if (objectName == "ValidationCorrs") {
101  findingRecord <HcalValidationCorrsRcd> ();
102  }
103  else if (objectName == "LutMetadata") {
105  findingRecord <HcalLutMetadataRcd> ();
106  }
107  else if (objectName == "DcsValues") {
109  findingRecord <HcalDcsRcd> ();
110  }
111  else {
112  std::cerr << "HcalOmdsCalibrations-> Unknown object name '" << objectName
113  << "', known names are: "
114  << "Pedestals PedestalWidths Gains GainWidths QIEData ChannelQuality ElectronicsMap "
115  << "ZSThresholds RespCorrs L1TriggerObjects ValidationCorrs LutMetadata DcsValues "
116  << std::endl;
117  }
118  }
119  // setWhatProduced(this);
120 }
std::auto_ptr< HcalZSThresholds > produceZSThresholds(const HcalZSThresholdsRcd &rcd)
T getParameter(std::string const &) const
std::map< std::string, std::string > mQuery
std::auto_ptr< HcalQIEData > produceQIEData(const HcalQIEDataRcd &rcd)
std::map< std::string, int > mSubversion
std::auto_ptr< HcalDcsValues > produceDcsValues(const HcalDcsRcd &rcd)
std::map< std::string, int > mIOVBegin
std::auto_ptr< HcalL1TriggerObjects > produceL1TriggerObjects(const HcalL1TriggerObjectsRcd &rcd)
std::auto_ptr< HcalPedestalWidths > producePedestalWidths(const HcalPedestalWidthsRcd &rcd)
std::map< std::string, std::string > mAccessor
std::auto_ptr< HcalPedestals > producePedestals(const HcalPedestalsRcd &rcd)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalGainWidths > produceGainWidths(const HcalGainWidthsRcd &rcd)
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalRespCorrs > produceRespCorrs(const HcalRespCorrsRcd &rcd)
std::auto_ptr< HcalLutMetadata > produceLutMetadata(const HcalLutMetadataRcd &rcd)
std::auto_ptr< HcalChannelQuality > produceChannelQuality(const HcalChannelQualityRcd &rcd)
std::auto_ptr< HcalElectronicsMap > produceElectronicsMap(const HcalElectronicsMapRcd &rcd)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::auto_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
std::auto_ptr< HcalValidationCorrs > produceValidationCorrs(const HcalValidationCorrsRcd &rcd)
HcalOmdsCalibrations::~HcalOmdsCalibrations ( )

Definition at line 123 of file HcalOmdsCalibrations.cc.

124 {
125 }

Member Function Documentation

void HcalOmdsCalibrations::produce ( )
inline
std::auto_ptr< HcalChannelQuality > HcalOmdsCalibrations::produceChannelQuality ( const HcalChannelQualityRcd rcd)
protected

Definition at line 262 of file HcalOmdsCalibrations.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

Referenced by HcalOmdsCalibrations().

262  {
264  rcd.getRecord<IdealGeometryRecord>().get(htopo);
265  const HcalTopology* topo=&(*htopo);
266  return produce_impl<HcalChannelQuality> (topo, mInputs ["ChannelQuality"],
267  mVersion["ChannelQuality"],
268  mSubversion["ChannelQuality"],
269  mIOVBegin["ChannelQuality"],
270  mQuery["ChannelQuality"],
271  mAccessor["ChannelQuality"]);
272 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalDcsValues > HcalOmdsCalibrations::produceDcsValues ( const HcalDcsRcd rcd)
protected

Definition at line 343 of file HcalOmdsCalibrations.cc.

Referenced by HcalOmdsCalibrations().

343  {
344  return produce_impl<HcalDcsValues> (mInputs ["DcsValues"],
345  mVersion["DcsValues"],
346  mSubversion["DcsValues"],
347  mIOVBegin["DcsValues"],
348  mQuery["DcsValues"],
349  mAccessor["DcsValues"]);
350 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalElectronicsMap > HcalOmdsCalibrations::produceElectronicsMap ( const HcalElectronicsMapRcd rcd)
protected

Definition at line 310 of file HcalOmdsCalibrations.cc.

Referenced by HcalOmdsCalibrations().

310  {
311  return produce_impl<HcalElectronicsMap> (mInputs ["ElectronicsMap"],
312  mVersion["ElectronicsMap"],
313  mSubversion["ElectronicsMap"],
314  mIOVBegin["ElectronicsMap"],
315  mQuery["ElectronicsMap"],
316  mAccessor["ElectronicsMap"]);
317 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalGains > HcalOmdsCalibrations::produceGains ( const HcalGainsRcd rcd)
protected

Definition at line 226 of file HcalOmdsCalibrations.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

Referenced by HcalOmdsCalibrations().

226  {
228  rcd.getRecord<IdealGeometryRecord>().get(htopo);
229  const HcalTopology* topo=&(*htopo);
230  return produce_impl<HcalGains> (topo, mInputs ["Gains"],
231  mVersion["Gains"],
232  mSubversion["Gains"],
233  mIOVBegin["Gains"],
234  mQuery["Gains"],
235  mAccessor["Gains"]);
236 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalGainWidths > HcalOmdsCalibrations::produceGainWidths ( const HcalGainWidthsRcd rcd)
protected

Definition at line 238 of file HcalOmdsCalibrations.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

Referenced by HcalOmdsCalibrations().

238  {
240  rcd.getRecord<IdealGeometryRecord>().get(htopo);
241  const HcalTopology* topo=&(*htopo);
242  return produce_impl<HcalGainWidths> (topo, mInputs ["GainWidths"],
243  mVersion["GainWidths"],
244  mSubversion["GainWidths"],
245  mIOVBegin["GainWidths"],
246  mQuery["GainWidths"],
247  mAccessor["GainWidths"]);
248 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalL1TriggerObjects > HcalOmdsCalibrations::produceL1TriggerObjects ( const HcalL1TriggerObjectsRcd rcd)
protected

Definition at line 298 of file HcalOmdsCalibrations.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

Referenced by HcalOmdsCalibrations().

298  {
300  rcd.getRecord<IdealGeometryRecord>().get(htopo);
301  const HcalTopology* topo=&(*htopo);
302  return produce_impl<HcalL1TriggerObjects> (topo, mInputs ["L1TriggerObjects"],
303  mVersion["L1TriggerObjects"],
304  mSubversion["L1TriggerObjects"],
305  mIOVBegin["L1TriggerObjects"],
306  mQuery["L1TriggerObjects"],
307  mAccessor["L1TriggerObjects"]);
308 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalLutMetadata > HcalOmdsCalibrations::produceLutMetadata ( const HcalLutMetadataRcd rcd)
protected

Definition at line 331 of file HcalOmdsCalibrations.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

Referenced by HcalOmdsCalibrations().

331  {
333  rcd.getRecord<IdealGeometryRecord>().get(htopo);
334  const HcalTopology* topo=&(*htopo);
335  return produce_impl<HcalLutMetadata> (topo, mInputs ["LutMetadata"],
336  mVersion["LutMetadata"],
337  mSubversion["LutMetadata"],
338  mIOVBegin["LutMetadata"],
339  mQuery["LutMetadata"],
340  mAccessor["LutMetadata"]);
341 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalPedestals > HcalOmdsCalibrations::producePedestals ( const HcalPedestalsRcd rcd)
protected

Definition at line 201 of file HcalOmdsCalibrations.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

Referenced by HcalOmdsCalibrations().

201  {
203  rcd.getRecord<IdealGeometryRecord>().get(htopo);
204  const HcalTopology* topo=&(*htopo);
205 
206  return produce_impl<HcalPedestals> (topo, mInputs ["Pedestals"],
207  mVersion["Pedestals"],
208  mSubversion["Pedestals"],
209  mIOVBegin["Pedestals"],
210  mQuery["Pedestals"],
211  mAccessor["Pedestals"]);
212 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalPedestalWidths > HcalOmdsCalibrations::producePedestalWidths ( const HcalPedestalWidthsRcd rcd)
protected

Definition at line 214 of file HcalOmdsCalibrations.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

Referenced by HcalOmdsCalibrations().

214  {
216  rcd.getRecord<IdealGeometryRecord>().get(htopo);
217  const HcalTopology* topo=&(*htopo);
218  return produce_impl<HcalPedestalWidths> (topo, mInputs ["PedestalWidths"],
219  mVersion["PedestalWidths"],
220  mSubversion["PedestalWidths"],
221  mIOVBegin["PedestalWidths"],
222  mQuery["PedestalWidths"],
223  mAccessor["PedestalWidths"]);
224 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalQIEData > HcalOmdsCalibrations::produceQIEData ( const HcalQIEDataRcd rcd)
protected

Definition at line 250 of file HcalOmdsCalibrations.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

Referenced by HcalOmdsCalibrations().

250  {
252  rcd.getRecord<IdealGeometryRecord>().get(htopo);
253  const HcalTopology* topo=&(*htopo);
254  return produce_impl<HcalQIEData> (topo, mInputs ["QIEData"],
255  mVersion["QIEData"],
256  mSubversion["QIEData"],
257  mIOVBegin["QIEData"],
258  mQuery["QIEData"],
259  mAccessor["QIEData"]);
260 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalRespCorrs > HcalOmdsCalibrations::produceRespCorrs ( const HcalRespCorrsRcd rcd)
protected

Definition at line 286 of file HcalOmdsCalibrations.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

Referenced by HcalOmdsCalibrations().

286  {
288  rcd.getRecord<IdealGeometryRecord>().get(htopo);
289  const HcalTopology* topo=&(*htopo);
290  return produce_impl<HcalRespCorrs> (topo, mInputs ["RespCorrs"],
291  mVersion["RespCorrs"],
292  mSubversion["RespCorrs"],
293  mIOVBegin["RespCorrs"],
294  mQuery["RespCorrs"],
295  mAccessor["RespCorrs"]);
296 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalValidationCorrs > HcalOmdsCalibrations::produceValidationCorrs ( const HcalValidationCorrsRcd rcd)
protected

Definition at line 319 of file HcalOmdsCalibrations.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

Referenced by HcalOmdsCalibrations().

319  {
321  rcd.getRecord<IdealGeometryRecord>().get(htopo);
322  const HcalTopology* topo=&(*htopo);
323  return produce_impl<HcalValidationCorrs> (topo, mInputs ["ValidationCorrs"],
324  mVersion["ValidationCorrs"],
325  mSubversion["ValidationCorrs"],
326  mIOVBegin["ValidationCorrs"],
327  mQuery["ValidationCorrs"],
328  mAccessor["ValidationCorrs"]);
329 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalZSThresholds > HcalOmdsCalibrations::produceZSThresholds ( const HcalZSThresholdsRcd rcd)
protected

Definition at line 274 of file HcalOmdsCalibrations.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

Referenced by HcalOmdsCalibrations().

274  {
276  rcd.getRecord<IdealGeometryRecord>().get(htopo);
277  const HcalTopology* topo=&(*htopo);
278  return produce_impl<HcalZSThresholds> (topo, mInputs ["ZSThresholds"],
279  mVersion["ZSThresholds"],
280  mSubversion["ZSThresholds"],
281  mIOVBegin["ZSThresholds"],
282  mQuery["ZSThresholds"],
283  mAccessor["ZSThresholds"]);
284 }
std::map< std::string, std::string > mQuery
std::map< std::string, int > mSubversion
std::map< std::string, int > mIOVBegin
std::map< std::string, std::string > mAccessor
std::map< std::string, std::string > mInputs
std::map< std::string, std::string > mVersion
void HcalOmdsCalibrations::setIntervalFor ( const edm::eventsetup::EventSetupRecordKey iKey,
const edm::IOVSyncValue iTime,
edm::ValidityInterval oInterval 
)
protectedvirtual

Implements edm::EventSetupRecordIntervalFinder.

Definition at line 132 of file HcalOmdsCalibrations.cc.

References edm::IOVSyncValue::beginOfTime(), edm::IOVSyncValue::endOfTime(), edm::eventsetup::EventSetupRecordKey::name(), record, and AlCaHLTBitMon_QueryRunRegistry::string.

132  {
133  std::string record = iKey.name ();
135 }
JetCorrectorParameters::Record record
Definition: classes.h:13
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:97
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:19
static const IOVSyncValue & beginOfTime()

Member Data Documentation

std::map<std::string, std::string> HcalOmdsCalibrations::mAccessor
private

Definition at line 65 of file HcalOmdsCalibrations.h.

std::map<std::string, std::string> HcalOmdsCalibrations::mInputs
private

Definition at line 61 of file HcalOmdsCalibrations.h.

std::map<std::string, int> HcalOmdsCalibrations::mIOVBegin
private

Definition at line 64 of file HcalOmdsCalibrations.h.

std::map<std::string, std::string> HcalOmdsCalibrations::mQuery
private

Definition at line 66 of file HcalOmdsCalibrations.h.

std::map<std::string, int> HcalOmdsCalibrations::mSubversion
private

Definition at line 63 of file HcalOmdsCalibrations.h.

std::map<std::string, std::string> HcalOmdsCalibrations::mVersion
private

Definition at line 62 of file HcalOmdsCalibrations.h.