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 >
ESConsumesCollectorT< TRecord > setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &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 EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::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") {
68  findingRecord<HcalChannelQualityRcd>();
69  } else if (objectName == "ZSThresholds") {
71  findingRecord<HcalZSThresholdsRcd>();
72  } else if (objectName == "RespCorrs") {
74  findingRecord<HcalRespCorrsRcd>();
75  } else if (objectName == "LUTCorrs") {
77  findingRecord<HcalLUTCorrsRcd>();
78  } else if (objectName == "PFCorrs") {
80  findingRecord<HcalPFCorrsRcd>();
81  } else if (objectName == "TimeCorrs") {
83  findingRecord<HcalTimeCorrsRcd>();
84  } else if (objectName == "L1TriggerObjects") {
86  findingRecord<HcalL1TriggerObjectsRcd>();
87  } else if (objectName == "ElectronicsMap") {
89  findingRecord<HcalElectronicsMapRcd>();
90  } else if (objectName == "FrontEndMap") {
92  findingRecord<HcalFrontEndMapRcd>();
93  } else if (objectName == "ValidationCorrs") {
95  findingRecord<HcalValidationCorrsRcd>();
96  } else if (objectName == "LutMetadata") {
98  findingRecord<HcalLutMetadataRcd>();
99  } else if (objectName == "DcsValues") {
101  findingRecord<HcalDcsRcd>();
102  } else if (objectName == "DcsMap") {
104  findingRecord<HcalDcsMapRcd>();
105  } else if (objectName == "RecoParams") {
107  findingRecord<HcalRecoParamsRcd>();
108  } else if (objectName == "TimingParams") {
110  findingRecord<HcalTimingParamsRcd>();
111  } else if (objectName == "LongRecoParams") {
113  findingRecord<HcalLongRecoParamsRcd>();
114  } else if (objectName == "ZDCLowGainFractions") {
116  findingRecord<HcalZDCLowGainFractionsRcd>();
117  } else if (objectName == "MCParams") {
119  findingRecord<HcalMCParamsRcd>();
120  } else if (objectName == "FlagHFDigiTimeParams") {
122  findingRecord<HcalFlagHFDigiTimeParamsRcd>();
123  } else if (objectName == "SiPMParameters") {
125  findingRecord<HcalSiPMParametersRcd>();
126  } else if (objectName == "SiPMCharacteristics") {
128  findingRecord<HcalSiPMCharacteristicsRcd>();
129  } else if (objectName == "TPChannelParameters") {
131  findingRecord<HcalTPChannelParametersRcd>();
132  } else if (objectName == "TPParameters") {
134  findingRecord<HcalTPParametersRcd>();
135  } else {
136  std::cerr << "HcalTextCalibrations-> Unknown object name '" << objectName << "', known names are: "
137  << "Pedestals PedestalWidths Gains GainWidths QIEData QIETypes ChannelQuality ElectronicsMap "
138  << "FrontEndMap ZSThresholds RespCorrs LUTCorrs PFCorrs TimeCorrs L1TriggerObjects "
139  << "ValidationCorrs LutMetadata DcsValues DcsMap "
140  << "RecoParams LongRecoParams ZDCLowGainFraction FlagHFDigiTimeParams MCParams "
141  << "SiPMParameters SiPMCharacteristics TPChannelParameters TPParameters" << std::endl;
142  }
143  }
144  // setWhatProduced(this);
145 }
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 147 of file HcalTextCalibrations.cc.

147 {}

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 228 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

228  {
229  std::string const n = "ChannelQuality";
230  return get_impl_topo<HcalChannelQuality>(mInputs[n], &rcd.get(mTokens[n]));
231 }
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 285 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

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

◆ produceDcsValues()

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

Definition at line 281 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

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

◆ produceEffectivePedestals()

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

Definition at line 197 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

197  {
198  std::string const n = "EffectivePedestals";
199  return get_impl_topo<HcalPedestals>(mInputs[n], &rcd.get(mTokens[n]));
200 }
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 202 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

203  {
204  std::string const n = "EffectivePedestalWidths";
205  return get_impl_topo<HcalPedestalWidths>(mInputs[n], &rcd.get(mTokens[n]));
206 }
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 263 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

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

◆ produceFlagHFDigiTimeParams()

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

Definition at line 314 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

315  {
316  std::string const n = "FlagHFDigiTimeParams";
317  return get_impl_topo<HcalFlagHFDigiTimeParams>(mInputs[n], &rcd.get(mTokens[n]));
318 }
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 267 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

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

◆ produceGains()

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

Definition at line 208 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

208  {
209  std::string const n = "Gains";
210  return get_impl_topo<HcalGains>(mInputs[n], &rcd.get(mTokens[n]));
211 }
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 213 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

213  {
214  std::string const n = "GainWidths";
215  return get_impl_topo<HcalGainWidths>(mInputs[n], &rcd.get(mTokens[n]));
216 }
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 258 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

258  {
259  std::string const n = "L1TriggerObjects";
260  return get_impl_topo<HcalL1TriggerObjects>(mInputs[n], &rcd.get(mTokens[n]));
261 }
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 294 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

294  {
295  std::string const n = "LongRecoParams";
296  return get_impl_topo<HcalLongRecoParams>(mInputs[n], &rcd.get(mTokens[n]));
297 }
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 243 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

243  {
244  std::string const n = "LUTCorrs";
245  return get_impl_topo<HcalLUTCorrs>(mInputs[n], &rcd.get(mTokens[n]));
246 }
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 276 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

276  {
277  std::string const n = "LutMetadata";
278  return get_impl_topo<HcalLutMetadata>(mInputs[n], &rcd.get(mTokens[n]));
279 }
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 309 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

309  {
310  std::string const n = "MCParams";
311  return get_impl_topo<HcalMCParams>(mInputs[n], &rcd.get(mTokens[n]));
312 }
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 187 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

187  {
188  std::string const n = "Pedestals";
189  return get_impl_topo<HcalPedestals>(mInputs[n], &rcd.get(mTokens[n]));
190 }
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 192 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

192  {
193  std::string const n = "PedestalWidths";
194  return get_impl_topo<HcalPedestalWidths>(mInputs[n], &rcd.get(mTokens[n]));
195 }
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 248 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

248  {
249  std::string const n = "PFCorrs";
250  return get_impl_topo<HcalPFCorrs>(mInputs[n], &rcd.get(mTokens[n]));
251 }
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 218 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

218  {
219  std::string const n = "QIEData";
220  return get_impl_topo<HcalQIEData>(mInputs[n], &rcd.get(mTokens[n]));
221 }
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 223 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

223  {
224  std::string const n = "QIETypes";
225  return get_impl_topo<HcalQIETypes>(mInputs[n], &rcd.get(mTokens[n]));
226 }
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 289 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

289  {
290  std::string const n = "RecoParams";
291  return get_impl_topo<HcalRecoParams>(mInputs[n], &rcd.get(mTokens[n]));
292 }
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 238 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

238  {
239  std::string const n = "RespCorrs";
240  return get_impl_topo<HcalRespCorrs>(mInputs[n], &rcd.get(mTokens[n]));
241 }
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 325 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

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

◆ produceSiPMParameters()

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

Definition at line 320 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

320  {
321  std::string const n = "SiPMParameters";
322  return get_impl_topo<HcalSiPMParameters>(mInputs[n], &rcd.get(mTokens[n]));
323 }
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 253 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

253  {
254  std::string const n = "TimeCorrs";
255  return get_impl_topo<HcalTimeCorrs>(mInputs[n], &rcd.get(mTokens[n]));
256 }
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 305 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

305  {
306  std::string const n = "TimingParams";
307  return get_impl_topo<HcalTimingParams>(mInputs[n], &rcd.get(mTokens[n]));
308 }
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 330 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

331  {
332  std::string const n = "TPChannelParameters";
333  return get_impl_topo<HcalTPChannelParameters>(mInputs[n], &rcd.get(mTokens[n]));
334 }
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 336 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

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

◆ produceValidationCorrs()

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

Definition at line 271 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

271  {
272  std::string const n = "ValidationCorrs";
273  return get_impl_topo<HcalValidationCorrs>(mInputs[n], &rcd.get(mTokens[n]));
274 }
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 299 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

300  {
301  std::string const n = "ZDCLowGainFractions";
302  return get_impl_topo<HcalZDCLowGainFractions>(mInputs[n], &rcd.get(mTokens[n]));
303 }
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 233 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

233  {
234  std::string const n = "ZSThresholds";
235  return get_impl_topo<HcalZSThresholds>(mInputs[n], &rcd.get(mTokens[n]));
236 }
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.