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 char *iLabel)
 
template<typename T >
auto setWhatProduced (T *iThis, const es::Label &iLabel={})
 
template<typename T >
auto setWhatProduced (T *iThis, const std::string &iLabel)
 
template<typename T , typename TDecorator >
auto setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={})
 
template<typename T , typename TReturn , typename TRecord >
auto setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const es::Label &iLabel={})
 
template<typename T , typename TReturn , typename TRecord , typename TArg >
ESConsumesCollectorT< TRecord > setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={})
 
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 27 of file HcalTextCalibrations.cc.

29 {
30  //parsing parameters
31  std::vector<edm::ParameterSet> data = iConfig.getParameter<std::vector<edm::ParameterSet> >("input");
32  std::vector<edm::ParameterSet>::iterator request = data.begin();
33  for (; request != data.end(); ++request) {
34  std::string objectName = request->getParameter<std::string>("object");
35  edm::FileInPath fp = request->getParameter<edm::FileInPath>("file");
36  mInputs[objectName] = fp.fullPath();
37  // std::cout << objectName << " with file " << fp.fullPath() << std::endl;
38  if (objectName == "Pedestals") {
40  findingRecord<HcalPedestalsRcd>();
41  } else if (objectName == "PedestalWidths") {
43  findingRecord<HcalPedestalWidthsRcd>();
44  } else if (objectName == "EffectivePedestals") {
47  .consumes();
48  findingRecord<HcalPedestalsRcd>();
49  } else if (objectName == "EffectivePedestalWidths") {
52  .consumes();
53  findingRecord<HcalPedestalWidthsRcd>();
54  } else if (objectName == "Gains") {
56  findingRecord<HcalGainsRcd>();
57  } else if (objectName == "GainWidths") {
59  findingRecord<HcalGainWidthsRcd>();
60  } else if (objectName == "QIEData") {
62  findingRecord<HcalQIEDataRcd>();
63  } else if (objectName == "QIETypes") {
65  findingRecord<HcalQIETypesRcd>();
66  } else if (objectName == "ChannelQuality") {
69  findingRecord<HcalChannelQualityRcd>();
70  } else if (objectName == "ZSThresholds") {
72  findingRecord<HcalZSThresholdsRcd>();
73  } else if (objectName == "RespCorrs") {
75  findingRecord<HcalRespCorrsRcd>();
76  } else if (objectName == "LUTCorrs") {
78  findingRecord<HcalLUTCorrsRcd>();
79  } else if (objectName == "PFCorrs") {
81  findingRecord<HcalPFCorrsRcd>();
82  } else if (objectName == "TimeCorrs") {
84  findingRecord<HcalTimeCorrsRcd>();
85  } else if (objectName == "L1TriggerObjects") {
87  findingRecord<HcalL1TriggerObjectsRcd>();
88  } else if (objectName == "ElectronicsMap") {
90  findingRecord<HcalElectronicsMapRcd>();
91  } else if (objectName == "FrontEndMap") {
93  findingRecord<HcalFrontEndMapRcd>();
94  } else if (objectName == "ValidationCorrs") {
96  findingRecord<HcalValidationCorrsRcd>();
97  } else if (objectName == "LutMetadata") {
99  findingRecord<HcalLutMetadataRcd>();
100  } else if (objectName == "DcsValues") {
102  findingRecord<HcalDcsRcd>();
103  } else if (objectName == "DcsMap") {
105  findingRecord<HcalDcsMapRcd>();
106  } else if (objectName == "RecoParams") {
108  findingRecord<HcalRecoParamsRcd>();
109  } else if (objectName == "TimingParams") {
111  findingRecord<HcalTimingParamsRcd>();
112  } else if (objectName == "LongRecoParams") {
114  findingRecord<HcalLongRecoParamsRcd>();
115  } else if (objectName == "ZDCLowGainFractions") {
117  findingRecord<HcalZDCLowGainFractionsRcd>();
118  } else if (objectName == "MCParams") {
120  findingRecord<HcalMCParamsRcd>();
121  } else if (objectName == "FlagHFDigiTimeParams") {
123  findingRecord<HcalFlagHFDigiTimeParamsRcd>();
124  } else if (objectName == "SiPMParameters") {
126  findingRecord<HcalSiPMParametersRcd>();
127  } else if (objectName == "SiPMCharacteristics") {
129  findingRecord<HcalSiPMCharacteristicsRcd>();
130  } else if (objectName == "TPChannelParameters") {
132  findingRecord<HcalTPChannelParametersRcd>();
133  } else if (objectName == "TPParameters") {
135  findingRecord<HcalTPParametersRcd>();
136  } else {
137  std::cerr << "HcalTextCalibrations-> Unknown object name '" << objectName << "', known names are: "
138  << "Pedestals PedestalWidths Gains GainWidths QIEData QIETypes ChannelQuality ElectronicsMap "
139  << "FrontEndMap ZSThresholds RespCorrs LUTCorrs PFCorrs TimeCorrs L1TriggerObjects "
140  << "ValidationCorrs LutMetadata DcsValues DcsMap "
141  << "RecoParams LongRecoParams ZDCLowGainFraction FlagHFDigiTimeParams MCParams "
142  << "SiPMParameters SiPMCharacteristics TPChannelParameters TPParameters" << std::endl;
143  }
144  }
145  // setWhatProduced(this);
146 }

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.

◆ ~HcalTextCalibrations()

HcalTextCalibrations::~HcalTextCalibrations ( )
override

Definition at line 148 of file HcalTextCalibrations.cc.

148 {}

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

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

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

Referenced by HcalTextCalibrations().

◆ produceDcsMap()

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

Definition at line 286 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

◆ produceDcsValues()

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

Definition at line 282 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

◆ produceEffectivePedestals()

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

Definition at line 198 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceEffectivePedestalWidths()

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

Definition at line 203 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceElectronicsMap()

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

Definition at line 264 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

◆ produceFlagHFDigiTimeParams()

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

Definition at line 315 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceFrontEndMap()

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

Definition at line 268 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

◆ produceGains()

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

Definition at line 209 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceGainWidths()

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

Definition at line 214 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceL1TriggerObjects()

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

Definition at line 259 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceLongRecoParams()

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

Definition at line 295 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceLUTCorrs()

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

Definition at line 244 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceLutMetadata()

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

Definition at line 277 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceMCParams()

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

Definition at line 310 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ producePedestals()

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

Definition at line 188 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ producePedestalWidths()

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

Definition at line 193 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ producePFCorrs()

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

Definition at line 249 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceQIEData()

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

Definition at line 219 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceQIETypes()

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

Definition at line 224 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceRecoParams()

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

Definition at line 290 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceRespCorrs()

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

Definition at line 239 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceSiPMCharacteristics()

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

Definition at line 326 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

◆ produceSiPMParameters()

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

Definition at line 321 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceTimeCorrs()

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

Definition at line 254 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceTimingParams()

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

Definition at line 306 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceTPChannelParameters()

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

Definition at line 331 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceTPParameters()

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

Definition at line 337 of file HcalTextCalibrations.cc.

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

Referenced by HcalTextCalibrations().

◆ produceValidationCorrs()

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

Definition at line 272 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceZDCLowGainFractions()

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

Definition at line 300 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ produceZSThresholds()

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

Definition at line 234 of file HcalTextCalibrations.cc.

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

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

Referenced by HcalTextCalibrations().

◆ setIntervalFor()

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

Member Data Documentation

◆ mInputs

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

Definition at line 129 of file HcalTextCalibrations.h.

◆ mTokens

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

Definition at line 130 of file HcalTextCalibrations.h.

HcalTextCalibrations::produceEffectivePedestalWidths
std::unique_ptr< HcalPedestalWidths > produceEffectivePedestalWidths(const HcalPedestalWidthsRcd &rcd)
Definition: HcalTextCalibrations.cc:203
HcalTextCalibrations::produceDcsMap
std::unique_ptr< HcalDcsMap > produceDcsMap(const HcalDcsMapRcd &rcd)
Definition: HcalTextCalibrations.cc:286
HcalTextCalibrations::produceElectronicsMap
std::unique_ptr< HcalElectronicsMap > produceElectronicsMap(const HcalElectronicsMapRcd &rcd)
Definition: HcalTextCalibrations.cc:264
HcalTextCalibrations::produceQIEData
std::unique_ptr< HcalQIEData > produceQIEData(const HcalQIEDataRcd &rcd)
Definition: HcalTextCalibrations.cc:219
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
HcalTextCalibrations::produceTPParameters
std::unique_ptr< HcalTPParameters > produceTPParameters(const HcalTPParametersRcd &rcd)
Definition: HcalTextCalibrations.cc:337
HcalTextCalibrations::produceRespCorrs
std::unique_ptr< HcalRespCorrs > produceRespCorrs(const HcalRespCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:239
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
HcalTextCalibrations::produceTPChannelParameters
std::unique_ptr< HcalTPChannelParameters > produceTPChannelParameters(const HcalTPChannelParametersRcd &rcd)
Definition: HcalTextCalibrations.cc:331
HcalTextCalibrations::produceLutMetadata
std::unique_ptr< HcalLutMetadata > produceLutMetadata(const HcalLutMetadataRcd &rcd)
Definition: HcalTextCalibrations.cc:277
personalPlayback.fp
fp
Definition: personalPlayback.py:523
HcalTextCalibrations::producePedestalWidths
std::unique_ptr< HcalPedestalWidths > producePedestalWidths(const HcalPedestalWidthsRcd &rcd)
Definition: HcalTextCalibrations.cc:193
HcalTextCalibrations::produceSiPMParameters
std::unique_ptr< HcalSiPMParameters > produceSiPMParameters(const HcalSiPMParametersRcd &rcd)
Definition: HcalTextCalibrations.cc:321
HcalTextCalibrations::produceMCParams
std::unique_ptr< HcalMCParams > produceMCParams(const HcalMCParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:310
edm::FileInPath
Definition: FileInPath.h:64
HcalTextCalibrations::produceL1TriggerObjects
std::unique_ptr< HcalL1TriggerObjects > produceL1TriggerObjects(const HcalL1TriggerObjectsRcd &rcd)
Definition: HcalTextCalibrations.cc:259
HcalTextCalibrations::producePFCorrs
std::unique_ptr< HcalPFCorrs > producePFCorrs(const HcalPFCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:249
HcalTextCalibrations::produceTimingParams
std::unique_ptr< HcalTimingParams > produceTimingParams(const HcalTimingParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:306
HcalTextCalibrations::produceLUTCorrs
std::unique_ptr< HcalLUTCorrs > produceLUTCorrs(const HcalLUTCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:244
HcalTextCalibrations::mInputs
std::map< std::string, std::string > mInputs
Definition: HcalTextCalibrations.h:129
HcalTextCalibrations::produceTimeCorrs
std::unique_ptr< HcalTimeCorrs > produceTimeCorrs(const HcalTimeCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:254
edm::es::Label
Definition: es_Label.h:56
HcalTextCalibrations::produceQIETypes
std::unique_ptr< HcalQIETypes > produceQIETypes(const HcalQIETypesRcd &rcd)
Definition: HcalTextCalibrations.cc:224
edm::eventsetup::EventSetupRecordKey::name
const char * name() const
Definition: EventSetupRecordKey.h:46
edm::eventsetup::DependentRecordImplementation::get
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition: DependentRecordImplementation.h:103
HcalTextCalibrations::produceGains
std::unique_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
Definition: HcalTextCalibrations.cc:209
HcalTextCalibrations::produceDcsValues
std::unique_ptr< HcalDcsValues > produceDcsValues(HcalDcsRcd const &rcd)
Definition: HcalTextCalibrations.cc:282
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalTextCalibrations::produceSiPMCharacteristics
std::unique_ptr< HcalSiPMCharacteristics > produceSiPMCharacteristics(const HcalSiPMCharacteristicsRcd &rcd)
Definition: HcalTextCalibrations.cc:326
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
HcalTextCalibrations::produceEffectivePedestals
std::unique_ptr< HcalPedestals > produceEffectivePedestals(const HcalPedestalsRcd &rcd)
Definition: HcalTextCalibrations.cc:198
HcalTextCalibrations::produceValidationCorrs
std::unique_ptr< HcalValidationCorrs > produceValidationCorrs(const HcalValidationCorrsRcd &rcd)
Definition: HcalTextCalibrations.cc:272
cond::ValidityInterval
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:17
HcalTextCalibrations::produceChannelQuality
std::unique_ptr< HcalChannelQuality > produceChannelQuality(const HcalChannelQualityRcd &rcd)
Definition: HcalTextCalibrations.cc:229
HcalTextCalibrations::produceFrontEndMap
std::unique_ptr< HcalFrontEndMap > produceFrontEndMap(const HcalFrontEndMapRcd &rcd)
Definition: HcalTextCalibrations.cc:268
HcalTextCalibrations::produceRecoParams
std::unique_ptr< HcalRecoParams > produceRecoParams(const HcalRecoParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:290
HcalTextCalibrations::produceFlagHFDigiTimeParams
std::unique_ptr< HcalFlagHFDigiTimeParams > produceFlagHFDigiTimeParams(const HcalFlagHFDigiTimeParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:315
HcalTextCalibrations::produceZSThresholds
std::unique_ptr< HcalZSThresholds > produceZSThresholds(const HcalZSThresholdsRcd &rcd)
Definition: HcalTextCalibrations.cc:234
HcalTextCalibrations::producePedestals
std::unique_ptr< HcalPedestals > producePedestals(const HcalPedestalsRcd &rcd)
Definition: HcalTextCalibrations.cc:188
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
HcalTextCalibrations::produceLongRecoParams
std::unique_ptr< HcalLongRecoParams > produceLongRecoParams(const HcalLongRecoParamsRcd &rcd)
Definition: HcalTextCalibrations.cc:295
HcalTextCalibrations::produceGainWidths
std::unique_ptr< HcalGainWidths > produceGainWidths(const HcalGainWidthsRcd &rcd)
Definition: HcalTextCalibrations.cc:214
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.cerr
cerr
Definition: EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.py:8
HcalTextCalibrations::produceZDCLowGainFractions
std::unique_ptr< HcalZDCLowGainFractions > produceZDCLowGainFractions(const HcalZDCLowGainFractionsRcd &rcd)
Definition: HcalTextCalibrations.cc:300
summarizeEdmComparisonLogfiles.objectName
objectName
Definition: summarizeEdmComparisonLogfiles.py:105
HcalTextCalibrations::mTokens
std::unordered_map< std::string, edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > > mTokens
Definition: HcalTextCalibrations.h:130