CMS 3D CMS Logo

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

HcalPedestalWidthsPopConAnalyzer Class Reference

Inheritance diagram for HcalPedestalWidthsPopConAnalyzer:
popcon::PopConAnalyzer< HcalPedestalWidthsHandler > edm::EDAnalyzer

List of all members.

Public Types

typedef HcalPedestalWidthsHandler SourceHandler

Public Member Functions

 HcalPedestalWidthsPopConAnalyzer (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
HcalPedestalWidthsmyDBObject

Detailed Description

Definition at line 7 of file HcalPedestalWidthsPopConAnalyzer.cc.


Member Typedef Documentation


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from popcon::PopConAnalyzer< HcalPedestalWidthsHandler >.

Definition at line 24 of file HcalPedestalWidthsPopConAnalyzer.cc.

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

  {
    //Using ES to get the data:

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

Member Data Documentation

Reimplemented from popcon::PopConAnalyzer< HcalPedestalWidthsHandler >.

Definition at line 36 of file HcalPedestalWidthsPopConAnalyzer.cc.

Referenced by write().

Reimplemented from popcon::PopConAnalyzer< HcalPedestalWidthsHandler >.

Definition at line 37 of file HcalPedestalWidthsPopConAnalyzer.cc.

Referenced by endJob(), and write().

Definition at line 39 of file HcalPedestalWidthsPopConAnalyzer.cc.

Referenced by analyze(), and endJob().