#include <CalibFormats/CastorDbProducer/interface/CastorDbProducer.h>
Private Member Functions | |
void | setupChannelQuality (const CastorChannelQualityRcd &, CastorDbService *) |
void | setupElectronicsMap (const CastorElectronicsMapRcd &, CastorDbService *) |
void | setupGains (const CastorGainsRcd &, CastorDbService *) |
void | setupGainWidths (const CastorGainWidthsRcd &, CastorDbService *) |
void | setupPedestals (const CastorPedestalsRcd &, CastorDbService *) |
void | setupPedestalWidths (const CastorPedestalWidthsRcd &, CastorDbService *) |
void | setupQIEData (const CastorQIEDataRcd &, CastorDbService *) |
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 > | |
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 > | |
ESConsumesCollector | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
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 21 of file CastorDbProducer.h.
Definition at line 37 of file CastorDbProducer.h.
CastorDbProducer::CastorDbProducer | ( | const edm::ParameterSet & | fConfig | ) |
Definition at line 36 of file CastorDbProducer.cc.
References gather_cfg::cout, edm::ParameterSet::getUntrackedParameter(), mDumpRequest, mDumpStream, edm::ESProducer::setWhatProduced(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
std::shared_ptr< CastorDbService > CastorDbProducer::produce | ( | const CastorDbRecord & | record | ) |
Definition at line 69 of file CastorDbProducer.cc.
References h, holder_, query::host, record, setupChannelQuality(), setupElectronicsMap(), setupGains(), setupGainWidths(), setupPedestals(), setupPedestalWidths(), and setupQIEData().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 189 of file CastorDbProducer.cc.
References CastorDbASCIIIO::dumpObject(), spr::find(), edm::eventsetup::EventSetupRecord::get(), mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), CastorDbService::setData(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 200 of file CastorDbProducer.cc.
References CastorDbASCIIIO::dumpObject(), spr::find(), edm::eventsetup::EventSetupRecord::get(), mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), CastorDbService::setData(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 155 of file CastorDbProducer.cc.
References CastorDbASCIIIO::dumpObject(), spr::find(), edm::eventsetup::EventSetupRecord::get(), mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), CastorDbService::setData(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 167 of file CastorDbProducer.cc.
References CastorDbASCIIIO::dumpObject(), spr::find(), edm::eventsetup::EventSetupRecord::get(), mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), CastorDbService::setData(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 130 of file CastorDbProducer.cc.
References CastorDbASCIIIO::dumpObject(), spr::find(), edm::eventsetup::EventSetupRecord::get(), mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), CastorDbService::setData(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 143 of file CastorDbProducer.cc.
References CastorDbASCIIIO::dumpObject(), spr::find(), edm::eventsetup::EventSetupRecord::get(), mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), CastorDbService::setData(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 178 of file CastorDbProducer.cc.
References CastorDbASCIIIO::dumpObject(), spr::find(), edm::eventsetup::EventSetupRecord::get(), mDumpRequest, mDumpStream, edm::ESHandle< T >::product(), CastorDbService::setData(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 47 of file CastorDbProducer.h.
Referenced by produce().
|
private |
Definition at line 49 of file CastorDbProducer.h.
Referenced by CastorDbProducer(), setupChannelQuality(), setupElectronicsMap(), setupGains(), setupGainWidths(), setupPedestals(), setupPedestalWidths(), and setupQIEData().
|
private |
Definition at line 50 of file CastorDbProducer.h.
Referenced by CastorDbProducer(), setupChannelQuality(), setupElectronicsMap(), setupGains(), setupGainWidths(), setupPedestals(), setupPedestalWidths(), setupQIEData(), and ~CastorDbProducer().