CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

HcalRecAlgoESProducer Class Reference

Inheritance diagram for HcalRecAlgoESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Types

typedef boost::shared_ptr
< HcalSeverityLevelComputer
ReturnType

Public Member Functions

 HcalRecAlgoESProducer (const edm::ParameterSet &)
ReturnType produce (const HcalSeverityLevelComputerRcd &)
 ~HcalRecAlgoESProducer ()

Private Attributes

ReturnType myComputer

Detailed Description

Description: Producer for HcalSeverityLevelComputer, that delivers the severity level for HCAL cells

Implementation: <Notes on="" implementation>="">

Definition at line 41 of file HcalRecAlgoESProducer.cc.


Member Typedef Documentation

Definition at line 47 of file HcalRecAlgoESProducer.cc.


Constructor & Destructor Documentation

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.)

}

Member Function Documentation

HcalRecAlgoESProducer::ReturnType HcalRecAlgoESProducer::produce ( const HcalSeverityLevelComputerRcd iRecord)

Definition at line 92 of file HcalRecAlgoESProducer.cc.

References myComputer.

{
   using namespace edm::es;

   return myComputer ;
}

Member Data Documentation

Definition at line 52 of file HcalRecAlgoESProducer.cc.

Referenced by HcalRecAlgoESProducer(), and produce().