Public Types | |
typedef std::shared_ptr< HcalTPGCoder > | ReturnType |
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 |
Private Types | |
using | HostType = edm::ESProductHost< HcaluLUTTPGCoder, HcalDbRecord > |
Private Member Functions | |
void | buildCoder (const HcalTopology *, const edm::ESHandle< HcalTimeSlew > &, HcaluLUTTPGCoder *) |
void | setupDBRecord (const HcalDbRecord &, HcaluLUTTPGCoder *) |
Private Attributes | |
std::vector< uint32_t > | FG_HF_thresholds_ |
edm::FileInPath | fgfile_ |
edm::ReusableObjectHolder< HostType > | holder_ |
edm::FileInPath | ifilename_ |
double | linearLSB_QIE11_ |
double | linearLSB_QIE11Overlap_ |
double | linearLSB_QIE8_ |
bool | linearLUTs_ |
bool | LUTGenerationMode_ |
int | maskBit_ |
bool | read_Ascii_ |
bool | read_FGLut_ |
bool | read_XML_ |
Additional Inherited Members | |
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 > | |
ESConsumesCollectorT< TRecord > | 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 42 of file HcalTPGCoderULUT.cc.
|
private |
Definition at line 54 of file HcalTPGCoderULUT.cc.
typedef std::shared_ptr<HcalTPGCoder> HcalTPGCoderULUT::ReturnType |
Definition at line 47 of file HcalTPGCoderULUT.cc.
HcalTPGCoderULUT::HcalTPGCoderULUT | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 79 of file HcalTPGCoderULUT.cc.
References FG_HF_thresholds_, fgfile_, edm::ParameterSet::getParameter(), ifilename_, linearLSB_QIE11_, linearLSB_QIE11Overlap_, linearLSB_QIE8_, linearLUTs_, LUTGenerationMode_, maskBit_, read_Ascii_, read_FGLut_, read_XML_, and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 124 of file HcalTPGCoderULUT.cc.
|
private |
Definition at line 102 of file HcalTPGCoderULUT.cc.
References FG_HF_thresholds_, fgfile_, edm::FileInPath::fullPath(), ifilename_, HcaluLUTTPGCoder::init(), linearLSB_QIE11_, linearLSB_QIE11Overlap_, linearLSB_QIE8_, linearLUTs_, LUTGenerationMode_, maskBit_, edm::ESHandle< T >::product(), read_Ascii_, read_FGLut_, read_XML_, HcaluLUTTPGCoder::setAllLinear(), HcaluLUTTPGCoder::setFGHFthresholds(), HcaluLUTTPGCoder::setLUTGenerationMode(), HcaluLUTTPGCoder::setMaskBit(), HcaluLUTTPGCoder::update(), and HcaluLUTTPGCoder::updateXML().
Referenced by produce(), and setupDBRecord().
HcalTPGCoderULUT::ReturnType HcalTPGCoderULUT::produce | ( | const HcalTPGRecord & | iRecord | ) |
Definition at line 137 of file HcalTPGCoderULUT.cc.
References buildCoder(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), h, holder_, query::host, edm::ReusableObjectHolder< T >::makeOrGet(), read_Ascii_, read_XML_, and setupDBRecord().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 161 of file HcalTPGCoderULUT.cc.
References buildCoder(), DEFINE_FWK_EVENTSETUP_MODULE, fgfile_, edm::FileInPath::fullPath(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), read_FGLut_, and HcaluLUTTPGCoder::update().
Referenced by produce().
|
private |
Definition at line 64 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 65 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), HcalTPGCoderULUT(), and setupDBRecord().
|
private |
Definition at line 60 of file HcalTPGCoderULUT.cc.
Referenced by produce().
|
private |
Definition at line 65 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 62 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 62 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 62 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 61 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 61 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 63 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 61 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), HcalTPGCoderULUT(), and produce().
|
private |
Definition at line 61 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), HcalTPGCoderULUT(), and setupDBRecord().
|
private |
Definition at line 61 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), HcalTPGCoderULUT(), and produce().