test
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,
edm::propagate_const
< std::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 30 of file HcalOmdsCalibrations.h.

Constructor & Destructor Documentation

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

Definition at line 42 of file HcalOmdsCalibrations.cc.

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

44 {
45  //parsing parameters
46  std::vector<edm::ParameterSet> data = iConfig.getParameter<std::vector<edm::ParameterSet> >("input");
47  std::vector<edm::ParameterSet>::iterator request = data.begin ();
48  for (; request != data.end (); request++) {
49  std::string objectName = request->getParameter<std::string> ("object");
50 
51  if (request->exists("version")) mVersion[objectName] = request->getParameter<std::string>("version");
52  if (request->exists("subversion")) mSubversion[objectName] = request->getParameter<int>("subversion");
53  if (request->exists("iov_begin")) mIOVBegin[objectName] = request->getParameter<int>("iov_begin");
54  if (request->exists("accessor")) mAccessor[objectName] = request->getParameter<std::string>("accessor");
55  if (request->exists("query")) mQuery[objectName] = request->getParameter<std::string>("query");
56 
57  mInputs [objectName] = request->getParameter<std::string>("tag");
58  if (objectName == "Pedestals") {
60  findingRecord <HcalPedestalsRcd> ();
61  }
62  else if (objectName == "PedestalWidths") {
64  findingRecord <HcalPedestalWidthsRcd> ();
65  }
66  else if (objectName == "Gains") {
68  findingRecord <HcalGainsRcd> ();
69  }
70  else if (objectName == "GainWidths") {
72  findingRecord <HcalGainWidthsRcd> ();
73  }
74  else if (objectName == "QIEData") {
76  findingRecord <HcalQIEDataRcd> ();
77  }
78  else if (objectName == "ChannelQuality") {
80  findingRecord <HcalChannelQualityRcd> ();
81  }
82  else if (objectName == "ZSThresholds") {
84  findingRecord <HcalZSThresholdsRcd> ();
85  }
86  else if (objectName == "RespCorrs") {
88  findingRecord <HcalRespCorrsRcd> ();
89  }
90  else if (objectName == "L1TriggerObjects") {
92  findingRecord <HcalL1TriggerObjectsRcd> ();
93  }
94  else if (objectName == "ElectronicsMap") {
96  findingRecord <HcalElectronicsMapRcd> ();
97  }
98  else if (objectName == "ValidationCorrs") {
100  findingRecord <HcalValidationCorrsRcd> ();
101  }
102  else if (objectName == "LutMetadata") {
104  findingRecord <HcalLutMetadataRcd> ();
105  }
106  else if (objectName == "DcsValues") {
108  findingRecord <HcalDcsRcd> ();
109  }
110  else {
111  std::cerr << "HcalOmdsCalibrations-> Unknown object name '" << objectName
112  << "', known names are: "
113  << "Pedestals PedestalWidths Gains GainWidths QIEData ChannelQuality ElectronicsMap "
114  << "ZSThresholds RespCorrs L1TriggerObjects ValidationCorrs LutMetadata DcsValues "
115  << std::endl;
116  }
117  }
118  // setWhatProduced(this);
119 }
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)
std::auto_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
std::auto_ptr< HcalValidationCorrs > produceValidationCorrs(const HcalValidationCorrsRcd &rcd)
HcalOmdsCalibrations::~HcalOmdsCalibrations ( )

Definition at line 122 of file HcalOmdsCalibrations.cc.

123 {
124 }

Member Function Documentation

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

Definition at line 261 of file HcalOmdsCalibrations.cc.

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

Referenced by HcalOmdsCalibrations().

261  {
263  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
264  const HcalTopology* topo=&(*htopo);
265  return produce_impl<HcalChannelQuality> (topo, mInputs ["ChannelQuality"],
266  mVersion["ChannelQuality"],
267  mSubversion["ChannelQuality"],
268  mIOVBegin["ChannelQuality"],
269  mQuery["ChannelQuality"],
270  mAccessor["ChannelQuality"]);
271 }
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 342 of file HcalOmdsCalibrations.cc.

Referenced by HcalOmdsCalibrations().

342  {
343  return produce_impl<HcalDcsValues> (mInputs ["DcsValues"],
344  mVersion["DcsValues"],
345  mSubversion["DcsValues"],
346  mIOVBegin["DcsValues"],
347  mQuery["DcsValues"],
348  mAccessor["DcsValues"]);
349 }
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 309 of file HcalOmdsCalibrations.cc.

Referenced by HcalOmdsCalibrations().

309  {
310  return produce_impl<HcalElectronicsMap> (mInputs ["ElectronicsMap"],
311  mVersion["ElectronicsMap"],
312  mSubversion["ElectronicsMap"],
313  mIOVBegin["ElectronicsMap"],
314  mQuery["ElectronicsMap"],
315  mAccessor["ElectronicsMap"]);
316 }
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 225 of file HcalOmdsCalibrations.cc.

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

Referenced by HcalOmdsCalibrations().

225  {
227  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
228  const HcalTopology* topo=&(*htopo);
229  return produce_impl<HcalGains> (topo, mInputs ["Gains"],
230  mVersion["Gains"],
231  mSubversion["Gains"],
232  mIOVBegin["Gains"],
233  mQuery["Gains"],
234  mAccessor["Gains"]);
235 }
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 237 of file HcalOmdsCalibrations.cc.

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

Referenced by HcalOmdsCalibrations().

237  {
239  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
240  const HcalTopology* topo=&(*htopo);
241  return produce_impl<HcalGainWidths> (topo, mInputs ["GainWidths"],
242  mVersion["GainWidths"],
243  mSubversion["GainWidths"],
244  mIOVBegin["GainWidths"],
245  mQuery["GainWidths"],
246  mAccessor["GainWidths"]);
247 }
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 297 of file HcalOmdsCalibrations.cc.

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

Referenced by HcalOmdsCalibrations().

297  {
299  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
300  const HcalTopology* topo=&(*htopo);
301  return produce_impl<HcalL1TriggerObjects> (topo, mInputs ["L1TriggerObjects"],
302  mVersion["L1TriggerObjects"],
303  mSubversion["L1TriggerObjects"],
304  mIOVBegin["L1TriggerObjects"],
305  mQuery["L1TriggerObjects"],
306  mAccessor["L1TriggerObjects"]);
307 }
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 330 of file HcalOmdsCalibrations.cc.

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

Referenced by HcalOmdsCalibrations().

330  {
332  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
333  const HcalTopology* topo=&(*htopo);
334  return produce_impl<HcalLutMetadata> (topo, mInputs ["LutMetadata"],
335  mVersion["LutMetadata"],
336  mSubversion["LutMetadata"],
337  mIOVBegin["LutMetadata"],
338  mQuery["LutMetadata"],
339  mAccessor["LutMetadata"]);
340 }
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 200 of file HcalOmdsCalibrations.cc.

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

Referenced by HcalOmdsCalibrations().

200  {
202  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
203  const HcalTopology* topo=&(*htopo);
204 
205  return produce_impl<HcalPedestals> (topo, mInputs ["Pedestals"],
206  mVersion["Pedestals"],
207  mSubversion["Pedestals"],
208  mIOVBegin["Pedestals"],
209  mQuery["Pedestals"],
210  mAccessor["Pedestals"]);
211 }
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 213 of file HcalOmdsCalibrations.cc.

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

Referenced by HcalOmdsCalibrations().

213  {
215  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
216  const HcalTopology* topo=&(*htopo);
217  return produce_impl<HcalPedestalWidths> (topo, mInputs ["PedestalWidths"],
218  mVersion["PedestalWidths"],
219  mSubversion["PedestalWidths"],
220  mIOVBegin["PedestalWidths"],
221  mQuery["PedestalWidths"],
222  mAccessor["PedestalWidths"]);
223 }
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 249 of file HcalOmdsCalibrations.cc.

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

Referenced by HcalOmdsCalibrations().

249  {
251  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
252  const HcalTopology* topo=&(*htopo);
253  return produce_impl<HcalQIEData> (topo, mInputs ["QIEData"],
254  mVersion["QIEData"],
255  mSubversion["QIEData"],
256  mIOVBegin["QIEData"],
257  mQuery["QIEData"],
258  mAccessor["QIEData"]);
259 }
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 285 of file HcalOmdsCalibrations.cc.

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

Referenced by HcalOmdsCalibrations().

285  {
287  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
288  const HcalTopology* topo=&(*htopo);
289  return produce_impl<HcalRespCorrs> (topo, mInputs ["RespCorrs"],
290  mVersion["RespCorrs"],
291  mSubversion["RespCorrs"],
292  mIOVBegin["RespCorrs"],
293  mQuery["RespCorrs"],
294  mAccessor["RespCorrs"]);
295 }
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 318 of file HcalOmdsCalibrations.cc.

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

Referenced by HcalOmdsCalibrations().

318  {
320  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
321  const HcalTopology* topo=&(*htopo);
322  return produce_impl<HcalValidationCorrs> (topo, mInputs ["ValidationCorrs"],
323  mVersion["ValidationCorrs"],
324  mSubversion["ValidationCorrs"],
325  mIOVBegin["ValidationCorrs"],
326  mQuery["ValidationCorrs"],
327  mAccessor["ValidationCorrs"]);
328 }
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 273 of file HcalOmdsCalibrations.cc.

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

Referenced by HcalOmdsCalibrations().

273  {
275  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
276  const HcalTopology* topo=&(*htopo);
277  return produce_impl<HcalZSThresholds> (topo, mInputs ["ZSThresholds"],
278  mVersion["ZSThresholds"],
279  mSubversion["ZSThresholds"],
280  mIOVBegin["ZSThresholds"],
281  mQuery["ZSThresholds"],
282  mAccessor["ZSThresholds"]);
283 }
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 131 of file HcalOmdsCalibrations.cc.

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

131  {
132  std::string record = iKey.name ();
134 }
JetCorrectorParameters::Record record
Definition: classes.h:7
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 64 of file HcalOmdsCalibrations.h.

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

Definition at line 60 of file HcalOmdsCalibrations.h.

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

Definition at line 63 of file HcalOmdsCalibrations.h.

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

Definition at line 65 of file HcalOmdsCalibrations.h.

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

Definition at line 62 of file HcalOmdsCalibrations.h.

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

Definition at line 61 of file HcalOmdsCalibrations.h.