Public Types | |
typedef boost::shared_ptr < HcalSeverityLevelComputer > | ReturnType |
Public Member Functions | |
HcalRecAlgoESProducer (const edm::ParameterSet &) | |
ReturnType | produce (const HcalSeverityLevelComputerRcd &) |
~HcalRecAlgoESProducer () | |
Private Attributes | |
ReturnType | myComputer |
Description: Producer for HcalSeverityLevelComputer, that delivers the severity level for HCAL cells
Implementation: <Notes on="" implementation>="">
Definition at line 41 of file HcalRecAlgoESProducer.cc.
typedef boost::shared_ptr<HcalSeverityLevelComputer> HcalRecAlgoESProducer::ReturnType |
Definition at line 47 of file HcalRecAlgoESProducer.cc.
HcalRecAlgoESProducer::HcalRecAlgoESProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 66 of file HcalRecAlgoESProducer.cc.
References myComputer, and edm::ESProducer::setWhatProduced().
{ //the following line is needed to tell the framework what // data is being produced setWhatProduced(this); //now do what ever other initialization is needed myComputer = ReturnType(new HcalSeverityLevelComputer(iConfig)); }
HcalRecAlgoESProducer::~HcalRecAlgoESProducer | ( | ) |
Definition at line 77 of file HcalRecAlgoESProducer.cc.
{ // do anything here that needs to be done at desctruction time // (e.g. close files, deallocate resources etc.) }
HcalRecAlgoESProducer::ReturnType HcalRecAlgoESProducer::produce | ( | const HcalSeverityLevelComputerRcd & | iRecord | ) |
Definition at line 92 of file HcalRecAlgoESProducer.cc.
References myComputer.
{ using namespace edm::es; return myComputer ; }
ReturnType HcalRecAlgoESProducer::myComputer [private] |
Definition at line 52 of file HcalRecAlgoESProducer.cc.
Referenced by HcalRecAlgoESProducer(), and produce().