CMS 3D CMS Logo

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

HcalPedestalsPopConAnalyzer Class Reference

Inheritance diagram for HcalPedestalsPopConAnalyzer:
popcon::PopConAnalyzer< HcalPedestalsHandler > edm::EDAnalyzer edm::EDConsumerBase

List of all members.

Public Types

typedef HcalPedestalsHandler SourceHandler

Public Member Functions

 HcalPedestalsPopConAnalyzer (const edm::ParameterSet &pset)

Private Member Functions

virtual void analyze (const edm::Event &ev, const edm::EventSetup &esetup)
virtual void endJob ()
void write ()

Private Attributes

popcon::PopCon m_populator
SourceHandler m_source
HcalPedestalsmyDBObject

Detailed Description

Definition at line 7 of file HcalPedestalsPopConAnalyzer.cc.


Member Typedef Documentation

Reimplemented from popcon::PopConAnalyzer< HcalPedestalsHandler >.

Definition at line 10 of file HcalPedestalsPopConAnalyzer.cc.


Constructor & Destructor Documentation

HcalPedestalsPopConAnalyzer::HcalPedestalsPopConAnalyzer ( const edm::ParameterSet pset) [inline]

Member Function Documentation

virtual void HcalPedestalsPopConAnalyzer::analyze ( const edm::Event ev,
const edm::EventSetup esetup 
) [inline, private, virtual]

Reimplemented from popcon::PopConAnalyzer< HcalPedestalsHandler >.

Definition at line 24 of file HcalPedestalsPopConAnalyzer.cc.

References edm::EventSetup::get(), myDBObject, and edm::ESHandle< T >::product().

  {
    //Using ES to get the data:

    edm::ESHandle<HcalPedestals> objecthandle;
    esetup.get<HcalPedestalsRcd>().get(objecthandle);
    myDBObject = new HcalPedestals(*objecthandle.product() );
  }
virtual void HcalPedestalsPopConAnalyzer::endJob ( void  ) [inline, private, virtual]
void HcalPedestalsPopConAnalyzer::write ( void  ) [inline, private]

Member Data Documentation

Reimplemented from popcon::PopConAnalyzer< HcalPedestalsHandler >.

Definition at line 36 of file HcalPedestalsPopConAnalyzer.cc.

Referenced by write().

Reimplemented from popcon::PopConAnalyzer< HcalPedestalsHandler >.

Definition at line 37 of file HcalPedestalsPopConAnalyzer.cc.

Referenced by endJob(), and write().

Definition at line 39 of file HcalPedestalsPopConAnalyzer.cc.

Referenced by analyze(), and endJob().