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< HcalQIETypesproduceQIETypes (const HcalQIETypesRcd &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
< HcalZDCLowGainFractions
produceZDCLowGainFractions (const HcalZDCLowGainFractionsRcd &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,
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 42 of file HcalTextCalibrations.h.

Constructor & Destructor Documentation

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

Definition at line 28 of file HcalTextCalibrations.cc.

References ecal_dqm_sourceclient-live_cfg::cerr, data, personalPlayback::fp, 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(), produceQIETypes(), produceRecoParams(), produceRespCorrs(), produceTimeCorrs(), produceTimingParams(), produceValidationCorrs(), produceZDCLowGainFractions(), 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 == "QIETypes") {
60  findingRecord <HcalQIETypesRcd> ();
61  }
62  else if (objectName == "ChannelQuality") {
64  findingRecord <HcalChannelQualityRcd> ();
65  }
66  else if (objectName == "ZSThresholds") {
68  findingRecord <HcalZSThresholdsRcd> ();
69  }
70  else if (objectName == "RespCorrs") {
72  findingRecord <HcalRespCorrsRcd> ();
73  }
74  else if (objectName == "LUTCorrs") {
76  findingRecord <HcalLUTCorrsRcd> ();
77  }
78  else if (objectName == "PFCorrs") {
80  findingRecord <HcalPFCorrsRcd> ();
81  }
82  else if (objectName == "TimeCorrs") {
84  findingRecord <HcalTimeCorrsRcd> ();
85  }
86  else if (objectName == "L1TriggerObjects") {
88  findingRecord <HcalL1TriggerObjectsRcd> ();
89  }
90  else if (objectName == "ElectronicsMap") {
92  findingRecord <HcalElectronicsMapRcd> ();
93  }
94  else if (objectName == "ValidationCorrs") {
96  findingRecord <HcalValidationCorrsRcd> ();
97  }
98  else if (objectName == "LutMetadata") {
100  findingRecord <HcalLutMetadataRcd> ();
101  }
102  else if (objectName == "DcsValues") {
104  findingRecord <HcalDcsRcd> ();
105  }
106  else if (objectName == "DcsMap") {
108  findingRecord <HcalDcsMapRcd> ();
109  }
110  else if (objectName == "CholeskyMatrices") {
112  findingRecord <HcalCholeskyMatricesRcd> ();
113  }
114  else if (objectName == "CovarianceMatrices") {
116  findingRecord <HcalCovarianceMatricesRcd> ();
117  }
118  else if (objectName == "RecoParams") {
120  findingRecord <HcalRecoParamsRcd> ();
121  }
122  else if (objectName == "TimingParams") {
124  findingRecord <HcalTimingParamsRcd> ();
125  }
126  else if (objectName == "LongRecoParams") {
128  findingRecord <HcalLongRecoParamsRcd> ();
129  }
130  else if (objectName == "ZDCLowGainFractions") {
132  findingRecord <HcalZDCLowGainFractionsRcd> ();
133  }
134  else if (objectName == "MCParams") {
136  findingRecord <HcalMCParamsRcd> ();
137  }
138  else if (objectName == "FlagHFDigiTimeParams") {
140  findingRecord <HcalFlagHFDigiTimeParamsRcd> ();
141  }
142  else {
143  std::cerr << "HcalTextCalibrations-> Unknown object name '" << objectName
144  << "', known names are: "
145  << "Pedestals PedestalWidths Gains GainWidths QIEData QIETypes ChannelQuality ElectronicsMap "
146  << "ZSThresholds RespCorrs LUTCorrs PFCorrs TimeCorrs L1TriggerObjects "
147  << "ValidationCorrs LutMetadata DcsValues DcsMap CholeskyMatrices CovarianceMatrices "
148  << "RecoParams LongRecoParams ZDCLowGainFraction FlagHFDigiTimeParams MCParams "
149  << std::endl;
150  }
151  }
152  // setWhatProduced(this);
153 }
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< HcalZDCLowGainFractions > produceZDCLowGainFractions(const HcalZDCLowGainFractionsRcd &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< HcalQIETypes > produceQIETypes(const HcalQIETypesRcd &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 156 of file HcalTextCalibrations.cc.

157 {
158 }

Member Function Documentation

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

Definition at line 247 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

247  {
249  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
250  const HcalTopology* topo=&(*htopo);
251  return produce_impl<HcalChannelQuality> (topo,mInputs ["ChannelQuality"]);
252 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalCholeskyMatrices > HcalTextCalibrations::produceCholeskyMatrices ( const HcalCholeskyMatricesRcd rcd)
protected

Definition at line 329 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

329  {
331  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
332  const HcalTopology* topo=&(*htopo);
333  return produce_impl<HcalCholeskyMatrices> (topo,mInputs ["CholeskyMatrices"]);
334 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalCovarianceMatrices > HcalTextCalibrations::produceCovarianceMatrices ( const HcalCovarianceMatricesRcd rcd)
protected

Definition at line 322 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

322  {
324  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
325  const HcalTopology* topo=&(*htopo);
326  return produce_impl<HcalCovarianceMatrices> (topo,mInputs ["CovarianceMatrices"]);
327 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalDcsMap > HcalTextCalibrations::produceDcsMap ( const HcalDcsMapRcd rcd)
protected

Definition at line 318 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

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

Definition at line 314 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

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

Definition at line 295 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

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

Definition at line 370 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

370  {
372  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
373  const HcalTopology* topo=&(*htopo);
374  return produce_impl<HcalFlagHFDigiTimeParams> (topo,mInputs ["FlagHFDigiTimeParams"]);
375 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalGains > HcalTextCalibrations::produceGains ( const HcalGainsRcd rcd)
protected

Definition at line 219 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

219  {
221  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
222  const HcalTopology* topo=&(*htopo);
223  return produce_impl<HcalGains> (topo,mInputs ["Gains"]);
224 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalGainWidths > HcalTextCalibrations::produceGainWidths ( const HcalGainWidthsRcd rcd)
protected

Definition at line 226 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

226  {
228  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
229  const HcalTopology* topo=&(*htopo);
230  return produce_impl<HcalGainWidths> (topo,mInputs ["GainWidths"]);
231 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalL1TriggerObjects > HcalTextCalibrations::produceL1TriggerObjects ( const HcalL1TriggerObjectsRcd rcd)
protected

Definition at line 288 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

288  {
290  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
291  const HcalTopology* topo=&(*htopo);
292  return produce_impl<HcalL1TriggerObjects> (topo,mInputs ["L1TriggerObjects"]);
293 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalLongRecoParams > HcalTextCalibrations::produceLongRecoParams ( const HcalLongRecoParamsRcd rcd)
protected

Definition at line 343 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

343  {
345  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
346  const HcalTopology* topo=&(*htopo);
347  return produce_impl<HcalLongRecoParams> (topo,mInputs ["LongRecoParams"]);
348 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalLUTCorrs > HcalTextCalibrations::produceLUTCorrs ( const HcalLUTCorrsRcd rcd)
protected

Definition at line 267 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

267  {
269  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
270  const HcalTopology* topo=&(*htopo);
271  return produce_impl<HcalLUTCorrs> (topo,mInputs ["LUTCorrs"]);
272 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalLutMetadata > HcalTextCalibrations::produceLutMetadata ( const HcalLutMetadataRcd rcd)
protected

Definition at line 306 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

306  {
308  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
309  const HcalTopology* topo=&(*htopo);
310  return produce_impl<HcalLutMetadata> (topo,mInputs ["LutMetadata"]);
311 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalMCParams > HcalTextCalibrations::produceMCParams ( const HcalMCParamsRcd rcd)
protected

Definition at line 363 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

363  {
365  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
366  const HcalTopology* topo=&(*htopo);
367  return produce_impl<HcalMCParams> (topo,mInputs ["MCParams"]);
368 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalPedestals > HcalTextCalibrations::producePedestals ( const HcalPedestalsRcd rcd)
protected

Definition at line 204 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

204  {
206  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
207  const HcalTopology* topo=&(*htopo);
208 
209  return produce_impl<HcalPedestals> (topo,mInputs ["Pedestals"]);
210 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalPedestalWidths > HcalTextCalibrations::producePedestalWidths ( const HcalPedestalWidthsRcd rcd)
protected

Definition at line 212 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

212  {
214  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
215  const HcalTopology* topo=&(*htopo);
216  return produce_impl<HcalPedestalWidths> (topo,mInputs ["PedestalWidths"]);
217 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalPFCorrs > HcalTextCalibrations::producePFCorrs ( const HcalPFCorrsRcd rcd)
protected

Definition at line 274 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

274  {
276  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
277  const HcalTopology* topo=&(*htopo);
278  return produce_impl<HcalPFCorrs> (topo,mInputs ["PFCorrs"]);
279 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalQIEData > HcalTextCalibrations::produceQIEData ( const HcalQIEDataRcd rcd)
protected

Definition at line 233 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

233  {
235  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
236  const HcalTopology* topo=&(*htopo);
237  return produce_impl<HcalQIEData> (topo,mInputs ["QIEData"]);
238 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalQIETypes > HcalTextCalibrations::produceQIETypes ( const HcalQIETypesRcd rcd)
protected

Definition at line 240 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

240  {
242  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
243  const HcalTopology* topo=&(*htopo);
244  return produce_impl<HcalQIETypes> (topo,mInputs ["QIETypes"]);
245 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalRecoParams > HcalTextCalibrations::produceRecoParams ( const HcalRecoParamsRcd rcd)
protected

Definition at line 336 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

336  {
338  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
339  const HcalTopology* topo=&(*htopo);
340  return produce_impl<HcalRecoParams> (topo,mInputs ["RecoParams"]);
341 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalRespCorrs > HcalTextCalibrations::produceRespCorrs ( const HcalRespCorrsRcd rcd)
protected

Definition at line 260 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

260  {
262  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
263  const HcalTopology* topo=&(*htopo);
264  return produce_impl<HcalRespCorrs> (topo,mInputs ["RespCorrs"]);
265 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalTimeCorrs > HcalTextCalibrations::produceTimeCorrs ( const HcalTimeCorrsRcd rcd)
protected

Definition at line 281 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

281  {
283  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
284  const HcalTopology* topo=&(*htopo);
285  return produce_impl<HcalTimeCorrs> (topo,mInputs ["TimeCorrs"]);
286 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalTimingParams > HcalTextCalibrations::produceTimingParams ( const HcalTimingParamsRcd rcd)
protected

Definition at line 357 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

357  {
359  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
360  const HcalTopology* topo=&(*htopo);
361  return produce_impl<HcalTimingParams> (topo,mInputs ["TimingParams"]);
362 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalValidationCorrs > HcalTextCalibrations::produceValidationCorrs ( const HcalValidationCorrsRcd rcd)
protected

Definition at line 299 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

299  {
301  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
302  const HcalTopology* topo=&(*htopo);
303  return produce_impl<HcalValidationCorrs> (topo,mInputs ["ValidationCorrs"]);
304 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalZDCLowGainFractions > HcalTextCalibrations::produceZDCLowGainFractions ( const HcalZDCLowGainFractionsRcd rcd)
protected

Definition at line 350 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

350  {
352  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
353  const HcalTopology* topo=&(*htopo);
354  return produce_impl<HcalZDCLowGainFractions> (topo,mInputs ["ZDCLowGainFractions"]);
355 }
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalZSThresholds > HcalTextCalibrations::produceZSThresholds ( const HcalZSThresholdsRcd rcd)
protected

Definition at line 254 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

255  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
256  const HcalTopology* topo=&(*htopo);
257  return produce_impl<HcalZSThresholds> (topo,mInputs ["ZSThresholds"]);
258 }
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 165 of file HcalTextCalibrations.cc.

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

165  {
166  std::string record = iKey.name ();
168 }
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 87 of file HcalTextCalibrations.h.