#include <CalibFormats/HcalDbProducer/interface/HcalDbProducer.h>
Private Member Functions | |
template<typename ProductType , typename RecordType > | |
void | setupHcalDbService (HostType &host, const HcalDbRecord &record, const char *label, const char *dumpName, const char *dumpHeader) |
Static Private Member Functions | |
template<typename ProductType , typename RecordType > | |
static std::unique_ptr< ProductType > | produceWithTopology (RecordType const &record) |
Private Attributes | |
edm::ReusableObjectHolder< HostType > | holder_ |
std::vector< std::string > | mDumpRequest |
std::ostream * | mDumpStream |
Additional Inherited Members | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
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 eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 37 of file HcalDbProducer.h.
Definition at line 94 of file HcalDbProducer.h.
HcalDbProducer::HcalDbProducer | ( | const edm::ParameterSet & | fConfig | ) |
Definition at line 28 of file HcalDbProducer.cc.
References gather_cfg::cout, edm::ParameterSet::getUntrackedParameter(), mDumpRequest, mDumpStream, produceChannelQualityWithTopo(), produceEffectivePedestalsWithTopo(), produceEffectivePedestalWidthsWithTopo(), produceGainsWithTopo(), produceGainWidthsWithTopo(), produceL1triggerObjectsWithTopo(), produceLUTCorrsWithTopo(), produceLUTMetadataWithTopo(), produceMCParamsWithTopo(), producePedestalsWithTopo(), producePedestalWidthsWithTopo(), producePFCorrsWithTopo(), produceQIEDataWithTopo(), produceQIETypesWithTopo(), produceRecoParamsWithTopo(), produceRespCorrsWithTopo(), produceSiPMParametersWithTopo(), produceTimeCorrsWithTopo(), produceTPChannelParametersWithTopo(), produceZSThresholdsWithTopo(), edm::ESProducer::setWhatProduced(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
std::shared_ptr< HcalDbService > HcalDbProducer::produce | ( | const HcalDbRecord & | record | ) |
Definition at line 69 of file HcalDbProducer.cc.
References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), h, holder_, query::host, record, setupEffectivePedestals(), setupEffectivePedestalWidths(), setupPedestals(), and setupPedestalWidths().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
std::unique_ptr< HcalChannelQuality > HcalDbProducer::produceChannelQualityWithTopo | ( | const HcalChannelQualityRcd & | record | ) |
Definition at line 226 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalPedestals > HcalDbProducer::produceEffectivePedestalsWithTopo | ( | const HcalPedestalsRcd & | record | ) |
Definition at line 174 of file HcalDbProducer.cc.
References edm::eventsetup::EventSetupRecord::get(), and edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().
Referenced by HcalDbProducer().
std::unique_ptr< HcalPedestalWidths > HcalDbProducer::produceEffectivePedestalWidthsWithTopo | ( | const HcalPedestalWidthsRcd & | record | ) |
Definition at line 190 of file HcalDbProducer.cc.
References edm::eventsetup::EventSetupRecord::get().
Referenced by HcalDbProducer().
std::unique_ptr< HcalGains > HcalDbProducer::produceGainsWithTopo | ( | const HcalGainsRcd & | record | ) |
Definition at line 206 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalGainWidths > HcalDbProducer::produceGainWidthsWithTopo | ( | const HcalGainWidthsRcd & | record | ) |
Definition at line 211 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalL1TriggerObjects > HcalDbProducer::produceL1triggerObjectsWithTopo | ( | const HcalL1TriggerObjectsRcd & | record | ) |
Definition at line 241 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalLUTCorrs > HcalDbProducer::produceLUTCorrsWithTopo | ( | const HcalLUTCorrsRcd & | record | ) |
Definition at line 251 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalLutMetadata > HcalDbProducer::produceLUTMetadataWithTopo | ( | const HcalLutMetadataRcd & | record | ) |
Definition at line 261 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalMCParams > HcalDbProducer::produceMCParamsWithTopo | ( | const HcalMCParamsRcd & | record | ) |
Definition at line 276 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalPedestals > HcalDbProducer::producePedestalsWithTopo | ( | const HcalPedestalsRcd & | record | ) |
Definition at line 164 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalPedestalWidths > HcalDbProducer::producePedestalWidthsWithTopo | ( | const HcalPedestalWidthsRcd & | record | ) |
Definition at line 169 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalPFCorrs > HcalDbProducer::producePFCorrsWithTopo | ( | const HcalPFCorrsRcd & | record | ) |
Definition at line 256 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalQIEData > HcalDbProducer::produceQIEDataWithTopo | ( | const HcalQIEDataRcd & | record | ) |
Definition at line 216 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalQIETypes > HcalDbProducer::produceQIETypesWithTopo | ( | const HcalQIETypesRcd & | record | ) |
Definition at line 221 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalRecoParams > HcalDbProducer::produceRecoParamsWithTopo | ( | const HcalRecoParamsRcd & | record | ) |
Definition at line 281 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalRespCorrs > HcalDbProducer::produceRespCorrsWithTopo | ( | const HcalRespCorrsRcd & | record | ) |
Definition at line 236 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalSiPMParameters > HcalDbProducer::produceSiPMParametersWithTopo | ( | const HcalSiPMParametersRcd & | record | ) |
Definition at line 266 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalTimeCorrs > HcalDbProducer::produceTimeCorrsWithTopo | ( | const HcalTimeCorrsRcd & | record | ) |
Definition at line 246 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
std::unique_ptr< HcalTPChannelParameters > HcalDbProducer::produceTPChannelParametersWithTopo | ( | const HcalTPChannelParametersRcd & | record | ) |
Definition at line 271 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
|
inlinestaticprivate |
Definition at line 97 of file HcalDbProducer.h.
std::unique_ptr< HcalZSThresholds > HcalDbProducer::produceZSThresholdsWithTopo | ( | const HcalZSThresholdsRcd & | record | ) |
Definition at line 231 of file HcalDbProducer.cc.
References record.
Referenced by HcalDbProducer().
void HcalDbProducer::setupEffectivePedestals | ( | const HcalPedestalsRcd & | record, |
HcalDbService & | service | ||
) |
Definition at line 297 of file HcalDbProducer.cc.
References HcalDbASCIIIO::dumpObject(), spr::find(), edm::eventsetup::EventSetupRecord::get(), mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), HcalDbService::setData(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
void HcalDbProducer::setupEffectivePedestalWidths | ( | const HcalPedestalWidthsRcd & | record, |
HcalDbService & | service | ||
) |
Definition at line 321 of file HcalDbProducer.cc.
References HcalDbASCIIIO::dumpObject(), spr::find(), edm::eventsetup::EventSetupRecord::get(), mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), HcalDbService::setData(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
inlineprivate |
Definition at line 113 of file HcalDbProducer.h.
References HcalDbASCIIIO::dumpObject(), spr::find(), query::host, edm::ESProductHost< Product, RecordTypes >::ifRecordChanges(), diffTwoXMLs::label, mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), record, and AlCaHLTBitMon_QueryRunRegistry::string.
void HcalDbProducer::setupPedestals | ( | const HcalPedestalsRcd & | record, |
HcalDbService & | service | ||
) |
Definition at line 285 of file HcalDbProducer.cc.
References HcalDbASCIIIO::dumpObject(), spr::find(), edm::eventsetup::EventSetupRecord::get(), mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), HcalDbService::setData(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
void HcalDbProducer::setupPedestalWidths | ( | const HcalPedestalWidthsRcd & | record, |
HcalDbService & | service | ||
) |
Definition at line 309 of file HcalDbProducer.cc.
References HcalDbASCIIIO::dumpObject(), spr::find(), edm::eventsetup::EventSetupRecord::get(), mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), HcalDbService::setData(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 133 of file HcalDbProducer.h.
Referenced by produce().
|
private |
Definition at line 135 of file HcalDbProducer.h.
Referenced by HcalDbProducer(), setupEffectivePedestals(), setupEffectivePedestalWidths(), setupHcalDbService(), setupPedestals(), and setupPedestalWidths().
|
private |
Definition at line 136 of file HcalDbProducer.h.
Referenced by HcalDbProducer(), setupEffectivePedestals(), setupEffectivePedestalWidths(), setupHcalDbService(), setupPedestals(), setupPedestalWidths(), and ~HcalDbProducer().