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 Member Functions | |
void | buildCoder (const HcalTopology *) |
Private Attributes | |
ReturnType | coder_ |
unsigned int | FG_HF_threshold_ |
edm::FileInPath | fgfile_ |
edm::FileInPath | ifilename_ |
bool | LUTGenerationMode_ |
int | maskBit_ |
bool | read_Ascii_ |
bool | read_FGLut_ |
bool | read_XML_ |
HcaluLUTTPGCoder * | theCoder_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
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 40 of file HcalTPGCoderULUT.cc.
typedef std::shared_ptr<HcalTPGCoder> HcalTPGCoderULUT::ReturnType |
Definition at line 45 of file HcalTPGCoderULUT.cc.
HcalTPGCoderULUT::HcalTPGCoderULUT | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 71 of file HcalTPGCoderULUT.cc.
References dbRecordCallback(), edm::eventsetup::dependsOn(), FG_HF_threshold_, fgfile_, edm::ParameterSet::getParameter(), ifilename_, LUTGenerationMode_, maskBit_, read_Ascii_, read_FGLut_, read_XML_, edm::ESProducer::setWhatProduced(), and theCoder_.
|
override |
Definition at line 116 of file HcalTPGCoderULUT.cc.
|
private |
Definition at line 93 of file HcalTPGCoderULUT.cc.
References coder_, FG_HF_threshold_, fgfile_, edm::FileInPath::fullPath(), ifilename_, LUTGenerationMode_, maskBit_, read_Ascii_, read_FGLut_, read_XML_, HcaluLUTTPGCoder::setFGHFthreshold(), HcaluLUTTPGCoder::setLUTGenerationMode(), HcaluLUTTPGCoder::setMaskBit(), theCoder_, HcaluLUTTPGCoder::update(), and HcaluLUTTPGCoder::updateXML().
Referenced by dbRecordCallback(), and produce().
void HcalTPGCoderULUT::dbRecordCallback | ( | const HcalDbRecord & | theRec | ) |
Definition at line 142 of file HcalTPGCoderULUT.cc.
References buildCoder(), DEFINE_FWK_EVENTSETUP_MODULE, fgfile_, edm::FileInPath::fullPath(), edm::eventsetup::EventSetupRecord::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), read_FGLut_, theCoder_, and HcaluLUTTPGCoder::update().
Referenced by HcalTPGCoderULUT().
HcalTPGCoderULUT::ReturnType HcalTPGCoderULUT::produce | ( | const HcalTPGRecord & | iRecord | ) |
Definition at line 129 of file HcalTPGCoderULUT.cc.
References buildCoder(), coder_, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), and theCoder_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 52 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and produce().
|
private |
Definition at line 56 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 57 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), dbRecordCallback(), and HcalTPGCoderULUT().
|
private |
Definition at line 57 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 54 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 55 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 54 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 54 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), dbRecordCallback(), and HcalTPGCoderULUT().
|
private |
Definition at line 54 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), and HcalTPGCoderULUT().
|
private |
Definition at line 53 of file HcalTPGCoderULUT.cc.
Referenced by buildCoder(), dbRecordCallback(), HcalTPGCoderULUT(), and produce().