CMS 3D CMS Logo

List of all members | Classes | 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

Classes

class  CheckCreateObject
 
class  CheckGetObject
 
class  CheckGetObjectTopo
 

Public Member Functions

 HcalTextCalibrations (const edm::ParameterSet &)
 
void produce ()
 
 ~HcalTextCalibrations () override
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
 ESProducer (const ESProducer &)=delete
 
ESProxyIndex const * getTokenIndices (unsigned int iIndex) const
 
ESProducer const & operator= (const ESProducer &)=delete
 
template<typename Record >
void updateFromMayConsumes (unsigned int iIndex, const Record &iRecord)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &) final
 
 ~ESProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
 ESProxyFactoryProducer (const ESProxyFactoryProducer &)=delete
 
const ESProxyFactoryProduceroperator= (const ESProxyFactoryProducer &)=delete
 
 ~ESProxyFactoryProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::eventsetup::DataProxyProvider
void createKeyedProxies (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
 DataProxyProvider ()
 
 DataProxyProvider (const DataProxyProvider &)=delete
 
const ComponentDescriptiondescription () const
 
void fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const
 
virtual void initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
bool isUsingRecord (const EventSetupRecordKey &key) const
 
KeyedProxieskeyedProxies (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0)
 
const DataProxyProvideroperator= (const DataProxyProvider &)=delete
 
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
bool concurrentFinder () const
 
const eventsetup::ComponentDescriptiondescriptionForFinder () const
 
 EventSetupRecordIntervalFinder ()
 
 EventSetupRecordIntervalFinder (const EventSetupRecordIntervalFinder &)=delete
 
std::set< eventsetup::EventSetupRecordKeyfindingForRecords () const
 
const ValidityIntervalfindIntervalFor (const eventsetup::EventSetupRecordKey &, const IOVSyncValue &)
 
bool nonconcurrentAndIOVNeedsUpdate (const eventsetup::EventSetupRecordKey &key, const IOVSyncValue &syncValue) const
 
const EventSetupRecordIntervalFinderoperator= (const EventSetupRecordIntervalFinder &)=delete
 
void resetInterval (const eventsetup::EventSetupRecordKey &)
 
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< HcalPedestalsproduceEffectivePedestals (const HcalPedestalsRcd &rcd)
 
std::unique_ptr< HcalPedestalWidthsproduceEffectivePedestalWidths (const HcalPedestalWidthsRcd &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)
 
void setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
 
- Protected Member Functions inherited from edm::ESProducer
template<typename T >
auto setWhatProduced (T *iThis, const char *iLabel)
 
template<typename T >
auto setWhatProduced (T *iThis, const es::Label &iLabel={})
 
template<typename T >
auto setWhatProduced (T *iThis, const std::string &iLabel)
 
template<typename T , typename TDecorator >
auto setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={})
 
template<typename T , typename TReturn , typename TRecord >
auto setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const es::Label &iLabel={})
 
template<typename T , typename TReturn , typename TRecord , typename TArg >
ESConsumesCollectorT< TRecord > setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={})
 
- 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 EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string())
 
KeyedProxiesVector registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override
 
- Protected Member Functions inherited from edm::eventsetup::DataProxyProvider
template<class T >
void usingRecord ()
 
void usingRecordWithKey (const EventSetupRecordKey &key)
 
- 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
 
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Types inherited from edm::ESProxyFactoryProducer
using EventSetupRecordKey = eventsetup::EventSetupRecordKey
 
- Protected Types inherited from edm::eventsetup::DataProxyProvider
using KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >>
 

Detailed Description

Definition at line 46 of file HcalTextCalibrations.h.

Constructor & Destructor Documentation

◆ HcalTextCalibrations()

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

Definition at line 27 of file HcalTextCalibrations.cc.

29 {
30  //parsing parameters
31  std::vector<edm::ParameterSet> data = iConfig.getParameter<std::vector<edm::ParameterSet> >("input");
32  std::vector<edm::ParameterSet>::iterator request = data.begin();
33  for (; request != data.end(); ++request) {
34  std::string objectName = request->getParameter<std::string>("object");
35  edm::FileInPath fp = request->getParameter<edm::FileInPath>("file");
36  mInputs[objectName] = fp.fullPath();
37  // std::cout << objectName << " with file " << fp.fullPath() << std::endl;
38  if (objectName == "Pedestals") {
40  findingRecord<HcalPedestalsRcd>();
41  } else if (objectName == "PedestalWidths") {
43  findingRecord<HcalPedestalWidthsRcd>();
44  } else if (objectName == "EffectivePedestals") {
46  .setConsumes(mTokens[objectName]);
47  findingRecord<HcalPedestalsRcd>();
48  } else if (objectName == "EffectivePedestalWidths") {
50  .setConsumes(mTokens[objectName]);
51  findingRecord<HcalPedestalWidthsRcd>();
52  } else if (objectName == "Gains") {
54  findingRecord<HcalGainsRcd>();
55  } else if (objectName == "GainWidths") {
57  findingRecord<HcalGainWidthsRcd>();
58  } else if (objectName == "QIEData") {
60  findingRecord<HcalQIEDataRcd>();
61  } else if (objectName == "QIETypes") {
63  findingRecord<HcalQIETypesRcd>();
64  } else if (objectName == "ChannelQuality") {
66  .setConsumes(mTokens[objectName]);
67  findingRecord<HcalChannelQualityRcd>();
68  } else if (objectName == "ZSThresholds") {
70  findingRecord<HcalZSThresholdsRcd>();
71  } else if (objectName == "RespCorrs") {
73  findingRecord<HcalRespCorrsRcd>();
74  } else if (objectName == "LUTCorrs") {
76  findingRecord<HcalLUTCorrsRcd>();
77  } else if (objectName == "PFCorrs") {
79  findingRecord<HcalPFCorrsRcd>();
80  } else if (objectName == "TimeCorrs") {
82  findingRecord<HcalTimeCorrsRcd>();
83  } else if (objectName == "L1TriggerObjects") {
85  findingRecord<HcalL1TriggerObjectsRcd>();
86  } else if (objectName == "ElectronicsMap") {
88  findingRecord<HcalElectronicsMapRcd>();
89  } else if (objectName == "FrontEndMap") {
91  findingRecord<HcalFrontEndMapRcd>();
92  } else if (objectName == "ValidationCorrs") {
94  findingRecord<HcalValidationCorrsRcd>();
95  } else if (objectName == "LutMetadata") {
97  findingRecord<HcalLutMetadataRcd>();
98  } else if (objectName == "DcsValues") {
100  findingRecord<HcalDcsRcd>();
101  } else if (objectName == "DcsMap") {
103  findingRecord<HcalDcsMapRcd>();
104  } else if (objectName == "RecoParams") {
106  findingRecord<HcalRecoParamsRcd>();
107  } else if (objectName == "TimingParams") {
109  findingRecord<HcalTimingParamsRcd>();
110  } else if (objectName == "LongRecoParams") {
112  findingRecord<HcalLongRecoParamsRcd>();
113  } else if (objectName == "ZDCLowGainFractions") {
115  findingRecord<HcalZDCLowGainFractionsRcd>();
116  } else if (objectName == "MCParams") {
118  findingRecord<HcalMCParamsRcd>();
119  } else if (objectName == "FlagHFDigiTimeParams") {
121  findingRecord<HcalFlagHFDigiTimeParamsRcd>();
122  } else if (objectName == "SiPMParameters") {
124  findingRecord<HcalSiPMParametersRcd>();
125  } else if (objectName == "SiPMCharacteristics") {
127  findingRecord<HcalSiPMCharacteristicsRcd>();
128  } else if (objectName == "TPChannelParameters") {
130  findingRecord<HcalTPChannelParametersRcd>();
131  } else if (objectName == "TPParameters") {
133  findingRecord<HcalTPParametersRcd>();
134  } else {
135  std::cerr << "HcalTextCalibrations-> Unknown object name '" << objectName << "', known names are: "
136  << "Pedestals PedestalWidths Gains GainWidths QIEData QIETypes ChannelQuality ElectronicsMap "
137  << "FrontEndMap ZSThresholds RespCorrs LUTCorrs PFCorrs TimeCorrs L1TriggerObjects "
138  << "ValidationCorrs LutMetadata DcsValues DcsMap "
139  << "RecoParams LongRecoParams ZDCLowGainFraction FlagHFDigiTimeParams MCParams "
140  << "SiPMParameters SiPMCharacteristics TPChannelParameters TPParameters" << std::endl;
141  }
142  }
143  // setWhatProduced(this);
144 }

References beam_dqm_sourceclient-live_cfg::cerr, data, personalPlayback::fp, edm::ParameterSet::getParameter(), summarizeEdmComparisonLogfiles::objectName, produceChannelQuality(), produceDcsMap(), produceDcsValues(), produceEffectivePedestals(), produceEffectivePedestalWidths(), 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.

◆ ~HcalTextCalibrations()

HcalTextCalibrations::~HcalTextCalibrations ( )
override

Definition at line 146 of file HcalTextCalibrations.cc.

146 {}

Member Function Documentation

◆ produce()

void HcalTextCalibrations::produce ( )
inline

Definition at line 51 of file HcalTextCalibrations.h.

51 {};

◆ produceChannelQuality()

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

Definition at line 227 of file HcalTextCalibrations.cc.

227  {
228  std::string const n = "ChannelQuality";
229  return get_impl_topo<HcalChannelQuality>(mInputs[n], &rcd.get(mTokens[n]));
230 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceDcsMap()

std::unique_ptr< HcalDcsMap > HcalTextCalibrations::produceDcsMap ( const HcalDcsMapRcd rcd)
protected

Definition at line 284 of file HcalTextCalibrations.cc.

284  {
285  return create_impl<HcalDcsMap>(mInputs["DcsMap"]);
286 }

Referenced by HcalTextCalibrations().

◆ produceDcsValues()

std::unique_ptr< HcalDcsValues > HcalTextCalibrations::produceDcsValues ( HcalDcsRcd const &  rcd)
protected

Definition at line 280 of file HcalTextCalibrations.cc.

280  {
281  return get_impl<HcalDcsValues>(mInputs["DcsValues"]);
282 }

Referenced by HcalTextCalibrations().

◆ produceEffectivePedestals()

std::unique_ptr< HcalPedestals > HcalTextCalibrations::produceEffectivePedestals ( const HcalPedestalsRcd rcd)
protected

Definition at line 196 of file HcalTextCalibrations.cc.

196  {
197  std::string const n = "EffectivePedestals";
198  return get_impl_topo<HcalPedestals>(mInputs[n], &rcd.get(mTokens[n]));
199 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceEffectivePedestalWidths()

std::unique_ptr< HcalPedestalWidths > HcalTextCalibrations::produceEffectivePedestalWidths ( const HcalPedestalWidthsRcd rcd)
protected

Definition at line 201 of file HcalTextCalibrations.cc.

202  {
203  std::string const n = "EffectivePedestalWidths";
204  return get_impl_topo<HcalPedestalWidths>(mInputs[n], &rcd.get(mTokens[n]));
205 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceElectronicsMap()

std::unique_ptr< HcalElectronicsMap > HcalTextCalibrations::produceElectronicsMap ( const HcalElectronicsMapRcd rcd)
protected

Definition at line 262 of file HcalTextCalibrations.cc.

262  {
263  return create_impl<HcalElectronicsMap>(mInputs["ElectronicsMap"]);
264 }

Referenced by HcalTextCalibrations().

◆ produceFlagHFDigiTimeParams()

std::unique_ptr< HcalFlagHFDigiTimeParams > HcalTextCalibrations::produceFlagHFDigiTimeParams ( const HcalFlagHFDigiTimeParamsRcd rcd)
protected

Definition at line 313 of file HcalTextCalibrations.cc.

314  {
315  std::string const n = "FlagHFDigiTimeParams";
316  return get_impl_topo<HcalFlagHFDigiTimeParams>(mInputs[n], &rcd.get(mTokens[n]));
317 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceFrontEndMap()

std::unique_ptr< HcalFrontEndMap > HcalTextCalibrations::produceFrontEndMap ( const HcalFrontEndMapRcd rcd)
protected

Definition at line 266 of file HcalTextCalibrations.cc.

266  {
267  return create_impl<HcalFrontEndMap>(mInputs["FrontEndMap"]);
268 }

Referenced by HcalTextCalibrations().

◆ produceGains()

std::unique_ptr< HcalGains > HcalTextCalibrations::produceGains ( const HcalGainsRcd rcd)
protected

Definition at line 207 of file HcalTextCalibrations.cc.

207  {
208  std::string const n = "Gains";
209  return get_impl_topo<HcalGains>(mInputs[n], &rcd.get(mTokens[n]));
210 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceGainWidths()

std::unique_ptr< HcalGainWidths > HcalTextCalibrations::produceGainWidths ( const HcalGainWidthsRcd rcd)
protected

Definition at line 212 of file HcalTextCalibrations.cc.

212  {
213  std::string const n = "GainWidths";
214  return get_impl_topo<HcalGainWidths>(mInputs[n], &rcd.get(mTokens[n]));
215 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceL1TriggerObjects()

std::unique_ptr< HcalL1TriggerObjects > HcalTextCalibrations::produceL1TriggerObjects ( const HcalL1TriggerObjectsRcd rcd)
protected

Definition at line 257 of file HcalTextCalibrations.cc.

257  {
258  std::string const n = "L1TriggerObjects";
259  return get_impl_topo<HcalL1TriggerObjects>(mInputs[n], &rcd.get(mTokens[n]));
260 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceLongRecoParams()

std::unique_ptr< HcalLongRecoParams > HcalTextCalibrations::produceLongRecoParams ( const HcalLongRecoParamsRcd rcd)
protected

Definition at line 293 of file HcalTextCalibrations.cc.

293  {
294  std::string const n = "LongRecoParams";
295  return get_impl_topo<HcalLongRecoParams>(mInputs[n], &rcd.get(mTokens[n]));
296 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceLUTCorrs()

std::unique_ptr< HcalLUTCorrs > HcalTextCalibrations::produceLUTCorrs ( const HcalLUTCorrsRcd rcd)
protected

Definition at line 242 of file HcalTextCalibrations.cc.

242  {
243  std::string const n = "LUTCorrs";
244  return get_impl_topo<HcalLUTCorrs>(mInputs[n], &rcd.get(mTokens[n]));
245 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceLutMetadata()

std::unique_ptr< HcalLutMetadata > HcalTextCalibrations::produceLutMetadata ( const HcalLutMetadataRcd rcd)
protected

Definition at line 275 of file HcalTextCalibrations.cc.

275  {
276  std::string const n = "LutMetadata";
277  return get_impl_topo<HcalLutMetadata>(mInputs[n], &rcd.get(mTokens[n]));
278 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceMCParams()

std::unique_ptr< HcalMCParams > HcalTextCalibrations::produceMCParams ( const HcalMCParamsRcd rcd)
protected

Definition at line 308 of file HcalTextCalibrations.cc.

308  {
309  std::string const n = "MCParams";
310  return get_impl_topo<HcalMCParams>(mInputs[n], &rcd.get(mTokens[n]));
311 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ producePedestals()

std::unique_ptr< HcalPedestals > HcalTextCalibrations::producePedestals ( const HcalPedestalsRcd rcd)
protected

Definition at line 186 of file HcalTextCalibrations.cc.

186  {
187  std::string const n = "Pedestals";
188  return get_impl_topo<HcalPedestals>(mInputs[n], &rcd.get(mTokens[n]));
189 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ producePedestalWidths()

std::unique_ptr< HcalPedestalWidths > HcalTextCalibrations::producePedestalWidths ( const HcalPedestalWidthsRcd rcd)
protected

Definition at line 191 of file HcalTextCalibrations.cc.

191  {
192  std::string const n = "PedestalWidths";
193  return get_impl_topo<HcalPedestalWidths>(mInputs[n], &rcd.get(mTokens[n]));
194 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ producePFCorrs()

std::unique_ptr< HcalPFCorrs > HcalTextCalibrations::producePFCorrs ( const HcalPFCorrsRcd rcd)
protected

Definition at line 247 of file HcalTextCalibrations.cc.

247  {
248  std::string const n = "PFCorrs";
249  return get_impl_topo<HcalPFCorrs>(mInputs[n], &rcd.get(mTokens[n]));
250 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceQIEData()

std::unique_ptr< HcalQIEData > HcalTextCalibrations::produceQIEData ( const HcalQIEDataRcd rcd)
protected

Definition at line 217 of file HcalTextCalibrations.cc.

217  {
218  std::string const n = "QIEData";
219  return get_impl_topo<HcalQIEData>(mInputs[n], &rcd.get(mTokens[n]));
220 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceQIETypes()

std::unique_ptr< HcalQIETypes > HcalTextCalibrations::produceQIETypes ( const HcalQIETypesRcd rcd)
protected

Definition at line 222 of file HcalTextCalibrations.cc.

222  {
223  std::string const n = "QIETypes";
224  return get_impl_topo<HcalQIETypes>(mInputs[n], &rcd.get(mTokens[n]));
225 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceRecoParams()

std::unique_ptr< HcalRecoParams > HcalTextCalibrations::produceRecoParams ( const HcalRecoParamsRcd rcd)
protected

Definition at line 288 of file HcalTextCalibrations.cc.

288  {
289  std::string const n = "RecoParams";
290  return get_impl_topo<HcalRecoParams>(mInputs[n], &rcd.get(mTokens[n]));
291 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceRespCorrs()

std::unique_ptr< HcalRespCorrs > HcalTextCalibrations::produceRespCorrs ( const HcalRespCorrsRcd rcd)
protected

Definition at line 237 of file HcalTextCalibrations.cc.

237  {
238  std::string const n = "RespCorrs";
239  return get_impl_topo<HcalRespCorrs>(mInputs[n], &rcd.get(mTokens[n]));
240 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceSiPMCharacteristics()

std::unique_ptr< HcalSiPMCharacteristics > HcalTextCalibrations::produceSiPMCharacteristics ( const HcalSiPMCharacteristicsRcd rcd)
protected

Definition at line 324 of file HcalTextCalibrations.cc.

325  {
326  return create_impl<HcalSiPMCharacteristics>(mInputs["SiPMCharacteristics"]);
327 }

Referenced by HcalTextCalibrations().

◆ produceSiPMParameters()

std::unique_ptr< HcalSiPMParameters > HcalTextCalibrations::produceSiPMParameters ( const HcalSiPMParametersRcd rcd)
protected

Definition at line 319 of file HcalTextCalibrations.cc.

319  {
320  std::string const n = "SiPMParameters";
321  return get_impl_topo<HcalSiPMParameters>(mInputs[n], &rcd.get(mTokens[n]));
322 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceTimeCorrs()

std::unique_ptr< HcalTimeCorrs > HcalTextCalibrations::produceTimeCorrs ( const HcalTimeCorrsRcd rcd)
protected

Definition at line 252 of file HcalTextCalibrations.cc.

252  {
253  std::string const n = "TimeCorrs";
254  return get_impl_topo<HcalTimeCorrs>(mInputs[n], &rcd.get(mTokens[n]));
255 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceTimingParams()

std::unique_ptr< HcalTimingParams > HcalTextCalibrations::produceTimingParams ( const HcalTimingParamsRcd rcd)
protected

Definition at line 304 of file HcalTextCalibrations.cc.

304  {
305  std::string const n = "TimingParams";
306  return get_impl_topo<HcalTimingParams>(mInputs[n], &rcd.get(mTokens[n]));
307 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceTPChannelParameters()

std::unique_ptr< HcalTPChannelParameters > HcalTextCalibrations::produceTPChannelParameters ( const HcalTPChannelParametersRcd rcd)
protected

Definition at line 329 of file HcalTextCalibrations.cc.

330  {
331  std::string const n = "TPChannelParameters";
332  return get_impl_topo<HcalTPChannelParameters>(mInputs[n], &rcd.get(mTokens[n]));
333 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceTPParameters()

std::unique_ptr< HcalTPParameters > HcalTextCalibrations::produceTPParameters ( const HcalTPParametersRcd rcd)
protected

Definition at line 335 of file HcalTextCalibrations.cc.

335  {
336  return get_impl<HcalTPParameters>(mInputs["TPParameters"]);
337 }

Referenced by HcalTextCalibrations().

◆ produceValidationCorrs()

std::unique_ptr< HcalValidationCorrs > HcalTextCalibrations::produceValidationCorrs ( const HcalValidationCorrsRcd rcd)
protected

Definition at line 270 of file HcalTextCalibrations.cc.

270  {
271  std::string const n = "ValidationCorrs";
272  return get_impl_topo<HcalValidationCorrs>(mInputs[n], &rcd.get(mTokens[n]));
273 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceZDCLowGainFractions()

std::unique_ptr< HcalZDCLowGainFractions > HcalTextCalibrations::produceZDCLowGainFractions ( const HcalZDCLowGainFractionsRcd rcd)
protected

Definition at line 298 of file HcalTextCalibrations.cc.

299  {
300  std::string const n = "ZDCLowGainFractions";
301  return get_impl_topo<HcalZDCLowGainFractions>(mInputs[n], &rcd.get(mTokens[n]));
302 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ produceZSThresholds()

std::unique_ptr< HcalZSThresholds > HcalTextCalibrations::produceZSThresholds ( const HcalZSThresholdsRcd rcd)
protected

Definition at line 232 of file HcalTextCalibrations.cc.

232  {
233  std::string const n = "ZSThresholds";
234  return get_impl_topo<HcalZSThresholds>(mInputs[n], &rcd.get(mTokens[n]));
235 }

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

◆ setIntervalFor()

void HcalTextCalibrations::setIntervalFor ( const edm::eventsetup::EventSetupRecordKey iKey,
const edm::IOVSyncValue iTime,
edm::ValidityInterval oInterval 
)
overrideprotectedvirtual

Member Data Documentation

◆ mInputs

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

Definition at line 129 of file HcalTextCalibrations.h.

◆ mTokens

std::unordered_map<std::string, edm::ESGetToken<HcalTopology, HcalRecNumberingRecord> > HcalTextCalibrations::mTokens
private

Definition at line 130 of file HcalTextCalibrations.h.

HcalTextCalibrations::produceEffectivePedestalWidths
std::unique_ptr< HcalPedestalWidths > produceEffectivePedestalWidths(const HcalPedestalWidthsRcd &rcd)
Definition: HcalTextCalibrations.cc:201
HcalTextCalibrations::produceDcsMap
std::unique_ptr< HcalDcsMap > produceDcsMap(const HcalDcsMapRcd &rcd)
Definition: HcalTextCalibrations.cc:284
HcalTextCalibrations::produceElectronicsMap
std::unique_ptr< HcalElectronicsMap > produceElectronicsMap(const HcalElectronicsMapRcd &rcd)
Definition: HcalTextCalibrations.cc:262
HcalTextCalibrations::produceQIEData
std::unique_ptr< HcalQIEData > produceQIEData(const HcalQIEDataRcd &rcd)
Definition: HcalTextCalibrations.cc:217
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
HcalTextCalibrations::produceTPParameters
std::unique_ptr< HcalTPParameters > produceTPParameters(const HcalTPParametersRcd &rcd)
Definition: HcalTextCalibrations.cc:335
HcalTextCalibrations::produceRespCorrs
std::unique_ptr< HcalRespCorrs > produceRespCorrs(const HcalRespCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:237
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:138
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
HcalTextCalibrations::produceTPChannelParameters
std::unique_ptr< HcalTPChannelParameters > produceTPChannelParameters(const HcalTPChannelParametersRcd &rcd)
Definition: HcalTextCalibrations.cc:329
HcalTextCalibrations::produceLutMetadata
std::unique_ptr< HcalLutMetadata > produceLutMetadata(const HcalLutMetadataRcd &rcd)
Definition: HcalTextCalibrations.cc:275
personalPlayback.fp
fp
Definition: personalPlayback.py:523
HcalTextCalibrations::producePedestalWidths
std::unique_ptr< HcalPedestalWidths > producePedestalWidths(const HcalPedestalWidthsRcd &rcd)
Definition: HcalTextCalibrations.cc:191
HcalTextCalibrations::produceSiPMParameters
std::unique_ptr< HcalSiPMParameters > produceSiPMParameters(const HcalSiPMParametersRcd &rcd)
Definition: HcalTextCalibrations.cc:319
HcalTextCalibrations::produceMCParams
std::unique_ptr< HcalMCParams > produceMCParams(const HcalMCParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:308
edm::FileInPath
Definition: FileInPath.h:64
HcalTextCalibrations::produceL1TriggerObjects
std::unique_ptr< HcalL1TriggerObjects > produceL1TriggerObjects(const HcalL1TriggerObjectsRcd &rcd)
Definition: HcalTextCalibrations.cc:257
HcalTextCalibrations::producePFCorrs
std::unique_ptr< HcalPFCorrs > producePFCorrs(const HcalPFCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:247
HcalTextCalibrations::produceTimingParams
std::unique_ptr< HcalTimingParams > produceTimingParams(const HcalTimingParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:304
HcalTextCalibrations::produceLUTCorrs
std::unique_ptr< HcalLUTCorrs > produceLUTCorrs(const HcalLUTCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:242
HcalTextCalibrations::mInputs
std::map< std::string, std::string > mInputs
Definition: HcalTextCalibrations.h:129
HcalTextCalibrations::produceTimeCorrs
std::unique_ptr< HcalTimeCorrs > produceTimeCorrs(const HcalTimeCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:252
edm::es::Label
Definition: es_Label.h:54
HcalTextCalibrations::produceQIETypes
std::unique_ptr< HcalQIETypes > produceQIETypes(const HcalQIETypesRcd &rcd)
Definition: HcalTextCalibrations.cc:222
edm::eventsetup::EventSetupRecordKey::name
const char * name() const
Definition: EventSetupRecordKey.h:46
edm::eventsetup::DependentRecordImplementation::get
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition: DependentRecordImplementation.h:112
HcalTextCalibrations::produceGains
std::unique_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
Definition: HcalTextCalibrations.cc:207
HcalTextCalibrations::produceDcsValues
std::unique_ptr< HcalDcsValues > produceDcsValues(HcalDcsRcd const &rcd)
Definition: HcalTextCalibrations.cc:280
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalTextCalibrations::produceSiPMCharacteristics
std::unique_ptr< HcalSiPMCharacteristics > produceSiPMCharacteristics(const HcalSiPMCharacteristicsRcd &rcd)
Definition: HcalTextCalibrations.cc:324
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
beam_dqm_sourceclient-live_cfg.cerr
cerr
Definition: beam_dqm_sourceclient-live_cfg.py:17
HcalTextCalibrations::produceEffectivePedestals
std::unique_ptr< HcalPedestals > produceEffectivePedestals(const HcalPedestalsRcd &rcd)
Definition: HcalTextCalibrations.cc:196
HcalTextCalibrations::produceValidationCorrs
std::unique_ptr< HcalValidationCorrs > produceValidationCorrs(const HcalValidationCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:270
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
cond::ValidityInterval
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:17
HcalTextCalibrations::produceChannelQuality
std::unique_ptr< HcalChannelQuality > produceChannelQuality(const HcalChannelQualityRcd &rcd)
Definition: HcalTextCalibrations.cc:227
HcalTextCalibrations::produceFrontEndMap
std::unique_ptr< HcalFrontEndMap > produceFrontEndMap(const HcalFrontEndMapRcd &rcd)
Definition: HcalTextCalibrations.cc:266
HcalTextCalibrations::produceRecoParams
std::unique_ptr< HcalRecoParams > produceRecoParams(const HcalRecoParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:288
HcalTextCalibrations::produceFlagHFDigiTimeParams
std::unique_ptr< HcalFlagHFDigiTimeParams > produceFlagHFDigiTimeParams(const HcalFlagHFDigiTimeParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:313
HcalTextCalibrations::produceZSThresholds
std::unique_ptr< HcalZSThresholds > produceZSThresholds(const HcalZSThresholdsRcd &rcd)
Definition: HcalTextCalibrations.cc:232
HcalTextCalibrations::producePedestals
std::unique_ptr< HcalPedestals > producePedestals(const HcalPedestalsRcd &rcd)
Definition: HcalTextCalibrations.cc:186
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
HcalTextCalibrations::produceLongRecoParams
std::unique_ptr< HcalLongRecoParams > produceLongRecoParams(const HcalLongRecoParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:293
HcalTextCalibrations::produceGainWidths
std::unique_ptr< HcalGainWidths > produceGainWidths(const HcalGainWidthsRcd &rcd)
Definition: HcalTextCalibrations.cc:212
HcalTextCalibrations::produceZDCLowGainFractions
std::unique_ptr< HcalZDCLowGainFractions > produceZDCLowGainFractions(const HcalZDCLowGainFractionsRcd &rcd)
Definition: HcalTextCalibrations.cc:298
summarizeEdmComparisonLogfiles.objectName
objectName
Definition: summarizeEdmComparisonLogfiles.py:105
HcalTextCalibrations::mTokens
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
Definition: HcalTextCalibrations.h:130