CMS 3D CMS Logo

Public Types | Public Member Functions | Private Member Functions | Private Attributes

EcalSeverityLevelESProducer Class Reference

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

List of all members.

Public Types

typedef boost::shared_ptr
< EcalSeverityLevelAlgo
ReturnType

Public Member Functions

 EcalSeverityLevelESProducer (const edm::ParameterSet &iConfig)
ReturnType produce (const EcalSeverityLevelAlgoRcd &iRecord)

Private Member Functions

void chstatusCallback (const EcalChannelStatusRcd &chs)

Private Attributes

ReturnType algo_

Detailed Description

Definition at line 20 of file EcalSeverityLevelESProducer.cc.


Member Typedef Documentation

Definition at line 25 of file EcalSeverityLevelESProducer.cc.


Constructor & Destructor Documentation

EcalSeverityLevelESProducer::EcalSeverityLevelESProducer ( const edm::ParameterSet iConfig)

Definition at line 38 of file EcalSeverityLevelESProducer.cc.

References algo_, chstatusCallback(), edm::eventsetup::dependsOn(), and edm::ESProducer::setWhatProduced().

                                                                                      {
  //the following line is needed to tell the framework what
  // data is being produced
  setWhatProduced(this, 
                  dependsOn (&EcalSeverityLevelESProducer::chstatusCallback));

  algo_ = ReturnType(new EcalSeverityLevelAlgo(iConfig));
}

Member Function Documentation

void EcalSeverityLevelESProducer::chstatusCallback ( const EcalChannelStatusRcd chs) [private]
EcalSeverityLevelESProducer::ReturnType EcalSeverityLevelESProducer::produce ( const EcalSeverityLevelAlgoRcd iRecord)

Definition at line 50 of file EcalSeverityLevelESProducer.cc.

References algo_.

                                                                           {
  
  return algo_ ;
}

Member Data Documentation