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::ESProductResolverFactoryProducer edm::eventsetup::ESProductResolverProvider

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
 
 ESProducer (ESProducer &&)=delete
 
ESResolverIndex const * getTokenIndices (unsigned int iIndex) const
 
ESRecordIndex const * getTokenRecordIndices (unsigned int iIndex) const
 
bool hasMayConsumes () const noexcept
 
size_t numberOfTokenIndices (unsigned int iIndex) const
 
ESProduceroperator= (const ESProducer &)=delete
 
ESProduceroperator= (ESProducer &&)=delete
 
SerialTaskQueueChainqueue ()
 
template<typename Record >
std::optional< std::vector< ESResolverIndex > > updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) const
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) final
 
 ~ESProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::ESProductResolverFactoryProducer
 ESProductResolverFactoryProducer ()
 
 ESProductResolverFactoryProducer (const ESProductResolverFactoryProducer &)=delete
 
const ESProductResolverFactoryProduceroperator= (const ESProductResolverFactoryProducer &)=delete
 
 ~ESProductResolverFactoryProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider
void createKeyedResolvers (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
const ComponentDescriptiondescription () const
 
 ESProductResolverProvider ()
 
 ESProductResolverProvider (const ESProductResolverProvider &)=delete
 
void fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const
 
virtual void initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
bool isUsingRecord (const EventSetupRecordKey &key) const
 
KeyedResolverskeyedResolvers (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0)
 
const ESProductResolverProvideroperator= (const ESProductResolverProvider &)=delete
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~ESProductResolverProvider () 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< HcalPFCutsproducePFCuts (const HcalPFCutsRcd &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
ESConsumesInfoconsumesInfoPushBackNew ()
 
unsigned int consumesInfoSize () const
 
template<typename CallbackT , typename TList , typename TRecord >
void registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel)
 
template<typename CallbackT , typename TRecord >
void registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &)
 
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 TDecorator >
auto setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &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::ESProductResolverFactoryProducer
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::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string())
 
KeyedResolversVector registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override
 
- Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider
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::ESProductResolverProvider
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Types inherited from edm::ESProductResolverFactoryProducer
using EventSetupRecordKey = eventsetup::EventSetupRecordKey
 
- Protected Types inherited from edm::eventsetup::ESProductResolverProvider
using KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >>
 

Detailed Description

Definition at line 47 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(), producePFCuts(), 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 == "PFCuts") {
61  findingRecord<HcalPFCutsRcd>();
62  } else if (objectName == "QIEData") {
64  findingRecord<HcalQIEDataRcd>();
65  } else if (objectName == "QIETypes") {
67  findingRecord<HcalQIETypesRcd>();
68  } else if (objectName == "ChannelQuality") {
70  findingRecord<HcalChannelQualityRcd>();
71  } else if (objectName == "ZSThresholds") {
73  findingRecord<HcalZSThresholdsRcd>();
74  } else if (objectName == "RespCorrs") {
76  findingRecord<HcalRespCorrsRcd>();
77  } else if (objectName == "LUTCorrs") {
79  findingRecord<HcalLUTCorrsRcd>();
80  } else if (objectName == "PFCorrs") {
82  findingRecord<HcalPFCorrsRcd>();
83  } else if (objectName == "TimeCorrs") {
85  findingRecord<HcalTimeCorrsRcd>();
86  } else if (objectName == "L1TriggerObjects") {
88  findingRecord<HcalL1TriggerObjectsRcd>();
89  } else if (objectName == "ElectronicsMap") {
91  findingRecord<HcalElectronicsMapRcd>();
92  } else if (objectName == "FrontEndMap") {
94  findingRecord<HcalFrontEndMapRcd>();
95  } else if (objectName == "ValidationCorrs") {
97  findingRecord<HcalValidationCorrsRcd>();
98  } else if (objectName == "LutMetadata") {
100  findingRecord<HcalLutMetadataRcd>();
101  } else if (objectName == "DcsValues") {
103  findingRecord<HcalDcsRcd>();
104  } else if (objectName == "DcsMap") {
106  findingRecord<HcalDcsMapRcd>();
107  } else if (objectName == "RecoParams") {
109  findingRecord<HcalRecoParamsRcd>();
110  } else if (objectName == "TimingParams") {
112  findingRecord<HcalTimingParamsRcd>();
113  } else if (objectName == "LongRecoParams") {
115  findingRecord<HcalLongRecoParamsRcd>();
116  } else if (objectName == "ZDCLowGainFractions") {
118  findingRecord<HcalZDCLowGainFractionsRcd>();
119  } else if (objectName == "MCParams") {
121  findingRecord<HcalMCParamsRcd>();
122  } else if (objectName == "FlagHFDigiTimeParams") {
124  findingRecord<HcalFlagHFDigiTimeParamsRcd>();
125  } else if (objectName == "SiPMParameters") {
127  findingRecord<HcalSiPMParametersRcd>();
128  } else if (objectName == "SiPMCharacteristics") {
130  findingRecord<HcalSiPMCharacteristicsRcd>();
131  } else if (objectName == "TPChannelParameters") {
133  findingRecord<HcalTPChannelParametersRcd>();
134  } else if (objectName == "TPParameters") {
136  findingRecord<HcalTPParametersRcd>();
137  } else {
138  std::cerr << "HcalTextCalibrations-> Unknown object name '" << objectName << "', known names are: "
139  << "Pedestals PedestalWidths Gains GainWidths PFCuts QIEData QIETypes ChannelQuality ElectronicsMap "
140  << "FrontEndMap ZSThresholds RespCorrs LUTCorrs PFCorrs TimeCorrs L1TriggerObjects "
141  << "ValidationCorrs LutMetadata DcsValues DcsMap "
142  << "RecoParams LongRecoParams ZDCLowGainFraction FlagHFDigiTimeParams MCParams "
143  << "SiPMParameters SiPMCharacteristics TPChannelParameters TPParameters" << std::endl;
144  }
145  }
146  // setWhatProduced(this);
147 }
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:166
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
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< HcalPFCuts > producePFCuts(const HcalPFCutsRcd &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:80
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 149 of file HcalTextCalibrations.cc.

149 {}

Member Function Documentation

◆ produce()

void HcalTextCalibrations::produce ( )
inline

Definition at line 52 of file HcalTextCalibrations.h.

52 {};

◆ produceChannelQuality()

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

Definition at line 235 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

235  {
236  std::string const n = "ChannelQuality";
237  return get_impl_topo<HcalChannelQuality>(mInputs[n], &rcd.get(mTokens[n]));
238 }
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 292 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

292  {
293  return create_impl<HcalDcsMap>(mInputs["DcsMap"]);
294 }
std::map< std::string, std::string > mInputs

◆ produceDcsValues()

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

Definition at line 288 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

288  {
289  return get_impl<HcalDcsValues>(mInputs["DcsValues"]);
290 }
std::map< std::string, std::string > mInputs

◆ produceEffectivePedestals()

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

Definition at line 199 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

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

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

Referenced by HcalTextCalibrations().

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

Referenced by HcalTextCalibrations().

270  {
271  return create_impl<HcalElectronicsMap>(mInputs["ElectronicsMap"]);
272 }
std::map< std::string, std::string > mInputs

◆ produceFlagHFDigiTimeParams()

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

Definition at line 321 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

322  {
323  std::string const n = "FlagHFDigiTimeParams";
324  return get_impl_topo<HcalFlagHFDigiTimeParams>(mInputs[n], &rcd.get(mTokens[n]));
325 }
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 274 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

274  {
275  return create_impl<HcalFrontEndMap>(mInputs["FrontEndMap"]);
276 }
std::map< std::string, std::string > mInputs

◆ produceGains()

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

Definition at line 210 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

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

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

Referenced by HcalTextCalibrations().

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

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

Referenced by HcalTextCalibrations().

265  {
266  std::string const n = "L1TriggerObjects";
267  return get_impl_topo<HcalL1TriggerObjects>(mInputs[n], &rcd.get(mTokens[n]));
268 }
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 301 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

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

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

Referenced by HcalTextCalibrations().

250  {
251  std::string const n = "LUTCorrs";
252  return get_impl_topo<HcalLUTCorrs>(mInputs[n], &rcd.get(mTokens[n]));
253 }
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 283 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

283  {
284  std::string const n = "LutMetadata";
285  return get_impl_topo<HcalLutMetadata>(mInputs[n], &rcd.get(mTokens[n]));
286 }
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 316 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

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

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

Referenced by HcalTextCalibrations().

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

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

Referenced by HcalTextCalibrations().

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

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

Referenced by HcalTextCalibrations().

255  {
256  std::string const n = "PFCorrs";
257  return get_impl_topo<HcalPFCorrs>(mInputs[n], &rcd.get(mTokens[n]));
258 }
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

◆ producePFCuts()

std::unique_ptr< HcalPFCuts > HcalTextCalibrations::producePFCuts ( const HcalPFCutsRcd rcd)
protected

Definition at line 220 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

220  {
221  std::string const n = "PFCuts";
222  return get_impl_topo<HcalPFCuts>(mInputs[n], &rcd.get(mTokens[n]));
223 }
std::map< std::string, std::string > mInputs
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens

◆ produceQIEData()

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

Definition at line 225 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

225  {
226  std::string const n = "QIEData";
227  return get_impl_topo<HcalQIEData>(mInputs[n], &rcd.get(mTokens[n]));
228 }
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 230 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

230  {
231  std::string const n = "QIETypes";
232  return get_impl_topo<HcalQIETypes>(mInputs[n], &rcd.get(mTokens[n]));
233 }
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 296 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

296  {
297  std::string const n = "RecoParams";
298  return get_impl_topo<HcalRecoParams>(mInputs[n], &rcd.get(mTokens[n]));
299 }
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 245 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

245  {
246  std::string const n = "RespCorrs";
247  return get_impl_topo<HcalRespCorrs>(mInputs[n], &rcd.get(mTokens[n]));
248 }
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 332 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

333  {
334  return create_impl<HcalSiPMCharacteristics>(mInputs["SiPMCharacteristics"]);
335 }
std::map< std::string, std::string > mInputs

◆ produceSiPMParameters()

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

Definition at line 327 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

327  {
328  std::string const n = "SiPMParameters";
329  return get_impl_topo<HcalSiPMParameters>(mInputs[n], &rcd.get(mTokens[n]));
330 }
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 260 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

260  {
261  std::string const n = "TimeCorrs";
262  return get_impl_topo<HcalTimeCorrs>(mInputs[n], &rcd.get(mTokens[n]));
263 }
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 312 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

312  {
313  std::string const n = "TimingParams";
314  return get_impl_topo<HcalTimingParams>(mInputs[n], &rcd.get(mTokens[n]));
315 }
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 337 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

338  {
339  std::string const n = "TPChannelParameters";
340  return get_impl_topo<HcalTPChannelParameters>(mInputs[n], &rcd.get(mTokens[n]));
341 }
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 343 of file HcalTextCalibrations.cc.

Referenced by HcalTextCalibrations().

343  {
344  return get_impl<HcalTPParameters>(mInputs["TPParameters"]);
345 }
std::map< std::string, std::string > mInputs

◆ produceValidationCorrs()

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

Definition at line 278 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

278  {
279  std::string const n = "ValidationCorrs";
280  return get_impl_topo<HcalValidationCorrs>(mInputs[n], &rcd.get(mTokens[n]));
281 }
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 306 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

307  {
308  std::string const n = "ZDCLowGainFractions";
309  return get_impl_topo<HcalZDCLowGainFractions>(mInputs[n], &rcd.get(mTokens[n]));
310 }
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 240 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

240  {
241  std::string const n = "ZSThresholds";
242  return get_impl_topo<HcalZSThresholds>(mInputs[n], &rcd.get(mTokens[n]));
243 }
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 131 of file HcalTextCalibrations.h.

◆ mTokens

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

Definition at line 132 of file HcalTextCalibrations.h.