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
HcalTextCalibrations Class Reference

#include <HcalTextCalibrations.h>

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

Public Member Functions

 HcalTextCalibrations (const edm::ParameterSet &)
 
void produce ()
 
 ~HcalTextCalibrations ()
 
- 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
< HcalCholeskyMatrices
produceCholeskyMatrices (const HcalCholeskyMatricesRcd &rcd)
 
std::auto_ptr
< HcalCovarianceMatrices
produceCovarianceMatrices (const HcalCovarianceMatricesRcd &rcd)
 
std::auto_ptr< HcalDcsMapproduceDcsMap (const HcalDcsMapRcd &rcd)
 
std::auto_ptr< HcalDcsValuesproduceDcsValues (HcalDcsRcd const &rcd)
 
std::auto_ptr< HcalElectronicsMapproduceElectronicsMap (const HcalElectronicsMapRcd &rcd)
 
std::auto_ptr
< HcalFlagHFDigiTimeParams
produceFlagHFDigiTimeParams (const HcalFlagHFDigiTimeParamsRcd &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< HcalLongRecoParamsproduceLongRecoParams (const HcalLongRecoParamsRcd &rcd)
 
std::auto_ptr< HcalLUTCorrsproduceLUTCorrs (const HcalLUTCorrsRcd &rcd)
 
std::auto_ptr< HcalLutMetadataproduceLutMetadata (const HcalLutMetadataRcd &rcd)
 
std::auto_ptr< HcalMCParamsproduceMCParams (const HcalMCParamsRcd &rcd)
 
std::auto_ptr< HcalPedestalsproducePedestals (const HcalPedestalsRcd &rcd)
 
std::auto_ptr< HcalPedestalWidthsproducePedestalWidths (const HcalPedestalWidthsRcd &rcd)
 
std::auto_ptr< HcalPFCorrsproducePFCorrs (const HcalPFCorrsRcd &rcd)
 
std::auto_ptr< HcalQIEDataproduceQIEData (const HcalQIEDataRcd &rcd)
 
std::auto_ptr< HcalRecoParamsproduceRecoParams (const HcalRecoParamsRcd &rcd)
 
std::auto_ptr< HcalRespCorrsproduceRespCorrs (const HcalRespCorrsRcd &rcd)
 
std::auto_ptr< HcalTimeCorrsproduceTimeCorrs (const HcalTimeCorrsRcd &rcd)
 
std::auto_ptr< HcalTimingParamsproduceTimingParams (const HcalTimingParamsRcd &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 > 
mInputs
 

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 40 of file HcalTextCalibrations.h.

Constructor & Destructor Documentation

HcalTextCalibrations::HcalTextCalibrations ( const edm::ParameterSet iConfig)

Definition at line 28 of file HcalTextCalibrations.cc.

References dtNoiseDBValidation_cfg::cerr, data, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), summarizeEdmComparisonLogfiles::objectName, produceChannelQuality(), produceCholeskyMatrices(), produceCovarianceMatrices(), produceDcsMap(), produceDcsValues(), produceElectronicsMap(), produceFlagHFDigiTimeParams(), produceGains(), produceGainWidths(), produceL1TriggerObjects(), produceLongRecoParams(), produceLUTCorrs(), produceLutMetadata(), produceMCParams(), producePedestals(), producePedestalWidths(), producePFCorrs(), produceQIEData(), produceRecoParams(), produceRespCorrs(), produceTimeCorrs(), produceTimingParams(), produceValidationCorrs(), produceZSThresholds(), and AlCaHLTBitMon_QueryRunRegistry::string.

30 {
31  //parsing parameters
32  std::vector<edm::ParameterSet> data = iConfig.getParameter<std::vector<edm::ParameterSet> >("input");
33  std::vector<edm::ParameterSet>::iterator request = data.begin ();
34  for (; request != data.end (); request++) {
35  std::string objectName = request->getParameter<std::string> ("object");
36  edm::FileInPath fp = request->getParameter<edm::FileInPath>("file");
37  mInputs [objectName] = fp.fullPath();
38  if (objectName == "Pedestals") {
40  findingRecord <HcalPedestalsRcd> ();
41  }
42  else if (objectName == "PedestalWidths") {
44  findingRecord <HcalPedestalWidthsRcd> ();
45  }
46  else if (objectName == "Gains") {
48  findingRecord <HcalGainsRcd> ();
49  }
50  else if (objectName == "GainWidths") {
52  findingRecord <HcalGainWidthsRcd> ();
53  }
54  else if (objectName == "QIEData") {
56  findingRecord <HcalQIEDataRcd> ();
57  }
58  else if (objectName == "ChannelQuality") {
60  findingRecord <HcalChannelQualityRcd> ();
61  }
62  else if (objectName == "ZSThresholds") {
64  findingRecord <HcalZSThresholdsRcd> ();
65  }
66  else if (objectName == "RespCorrs") {
68  findingRecord <HcalRespCorrsRcd> ();
69  }
70  else if (objectName == "LUTCorrs") {
72  findingRecord <HcalLUTCorrsRcd> ();
73  }
74  else if (objectName == "PFCorrs") {
76  findingRecord <HcalPFCorrsRcd> ();
77  }
78  else if (objectName == "TimeCorrs") {
80  findingRecord <HcalTimeCorrsRcd> ();
81  }
82  else if (objectName == "L1TriggerObjects") {
84  findingRecord <HcalL1TriggerObjectsRcd> ();
85  }
86  else if (objectName == "ElectronicsMap") {
88  findingRecord <HcalElectronicsMapRcd> ();
89  }
90  else if (objectName == "ValidationCorrs") {
92  findingRecord <HcalValidationCorrsRcd> ();
93  }
94  else if (objectName == "LutMetadata") {
96  findingRecord <HcalLutMetadataRcd> ();
97  }
98  else if (objectName == "DcsValues") {
100  findingRecord <HcalDcsRcd> ();
101  }
102  else if (objectName == "DcsMap") {
104  findingRecord <HcalDcsMapRcd> ();
105  }
106  else if (objectName == "CholeskyMatrices") {
108  findingRecord <HcalCholeskyMatricesRcd> ();
109  }
110  else if (objectName == "CovarianceMatrices") {
112  findingRecord <HcalCovarianceMatricesRcd> ();
113  }
114  else if (objectName == "RecoParams") {
116  findingRecord <HcalRecoParamsRcd> ();
117  }
118  else if (objectName == "TimingParams") {
120  findingRecord <HcalTimingParamsRcd> ();
121  }
122  else if (objectName == "LongRecoParams") {
124  findingRecord <HcalLongRecoParamsRcd> ();
125  }
126  else if (objectName == "MCParams") {
128  findingRecord <HcalMCParamsRcd> ();
129  }
130  else if (objectName == "FlagHFDigiTimeParams") {
132  findingRecord <HcalFlagHFDigiTimeParamsRcd> ();
133  }
134  else {
135  std::cerr << "HcalTextCalibrations-> Unknown object name '" << objectName
136  << "', known names are: "
137  << "Pedestals PedestalWidths Gains GainWidths QIEData ChannelQuality ElectronicsMap "
138  << "ZSThresholds RespCorrs LUTCorrs PFCorrs TimeCorrs L1TriggerObjects "
139  << "ValidationCorrs LutMetadata DcsValues DcsMap CholeskyMatrices CovarianceMatrices "
140  << "RecoParams LongRecoParams FlagHFDigiTimeParams MCParams "
141  << std::endl;
142  }
143  }
144  // setWhatProduced(this);
145 }
T getParameter(std::string const &) const
std::auto_ptr< HcalDcsValues > produceDcsValues(HcalDcsRcd const &rcd)
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalQIEData > produceQIEData(const HcalQIEDataRcd &rcd)
std::auto_ptr< HcalLongRecoParams > produceLongRecoParams(const HcalLongRecoParamsRcd &rcd)
std::auto_ptr< HcalPedestals > producePedestals(const HcalPedestalsRcd &rcd)
std::auto_ptr< HcalCovarianceMatrices > produceCovarianceMatrices(const HcalCovarianceMatricesRcd &rcd)
std::auto_ptr< HcalMCParams > produceMCParams(const HcalMCParamsRcd &rcd)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
std::auto_ptr< HcalGainWidths > produceGainWidths(const HcalGainWidthsRcd &rcd)
std::auto_ptr< HcalZSThresholds > produceZSThresholds(const HcalZSThresholdsRcd &rcd)
std::auto_ptr< HcalValidationCorrs > produceValidationCorrs(const HcalValidationCorrsRcd &rcd)
std::auto_ptr< HcalFlagHFDigiTimeParams > produceFlagHFDigiTimeParams(const HcalFlagHFDigiTimeParamsRcd &rcd)
std::auto_ptr< HcalRespCorrs > produceRespCorrs(const HcalRespCorrsRcd &rcd)
std::auto_ptr< HcalL1TriggerObjects > produceL1TriggerObjects(const HcalL1TriggerObjectsRcd &rcd)
std::auto_ptr< HcalRecoParams > produceRecoParams(const HcalRecoParamsRcd &rcd)
std::auto_ptr< HcalTimeCorrs > produceTimeCorrs(const HcalTimeCorrsRcd &rcd)
std::auto_ptr< HcalTimingParams > produceTimingParams(const HcalTimingParamsRcd &rcd)
std::auto_ptr< HcalCholeskyMatrices > produceCholeskyMatrices(const HcalCholeskyMatricesRcd &rcd)
std::auto_ptr< HcalChannelQuality > produceChannelQuality(const HcalChannelQualityRcd &rcd)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::auto_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
std::auto_ptr< HcalLUTCorrs > produceLUTCorrs(const HcalLUTCorrsRcd &rcd)
std::auto_ptr< HcalLutMetadata > produceLutMetadata(const HcalLutMetadataRcd &rcd)
std::auto_ptr< HcalElectronicsMap > produceElectronicsMap(const HcalElectronicsMapRcd &rcd)
std::auto_ptr< HcalPedestalWidths > producePedestalWidths(const HcalPedestalWidthsRcd &rcd)
std::auto_ptr< HcalPFCorrs > producePFCorrs(const HcalPFCorrsRcd &rcd)
std::auto_ptr< HcalDcsMap > produceDcsMap(const HcalDcsMapRcd &rcd)
HcalTextCalibrations::~HcalTextCalibrations ( )

Definition at line 148 of file HcalTextCalibrations.cc.

149 {
150 }

Member Function Documentation

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

Definition at line 232 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

232  {
234  rcd.getRecord<IdealGeometryRecord>().get(htopo);
235  const HcalTopology* topo=&(*htopo);
236  return produce_impl<HcalChannelQuality> (topo,mInputs ["ChannelQuality"]);
237 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalCholeskyMatrices > HcalTextCalibrations::produceCholeskyMatrices ( const HcalCholeskyMatricesRcd rcd)
protected

Definition at line 314 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

314  {
316  rcd.getRecord<IdealGeometryRecord>().get(htopo);
317  const HcalTopology* topo=&(*htopo);
318  return produce_impl<HcalCholeskyMatrices> (topo,mInputs ["CholeskyMatrices"]);
319 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalCovarianceMatrices > HcalTextCalibrations::produceCovarianceMatrices ( const HcalCovarianceMatricesRcd rcd)
protected

Definition at line 307 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

307  {
309  rcd.getRecord<IdealGeometryRecord>().get(htopo);
310  const HcalTopology* topo=&(*htopo);
311  return produce_impl<HcalCovarianceMatrices> (topo,mInputs ["CovarianceMatrices"]);
312 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalDcsMap > HcalTextCalibrations::produceDcsMap ( const HcalDcsMapRcd rcd)
protected

Definition at line 303 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

303  {
304  return produce_impl<HcalDcsMap> (mInputs ["DcsMap"]);
305 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalDcsValues > HcalTextCalibrations::produceDcsValues ( HcalDcsRcd const &  rcd)
protected

Definition at line 299 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

299  {
300  return produce_impl<HcalDcsValues> (mInputs ["DcsValues"]);
301 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalElectronicsMap > HcalTextCalibrations::produceElectronicsMap ( const HcalElectronicsMapRcd rcd)
protected

Definition at line 280 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

280  {
281  return produce_impl<HcalElectronicsMap> (mInputs ["ElectronicsMap"]);
282 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalFlagHFDigiTimeParams > HcalTextCalibrations::produceFlagHFDigiTimeParams ( const HcalFlagHFDigiTimeParamsRcd rcd)
protected

Definition at line 347 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

347  {
349  rcd.getRecord<IdealGeometryRecord>().get(htopo);
350  const HcalTopology* topo=&(*htopo);
351  return produce_impl<HcalFlagHFDigiTimeParams> (topo,mInputs ["FlagHFDigiTimeParams"]);
352 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalGains > HcalTextCalibrations::produceGains ( const HcalGainsRcd rcd)
protected

Definition at line 211 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

211  {
213  rcd.getRecord<IdealGeometryRecord>().get(htopo);
214  const HcalTopology* topo=&(*htopo);
215  return produce_impl<HcalGains> (topo,mInputs ["Gains"]);
216 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalGainWidths > HcalTextCalibrations::produceGainWidths ( const HcalGainWidthsRcd rcd)
protected

Definition at line 218 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

218  {
220  rcd.getRecord<IdealGeometryRecord>().get(htopo);
221  const HcalTopology* topo=&(*htopo);
222  return produce_impl<HcalGainWidths> (topo,mInputs ["GainWidths"]);
223 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalL1TriggerObjects > HcalTextCalibrations::produceL1TriggerObjects ( const HcalL1TriggerObjectsRcd rcd)
protected

Definition at line 273 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

273  {
275  rcd.getRecord<IdealGeometryRecord>().get(htopo);
276  const HcalTopology* topo=&(*htopo);
277  return produce_impl<HcalL1TriggerObjects> (topo,mInputs ["L1TriggerObjects"]);
278 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalLongRecoParams > HcalTextCalibrations::produceLongRecoParams ( const HcalLongRecoParamsRcd rcd)
protected

Definition at line 328 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

328  {
330  rcd.getRecord<IdealGeometryRecord>().get(htopo);
331  const HcalTopology* topo=&(*htopo);
332  return produce_impl<HcalLongRecoParams> (topo,mInputs ["LongRecoParams"]);
333 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalLUTCorrs > HcalTextCalibrations::produceLUTCorrs ( const HcalLUTCorrsRcd rcd)
protected

Definition at line 252 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

252  {
254  rcd.getRecord<IdealGeometryRecord>().get(htopo);
255  const HcalTopology* topo=&(*htopo);
256  return produce_impl<HcalLUTCorrs> (topo,mInputs ["LUTCorrs"]);
257 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalLutMetadata > HcalTextCalibrations::produceLutMetadata ( const HcalLutMetadataRcd rcd)
protected

Definition at line 291 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

291  {
293  rcd.getRecord<IdealGeometryRecord>().get(htopo);
294  const HcalTopology* topo=&(*htopo);
295  return produce_impl<HcalLutMetadata> (topo,mInputs ["LutMetadata"]);
296 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalMCParams > HcalTextCalibrations::produceMCParams ( const HcalMCParamsRcd rcd)
protected

Definition at line 340 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

340  {
342  rcd.getRecord<IdealGeometryRecord>().get(htopo);
343  const HcalTopology* topo=&(*htopo);
344  return produce_impl<HcalMCParams> (topo,mInputs ["MCParams"]);
345 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalPedestals > HcalTextCalibrations::producePedestals ( const HcalPedestalsRcd rcd)
protected

Definition at line 196 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

196  {
198  rcd.getRecord<IdealGeometryRecord>().get(htopo);
199  const HcalTopology* topo=&(*htopo);
200 
201  return produce_impl<HcalPedestals> (topo,mInputs ["Pedestals"]);
202 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalPedestalWidths > HcalTextCalibrations::producePedestalWidths ( const HcalPedestalWidthsRcd rcd)
protected

Definition at line 204 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

204  {
206  rcd.getRecord<IdealGeometryRecord>().get(htopo);
207  const HcalTopology* topo=&(*htopo);
208  return produce_impl<HcalPedestalWidths> (topo,mInputs ["PedestalWidths"]);
209 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalPFCorrs > HcalTextCalibrations::producePFCorrs ( const HcalPFCorrsRcd rcd)
protected

Definition at line 259 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

259  {
261  rcd.getRecord<IdealGeometryRecord>().get(htopo);
262  const HcalTopology* topo=&(*htopo);
263  return produce_impl<HcalPFCorrs> (topo,mInputs ["PFCorrs"]);
264 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalQIEData > HcalTextCalibrations::produceQIEData ( const HcalQIEDataRcd rcd)
protected

Definition at line 225 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

225  {
227  rcd.getRecord<IdealGeometryRecord>().get(htopo);
228  const HcalTopology* topo=&(*htopo);
229  return produce_impl<HcalQIEData> (topo,mInputs ["QIEData"]);
230 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalRecoParams > HcalTextCalibrations::produceRecoParams ( const HcalRecoParamsRcd rcd)
protected

Definition at line 321 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

321  {
323  rcd.getRecord<IdealGeometryRecord>().get(htopo);
324  const HcalTopology* topo=&(*htopo);
325  return produce_impl<HcalRecoParams> (topo,mInputs ["RecoParams"]);
326 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalRespCorrs > HcalTextCalibrations::produceRespCorrs ( const HcalRespCorrsRcd rcd)
protected

Definition at line 245 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

245  {
247  rcd.getRecord<IdealGeometryRecord>().get(htopo);
248  const HcalTopology* topo=&(*htopo);
249  return produce_impl<HcalRespCorrs> (topo,mInputs ["RespCorrs"]);
250 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalTimeCorrs > HcalTextCalibrations::produceTimeCorrs ( const HcalTimeCorrsRcd rcd)
protected

Definition at line 266 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

266  {
268  rcd.getRecord<IdealGeometryRecord>().get(htopo);
269  const HcalTopology* topo=&(*htopo);
270  return produce_impl<HcalTimeCorrs> (topo,mInputs ["TimeCorrs"]);
271 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalTimingParams > HcalTextCalibrations::produceTimingParams ( const HcalTimingParamsRcd rcd)
protected

Definition at line 334 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

334  {
336  rcd.getRecord<IdealGeometryRecord>().get(htopo);
337  const HcalTopology* topo=&(*htopo);
338  return produce_impl<HcalTimingParams> (topo,mInputs ["TimingParams"]);
339 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalValidationCorrs > HcalTextCalibrations::produceValidationCorrs ( const HcalValidationCorrsRcd rcd)
protected

Definition at line 284 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

284  {
286  rcd.getRecord<IdealGeometryRecord>().get(htopo);
287  const HcalTopology* topo=&(*htopo);
288  return produce_impl<HcalValidationCorrs> (topo,mInputs ["ValidationCorrs"]);
289 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalZSThresholds > HcalTextCalibrations::produceZSThresholds ( const HcalZSThresholdsRcd rcd)
protected

Definition at line 239 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

240  rcd.getRecord<IdealGeometryRecord>().get(htopo);
241  const HcalTopology* topo=&(*htopo);
242  return produce_impl<HcalZSThresholds> (topo,mInputs ["ZSThresholds"]);
243 }
std::map< std::string, std::string > mInputs
void HcalTextCalibrations::setIntervalFor ( const edm::eventsetup::EventSetupRecordKey iKey,
const edm::IOVSyncValue iTime,
edm::ValidityInterval oInterval 
)
protectedvirtual

Implements edm::EventSetupRecordIntervalFinder.

Definition at line 157 of file HcalTextCalibrations.cc.

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

157  {
158  std::string record = iKey.name ();
160 }
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> HcalTextCalibrations::mInputs
private

Definition at line 83 of file HcalTextCalibrations.h.