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
 
ESRecordIndex const * getTokenRecordIndices (unsigned int iIndex) const
 
bool hasMayConsumes () const noexcept
 
size_t numberOfTokenIndices (unsigned int iIndex) const
 
ESProducer const & operator= (const ESProducer &)=delete
 
SerialTaskQueueChainqueue ()
 
template<typename Record >
std::optional< std::vector< ESProxyIndex > > updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) const
 
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 es::Label &iLabel={})
 
template<typename T >
auto setWhatProduced (T *iThis, const char *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 >
auto setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={})
 
template<typename TFunc >
auto setWhatProduced (TFunc &&func, const es::Label &iLabel={})
 
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator >
ESConsumesCollectorT< TRecord > setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={})
 
void usesResources (std::vector< std::string > const &)
 
- 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 26 of file HcalTextCalibrations.cc.

References DMR_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.

28 {
29  //parsing parameters
30  std::vector<edm::ParameterSet> data = iConfig.getParameter<std::vector<edm::ParameterSet> >("input");
31  std::vector<edm::ParameterSet>::iterator request = data.begin();
32  for (; request != data.end(); ++request) {
33  std::string objectName = request->getParameter<std::string>("object");
34  edm::FileInPath fp = request->getParameter<edm::FileInPath>("file");
35  mInputs[objectName] = fp.fullPath();
36  // std::cout << objectName << " with file " << fp.fullPath() << std::endl;
37  if (objectName == "Pedestals") {
39  findingRecord<HcalPedestalsRcd>();
40  } else if (objectName == "PedestalWidths") {
42  findingRecord<HcalPedestalWidthsRcd>();
43  } else if (objectName == "EffectivePedestals") {
46  .consumes();
47  findingRecord<HcalPedestalsRcd>();
48  } else if (objectName == "EffectivePedestalWidths") {
51  .consumes();
52  findingRecord<HcalPedestalWidthsRcd>();
53  } else if (objectName == "Gains") {
55  findingRecord<HcalGainsRcd>();
56  } else if (objectName == "GainWidths") {
58  findingRecord<HcalGainWidthsRcd>();
59  } else if (objectName == "QIEData") {
61  findingRecord<HcalQIEDataRcd>();
62  } else if (objectName == "QIETypes") {
64  findingRecord<HcalQIETypesRcd>();
65  } else if (objectName == "ChannelQuality") {
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 }
std::unique_ptr< HcalPedestals > producePedestals(const HcalPedestalsRcd &rcd)
std::unique_ptr< HcalGainWidths > produceGainWidths(const HcalGainWidthsRcd &rcd)
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::unique_ptr< HcalZDCLowGainFractions > produceZDCLowGainFractions(const HcalZDCLowGainFractionsRcd &rcd)
std::unique_ptr< HcalPedestals > produceEffectivePedestals(const HcalPedestalsRcd &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)
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< HcalPedestalWidths > produceEffectivePedestalWidths(const HcalPedestalWidthsRcd &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::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
std::unique_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
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::~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.

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

Referenced by HcalTextCalibrations().

227  {
228  std::string const n = "ChannelQuality";
229  return get_impl_topo<HcalChannelQuality>(mInputs[n], &rcd.get(mTokens[n]));
230 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceDcsMap()

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

Definition at line 284 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

284  {
285  return create_impl<HcalDcsMap>(mInputs["DcsMap"]);
286 }
std::map< std::string, std::string > mInputs

◆ produceDcsValues()

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

Definition at line 280 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

280  {
281  return get_impl<HcalDcsValues>(mInputs["DcsValues"]);
282 }
std::map< std::string, std::string > mInputs

◆ produceEffectivePedestals()

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

Definition at line 196 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

196  {
197  std::string const n = "EffectivePedestals";
198  return get_impl_topo<HcalPedestals>(mInputs[n], &rcd.get(mTokens[n]));
199 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceEffectivePedestalWidths()

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

Definition at line 201 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

202  {
203  std::string const n = "EffectivePedestalWidths";
204  return get_impl_topo<HcalPedestalWidths>(mInputs[n], &rcd.get(mTokens[n]));
205 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceElectronicsMap()

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

Definition at line 262 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

262  {
263  return create_impl<HcalElectronicsMap>(mInputs["ElectronicsMap"]);
264 }
std::map< std::string, std::string > mInputs

◆ produceFlagHFDigiTimeParams()

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

Definition at line 313 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

314  {
315  std::string const n = "FlagHFDigiTimeParams";
316  return get_impl_topo<HcalFlagHFDigiTimeParams>(mInputs[n], &rcd.get(mTokens[n]));
317 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceFrontEndMap()

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

Definition at line 266 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

266  {
267  return create_impl<HcalFrontEndMap>(mInputs["FrontEndMap"]);
268 }
std::map< std::string, std::string > mInputs

◆ produceGains()

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

Definition at line 207 of file HcalTextCalibrations.cc.

References dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HcalTextCalibrations().

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

◆ produceGainWidths()

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

Definition at line 212 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

212  {
213  std::string const n = "GainWidths";
214  return get_impl_topo<HcalGainWidths>(mInputs[n], &rcd.get(mTokens[n]));
215 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceL1TriggerObjects()

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

Definition at line 257 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

257  {
258  std::string const n = "L1TriggerObjects";
259  return get_impl_topo<HcalL1TriggerObjects>(mInputs[n], &rcd.get(mTokens[n]));
260 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceLongRecoParams()

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

Definition at line 293 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

293  {
294  std::string const n = "LongRecoParams";
295  return get_impl_topo<HcalLongRecoParams>(mInputs[n], &rcd.get(mTokens[n]));
296 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceLUTCorrs()

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

Definition at line 242 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

242  {
243  std::string const n = "LUTCorrs";
244  return get_impl_topo<HcalLUTCorrs>(mInputs[n], &rcd.get(mTokens[n]));
245 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceLutMetadata()

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

Definition at line 275 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

275  {
276  std::string const n = "LutMetadata";
277  return get_impl_topo<HcalLutMetadata>(mInputs[n], &rcd.get(mTokens[n]));
278 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceMCParams()

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

Definition at line 308 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

308  {
309  std::string const n = "MCParams";
310  return get_impl_topo<HcalMCParams>(mInputs[n], &rcd.get(mTokens[n]));
311 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ producePedestals()

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

Definition at line 186 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

186  {
187  std::string const n = "Pedestals";
188  return get_impl_topo<HcalPedestals>(mInputs[n], &rcd.get(mTokens[n]));
189 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ producePedestalWidths()

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

Definition at line 191 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

191  {
192  std::string const n = "PedestalWidths";
193  return get_impl_topo<HcalPedestalWidths>(mInputs[n], &rcd.get(mTokens[n]));
194 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ producePFCorrs()

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

Definition at line 247 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

247  {
248  std::string const n = "PFCorrs";
249  return get_impl_topo<HcalPFCorrs>(mInputs[n], &rcd.get(mTokens[n]));
250 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceQIEData()

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

Definition at line 217 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

217  {
218  std::string const n = "QIEData";
219  return get_impl_topo<HcalQIEData>(mInputs[n], &rcd.get(mTokens[n]));
220 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceQIETypes()

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

Definition at line 222 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

222  {
223  std::string const n = "QIETypes";
224  return get_impl_topo<HcalQIETypes>(mInputs[n], &rcd.get(mTokens[n]));
225 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceRecoParams()

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

Definition at line 288 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

288  {
289  std::string const n = "RecoParams";
290  return get_impl_topo<HcalRecoParams>(mInputs[n], &rcd.get(mTokens[n]));
291 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceRespCorrs()

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

Definition at line 237 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

237  {
238  std::string const n = "RespCorrs";
239  return get_impl_topo<HcalRespCorrs>(mInputs[n], &rcd.get(mTokens[n]));
240 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceSiPMCharacteristics()

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

Definition at line 324 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

325  {
326  return create_impl<HcalSiPMCharacteristics>(mInputs["SiPMCharacteristics"]);
327 }
std::map< std::string, std::string > mInputs

◆ produceSiPMParameters()

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

Definition at line 319 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

319  {
320  std::string const n = "SiPMParameters";
321  return get_impl_topo<HcalSiPMParameters>(mInputs[n], &rcd.get(mTokens[n]));
322 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceTimeCorrs()

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

Definition at line 252 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

252  {
253  std::string const n = "TimeCorrs";
254  return get_impl_topo<HcalTimeCorrs>(mInputs[n], &rcd.get(mTokens[n]));
255 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceTimingParams()

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

Definition at line 304 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

304  {
305  std::string const n = "TimingParams";
306  return get_impl_topo<HcalTimingParams>(mInputs[n], &rcd.get(mTokens[n]));
307 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceTPChannelParameters()

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

Definition at line 329 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

330  {
331  std::string const n = "TPChannelParameters";
332  return get_impl_topo<HcalTPChannelParameters>(mInputs[n], &rcd.get(mTokens[n]));
333 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceTPParameters()

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

Definition at line 335 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

335  {
336  return get_impl<HcalTPParameters>(mInputs["TPParameters"]);
337 }
std::map< std::string, std::string > mInputs

◆ produceValidationCorrs()

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

Definition at line 270 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

270  {
271  std::string const n = "ValidationCorrs";
272  return get_impl_topo<HcalValidationCorrs>(mInputs[n], &rcd.get(mTokens[n]));
273 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceZDCLowGainFractions()

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

Definition at line 298 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

299  {
300  std::string const n = "ZDCLowGainFractions";
301  return get_impl_topo<HcalZDCLowGainFractions>(mInputs[n], &rcd.get(mTokens[n]));
302 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ produceZSThresholds()

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

Definition at line 232 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

232  {
233  std::string const n = "ZSThresholds";
234  return get_impl_topo<HcalZSThresholds>(mInputs[n], &rcd.get(mTokens[n]));
235 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

◆ 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.