CMS 3D CMS Logo

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 ()(false)
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
virtual void newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval)
 overrides DataProxyProvider method More...
 
virtual ~ESProxyFactoryProducer () noexcept(false)
 
- 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 () noexcept(false)
 
- Public Member Functions inherited from edm::EventSetupRecordIntervalFinder
const eventsetup::ComponentDescriptiondescriptionForFinder () const
 
 EventSetupRecordIntervalFinder ()
 
std::set< eventsetup::EventSetupRecordKeyfindingForRecords () const
 
const ValidityIntervalfindIntervalFor (const eventsetup::EventSetupRecordKey &, const IOVSyncValue &)
 
void setDescriptionForFinder (const eventsetup::ComponentDescription &iDescription)
 
virtual ~EventSetupRecordIntervalFinder () noexcept(false)
 

Protected Member Functions

std::unique_ptr< HcalChannelQualityproduceChannelQuality (const HcalChannelQualityRcd &rcd)
 
std::unique_ptr< HcalDcsMapproduceDcsMap (const HcalDcsMapRcd &rcd)
 
std::unique_ptr< HcalDcsValuesproduceDcsValues (HcalDcsRcd const &rcd)
 
std::unique_ptr< HcalElectronicsMapproduceElectronicsMap (const HcalElectronicsMapRcd &rcd)
 
std::unique_ptr< HcalFlagHFDigiTimeParamsproduceFlagHFDigiTimeParams (const HcalFlagHFDigiTimeParamsRcd &rcd)
 
std::unique_ptr< HcalFrontEndMapproduceFrontEndMap (const HcalFrontEndMapRcd &rcd)
 
std::unique_ptr< HcalGainsproduceGains (const HcalGainsRcd &rcd)
 
std::unique_ptr< HcalGainWidthsproduceGainWidths (const HcalGainWidthsRcd &rcd)
 
std::unique_ptr< HcalL1TriggerObjectsproduceL1TriggerObjects (const HcalL1TriggerObjectsRcd &rcd)
 
std::unique_ptr< HcalLongRecoParamsproduceLongRecoParams (const HcalLongRecoParamsRcd &rcd)
 
std::unique_ptr< HcalLUTCorrsproduceLUTCorrs (const HcalLUTCorrsRcd &rcd)
 
std::unique_ptr< HcalLutMetadataproduceLutMetadata (const HcalLutMetadataRcd &rcd)
 
std::unique_ptr< HcalMCParamsproduceMCParams (const HcalMCParamsRcd &rcd)
 
std::unique_ptr< HcalPedestalsproducePedestals (const HcalPedestalsRcd &rcd)
 
std::unique_ptr< HcalPedestalWidthsproducePedestalWidths (const HcalPedestalWidthsRcd &rcd)
 
std::unique_ptr< HcalPFCorrsproducePFCorrs (const HcalPFCorrsRcd &rcd)
 
std::unique_ptr< HcalQIEDataproduceQIEData (const HcalQIEDataRcd &rcd)
 
std::unique_ptr< HcalQIETypesproduceQIETypes (const HcalQIETypesRcd &rcd)
 
std::unique_ptr< HcalRecoParamsproduceRecoParams (const HcalRecoParamsRcd &rcd)
 
std::unique_ptr< HcalRespCorrsproduceRespCorrs (const HcalRespCorrsRcd &rcd)
 
std::unique_ptr< HcalSiPMCharacteristicsproduceSiPMCharacteristics (const HcalSiPMCharacteristicsRcd &rcd)
 
std::unique_ptr< HcalSiPMParametersproduceSiPMParameters (const HcalSiPMParametersRcd &rcd)
 
std::unique_ptr< HcalTimeCorrsproduceTimeCorrs (const HcalTimeCorrsRcd &rcd)
 
std::unique_ptr< HcalTimingParamsproduceTimingParams (const HcalTimingParamsRcd &rcd)
 
std::unique_ptr< HcalTPChannelParametersproduceTPChannelParameters (const HcalTPChannelParametersRcd &rcd)
 
std::unique_ptr< HcalTPParametersproduceTPParameters (const HcalTPParametersRcd &rcd)
 
std::unique_ptr< HcalValidationCorrsproduceValidationCorrs (const HcalValidationCorrsRcd &rcd)
 
std::unique_ptr< HcalZDCLowGainFractionsproduceZDCLowGainFractions (const HcalZDCLowGainFractionsRcd &rcd)
 
std::unique_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::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
virtual void registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_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< EventSetupRecordKeyKeys
 
typedef std::map< EventSetupRecordKey, KeyedProxiesRecordProxies
 
- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 

Detailed Description

Definition at line 45 of file HcalTextCalibrations.h.

Constructor & Destructor Documentation

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

Definition at line 28 of file HcalTextCalibrations.cc.

References MessageLogger_cfi::cerr, data, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), summarizeEdmComparisonLogfiles::objectName, produceChannelQuality(), produceDcsMap(), produceDcsValues(), produceElectronicsMap(), produceFlagHFDigiTimeParams(), produceFrontEndMap(), produceGains(), produceGainWidths(), produceL1TriggerObjects(), produceLongRecoParams(), produceLUTCorrs(), produceLutMetadata(), produceMCParams(), producePedestals(), producePedestalWidths(), producePFCorrs(), produceQIEData(), produceQIETypes(), produceRecoParams(), produceRespCorrs(), produceSiPMCharacteristics(), produceSiPMParameters(), produceTimeCorrs(), produceTimingParams(), produceTPChannelParameters(), produceTPParameters(), 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 // std::cout << objectName << " with file " << fp.fullPath() << std::endl;
39  if (objectName == "Pedestals") {
41  findingRecord <HcalPedestalsRcd> ();
42  }
43  else if (objectName == "PedestalWidths") {
45  findingRecord <HcalPedestalWidthsRcd> ();
46  }
47  else if (objectName == "Gains") {
49  findingRecord <HcalGainsRcd> ();
50  }
51  else if (objectName == "GainWidths") {
53  findingRecord <HcalGainWidthsRcd> ();
54  }
55  else if (objectName == "QIEData") {
57  findingRecord <HcalQIEDataRcd> ();
58  }
59  else if (objectName == "QIETypes") {
61  findingRecord <HcalQIETypesRcd> ();
62  }
63  else if (objectName == "ChannelQuality") {
65  findingRecord <HcalChannelQualityRcd> ();
66  }
67  else if (objectName == "ZSThresholds") {
69  findingRecord <HcalZSThresholdsRcd> ();
70  }
71  else if (objectName == "RespCorrs") {
73  findingRecord <HcalRespCorrsRcd> ();
74  }
75  else if (objectName == "LUTCorrs") {
77  findingRecord <HcalLUTCorrsRcd> ();
78  }
79  else if (objectName == "PFCorrs") {
81  findingRecord <HcalPFCorrsRcd> ();
82  }
83  else if (objectName == "TimeCorrs") {
85  findingRecord <HcalTimeCorrsRcd> ();
86  }
87  else if (objectName == "L1TriggerObjects") {
89  findingRecord <HcalL1TriggerObjectsRcd> ();
90  }
91  else if (objectName == "ElectronicsMap") {
93  findingRecord <HcalElectronicsMapRcd> ();
94  }
95  else if (objectName == "FrontEndMap") {
97  findingRecord <HcalFrontEndMapRcd> ();
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 if (objectName == "DcsMap") {
113  findingRecord <HcalDcsMapRcd> ();
114  }
115  else if (objectName == "RecoParams") {
117  findingRecord <HcalRecoParamsRcd> ();
118  }
119  else if (objectName == "TimingParams") {
121  findingRecord <HcalTimingParamsRcd> ();
122  }
123  else if (objectName == "LongRecoParams") {
125  findingRecord <HcalLongRecoParamsRcd> ();
126  }
127  else if (objectName == "ZDCLowGainFractions") {
129  findingRecord <HcalZDCLowGainFractionsRcd> ();
130  }
131  else if (objectName == "MCParams") {
133  findingRecord <HcalMCParamsRcd> ();
134  }
135  else if (objectName == "FlagHFDigiTimeParams") {
137  findingRecord <HcalFlagHFDigiTimeParamsRcd> ();
138  }
139  else if (objectName == "SiPMParameters") {
141  findingRecord <HcalSiPMParametersRcd> ();
142  }
143  else if (objectName == "SiPMCharacteristics") {
145  findingRecord <HcalSiPMCharacteristicsRcd> ();
146  }
147  else if (objectName == "TPChannelParameters") {
149  findingRecord <HcalTPChannelParametersRcd> ();
150  }
151  else if (objectName == "TPParameters") {
153  findingRecord <HcalTPParametersRcd> ();
154  }
155  else {
156  std::cerr << "HcalTextCalibrations-> Unknown object name '" << objectName
157  << "', known names are: "
158  << "Pedestals PedestalWidths Gains GainWidths QIEData QIETypes ChannelQuality ElectronicsMap "
159  << "FrontEndMap ZSThresholds RespCorrs LUTCorrs PFCorrs TimeCorrs L1TriggerObjects "
160  << "ValidationCorrs LutMetadata DcsValues DcsMap "
161  << "RecoParams LongRecoParams ZDCLowGainFraction FlagHFDigiTimeParams MCParams "
162  << "SiPMParameters SiPMCharacteristics" << std::endl;
163  }
164  }
165  // setWhatProduced(this);
166 }
std::unique_ptr< HcalPedestals > producePedestals(const HcalPedestalsRcd &rcd)
std::unique_ptr< HcalGainWidths > produceGainWidths(const HcalGainWidthsRcd &rcd)
T getParameter(std::string const &) const
std::unique_ptr< HcalZDCLowGainFractions > produceZDCLowGainFractions(const HcalZDCLowGainFractionsRcd &rcd)
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalL1TriggerObjects > produceL1TriggerObjects(const HcalL1TriggerObjectsRcd &rcd)
std::unique_ptr< HcalPedestalWidths > producePedestalWidths(const HcalPedestalWidthsRcd &rcd)
std::unique_ptr< HcalLongRecoParams > produceLongRecoParams(const HcalLongRecoParamsRcd &rcd)
std::unique_ptr< HcalMCParams > produceMCParams(const HcalMCParamsRcd &rcd)
std::unique_ptr< HcalLUTCorrs > produceLUTCorrs(const HcalLUTCorrsRcd &rcd)
std::unique_ptr< HcalPFCorrs > producePFCorrs(const HcalPFCorrsRcd &rcd)
std::unique_ptr< HcalDcsValues > produceDcsValues(HcalDcsRcd const &rcd)
std::unique_ptr< HcalQIEData > produceQIEData(const HcalQIEDataRcd &rcd)
std::unique_ptr< HcalSiPMCharacteristics > produceSiPMCharacteristics(const HcalSiPMCharacteristicsRcd &rcd)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
std::unique_ptr< HcalZSThresholds > produceZSThresholds(const HcalZSThresholdsRcd &rcd)
std::unique_ptr< HcalSiPMParameters > produceSiPMParameters(const HcalSiPMParametersRcd &rcd)
std::unique_ptr< HcalDcsMap > produceDcsMap(const HcalDcsMapRcd &rcd)
std::unique_ptr< HcalRecoParams > produceRecoParams(const HcalRecoParamsRcd &rcd)
std::unique_ptr< HcalChannelQuality > produceChannelQuality(const HcalChannelQualityRcd &rcd)
std::unique_ptr< HcalTPChannelParameters > produceTPChannelParameters(const HcalTPChannelParametersRcd &rcd)
std::unique_ptr< HcalQIETypes > produceQIETypes(const HcalQIETypesRcd &rcd)
std::unique_ptr< HcalTimingParams > produceTimingParams(const HcalTimingParamsRcd &rcd)
std::unique_ptr< HcalTPParameters > produceTPParameters(const HcalTPParametersRcd &rcd)
std::unique_ptr< HcalElectronicsMap > produceElectronicsMap(const HcalElectronicsMapRcd &rcd)
std::unique_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::unique_ptr< HcalRespCorrs > produceRespCorrs(const HcalRespCorrsRcd &rcd)
std::unique_ptr< HcalFrontEndMap > produceFrontEndMap(const HcalFrontEndMapRcd &rcd)
std::unique_ptr< HcalLutMetadata > produceLutMetadata(const HcalLutMetadataRcd &rcd)
std::unique_ptr< HcalTimeCorrs > produceTimeCorrs(const HcalTimeCorrsRcd &rcd)
std::unique_ptr< HcalFlagHFDigiTimeParams > produceFlagHFDigiTimeParams(const HcalFlagHFDigiTimeParamsRcd &rcd)
std::unique_ptr< HcalValidationCorrs > produceValidationCorrs(const HcalValidationCorrsRcd &rcd)
HcalTextCalibrations::~HcalTextCalibrations ( )

Definition at line 169 of file HcalTextCalibrations.cc.

170 {
171 }

Member Function Documentation

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

Definition at line 260 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

260  {
262  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
263  const HcalTopology* topo=&(*htopo);
264  return produce_impl<HcalChannelQuality> (topo,mInputs ["ChannelQuality"]);
265 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalDcsMap > HcalTextCalibrations::produceDcsMap ( const HcalDcsMapRcd rcd)
protected

Definition at line 335 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations(), and produce().

335  {
336  return produce_impl<HcalDcsMap> (mInputs ["DcsMap"]);
337 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalDcsValues > HcalTextCalibrations::produceDcsValues ( HcalDcsRcd const &  rcd)
protected

Definition at line 331 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations(), and produce().

331  {
332  return produce_impl<HcalDcsValues> (mInputs ["DcsValues"]);
333 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalElectronicsMap > HcalTextCalibrations::produceElectronicsMap ( const HcalElectronicsMapRcd rcd)
protected

Definition at line 308 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations(), and produce().

308  {
309  return produce_impl<HcalElectronicsMap> (mInputs ["ElectronicsMap"]);
310 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalFlagHFDigiTimeParams > HcalTextCalibrations::produceFlagHFDigiTimeParams ( const HcalFlagHFDigiTimeParamsRcd rcd)
protected

Definition at line 373 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

373  {
375  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
376  const HcalTopology* topo=&(*htopo);
377  return produce_impl<HcalFlagHFDigiTimeParams> (topo,mInputs ["FlagHFDigiTimeParams"]);
378 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalFrontEndMap > HcalTextCalibrations::produceFrontEndMap ( const HcalFrontEndMapRcd rcd)
protected

Definition at line 312 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations(), and produce().

312  {
313  return produce_impl<HcalFrontEndMap> (mInputs ["FrontEndMap"]);
314 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalGains > HcalTextCalibrations::produceGains ( const HcalGainsRcd rcd)
protected

Definition at line 232 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

232  {
234  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
235  const HcalTopology* topo=&(*htopo);
236  return produce_impl<HcalGains> (topo,mInputs ["Gains"]);
237 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalGainWidths > HcalTextCalibrations::produceGainWidths ( const HcalGainWidthsRcd rcd)
protected

Definition at line 239 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

239  {
241  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
242  const HcalTopology* topo=&(*htopo);
243  return produce_impl<HcalGainWidths> (topo,mInputs ["GainWidths"]);
244 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalL1TriggerObjects > HcalTextCalibrations::produceL1TriggerObjects ( const HcalL1TriggerObjectsRcd rcd)
protected

Definition at line 301 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

301  {
303  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
304  const HcalTopology* topo=&(*htopo);
305  return produce_impl<HcalL1TriggerObjects> (topo,mInputs ["L1TriggerObjects"]);
306 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalLongRecoParams > HcalTextCalibrations::produceLongRecoParams ( const HcalLongRecoParamsRcd rcd)
protected

Definition at line 346 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

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

Definition at line 280 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

280  {
282  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
283  const HcalTopology* topo=&(*htopo);
284  return produce_impl<HcalLUTCorrs> (topo,mInputs ["LUTCorrs"]);
285 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalLutMetadata > HcalTextCalibrations::produceLutMetadata ( const HcalLutMetadataRcd rcd)
protected

Definition at line 323 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

323  {
325  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
326  const HcalTopology* topo=&(*htopo);
327  return produce_impl<HcalLutMetadata> (topo,mInputs ["LutMetadata"]);
328 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalMCParams > HcalTextCalibrations::produceMCParams ( const HcalMCParamsRcd rcd)
protected

Definition at line 366 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

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

Definition at line 217 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

217  {
219  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
220  const HcalTopology* topo=&(*htopo);
221 
222  return produce_impl<HcalPedestals> (topo,mInputs ["Pedestals"]);
223 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalPedestalWidths > HcalTextCalibrations::producePedestalWidths ( const HcalPedestalWidthsRcd rcd)
protected

Definition at line 225 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

225  {
227  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
228  const HcalTopology* topo=&(*htopo);
229  return produce_impl<HcalPedestalWidths> (topo,mInputs ["PedestalWidths"]);
230 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalPFCorrs > HcalTextCalibrations::producePFCorrs ( const HcalPFCorrsRcd rcd)
protected

Definition at line 287 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

287  {
289  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
290  const HcalTopology* topo=&(*htopo);
291  return produce_impl<HcalPFCorrs> (topo,mInputs ["PFCorrs"]);
292 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalQIEData > HcalTextCalibrations::produceQIEData ( const HcalQIEDataRcd rcd)
protected

Definition at line 246 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

246  {
248  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
249  const HcalTopology* topo=&(*htopo);
250  return produce_impl<HcalQIEData> (topo,mInputs ["QIEData"]);
251 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalQIETypes > HcalTextCalibrations::produceQIETypes ( const HcalQIETypesRcd rcd)
protected

Definition at line 253 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

253  {
255  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
256  const HcalTopology* topo=&(*htopo);
257  return produce_impl<HcalQIETypes> (topo,mInputs ["QIETypes"]);
258 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalRecoParams > HcalTextCalibrations::produceRecoParams ( const HcalRecoParamsRcd rcd)
protected

Definition at line 339 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

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

Definition at line 273 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

273  {
275  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
276  const HcalTopology* topo=&(*htopo);
277  return produce_impl<HcalRespCorrs> (topo,mInputs ["RespCorrs"]);
278 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalSiPMCharacteristics > HcalTextCalibrations::produceSiPMCharacteristics ( const HcalSiPMCharacteristicsRcd rcd)
protected

Definition at line 387 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations(), and produce().

387  {
388  return produce_impl<HcalSiPMCharacteristics> (mInputs ["SiPMCharacteristics"]);
389 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalSiPMParameters > HcalTextCalibrations::produceSiPMParameters ( const HcalSiPMParametersRcd rcd)
protected

Definition at line 380 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

380  {
382  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
383  const HcalTopology* topo=&(*htopo);
384  return produce_impl<HcalSiPMParameters> (topo,mInputs ["SiPMParameters"]);
385 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalTimeCorrs > HcalTextCalibrations::produceTimeCorrs ( const HcalTimeCorrsRcd rcd)
protected

Definition at line 294 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

294  {
296  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
297  const HcalTopology* topo=&(*htopo);
298  return produce_impl<HcalTimeCorrs> (topo,mInputs ["TimeCorrs"]);
299 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalTimingParams > HcalTextCalibrations::produceTimingParams ( const HcalTimingParamsRcd rcd)
protected

Definition at line 360 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

360  {
362  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
363  const HcalTopology* topo=&(*htopo);
364  return produce_impl<HcalTimingParams> (topo,mInputs ["TimingParams"]);
365 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalTPChannelParameters > HcalTextCalibrations::produceTPChannelParameters ( const HcalTPChannelParametersRcd rcd)
protected

Definition at line 391 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

391  {
393  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
394  const HcalTopology* topo=&(*htopo);
395  return produce_impl<HcalTPChannelParameters> (topo,mInputs ["TPChannelParameters"]);
396 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalTPParameters > HcalTextCalibrations::produceTPParameters ( const HcalTPParametersRcd rcd)
protected

Definition at line 398 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations(), and produce().

398  {
399  return produce_impl<HcalTPParameters> (mInputs ["TPParameters"]);
400 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalValidationCorrs > HcalTextCalibrations::produceValidationCorrs ( const HcalValidationCorrsRcd rcd)
protected

Definition at line 316 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

316  {
318  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
319  const HcalTopology* topo=&(*htopo);
320  return produce_impl<HcalValidationCorrs> (topo,mInputs ["ValidationCorrs"]);
321 }
std::map< std::string, std::string > mInputs
std::unique_ptr< HcalZDCLowGainFractions > HcalTextCalibrations::produceZDCLowGainFractions ( const HcalZDCLowGainFractionsRcd rcd)
protected

Definition at line 353 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

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

Definition at line 267 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations(), and produce().

268  rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
269  const HcalTopology* topo=&(*htopo);
270  return produce_impl<HcalZSThresholds> (topo,mInputs ["ZSThresholds"]);
271 }
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 178 of file HcalTextCalibrations.cc.

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

Referenced by produce().

178  {
179  std::string record = iKey.name ();
181 }
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 94 of file HcalTextCalibrations.h.