CMS 3D CMS Logo

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

HcalDcsMapPopConAnalyzer Class Reference

Inheritance diagram for HcalDcsMapPopConAnalyzer:
popcon::PopConAnalyzer< HcalDcsMapHandler > edm::EDAnalyzer

List of all members.

Public Types

typedef HcalDcsMapHandler SourceHandler

Public Member Functions

 HcalDcsMapPopConAnalyzer (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
HcalDcsMapmyDBObject

Detailed Description

Definition at line 7 of file HcalDcsMapPopConAnalyzer.cc.


Member Typedef Documentation

Reimplemented from popcon::PopConAnalyzer< HcalDcsMapHandler >.

Definition at line 10 of file HcalDcsMapPopConAnalyzer.cc.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from popcon::PopConAnalyzer< HcalDcsMapHandler >.

Definition at line 24 of file HcalDcsMapPopConAnalyzer.cc.

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

  {
    //Using ES to get the data:

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

Reimplemented from popcon::PopConAnalyzer< HcalDcsMapHandler >.

Definition at line 33 of file HcalDcsMapPopConAnalyzer.cc.

References m_populator, m_source, and popcon::PopCon::write().

Referenced by endJob().


Member Data Documentation

Reimplemented from popcon::PopConAnalyzer< HcalDcsMapHandler >.

Definition at line 36 of file HcalDcsMapPopConAnalyzer.cc.

Referenced by write().

Reimplemented from popcon::PopConAnalyzer< HcalDcsMapHandler >.

Definition at line 37 of file HcalDcsMapPopConAnalyzer.cc.

Referenced by endJob(), and write().

Definition at line 39 of file HcalDcsMapPopConAnalyzer.cc.

Referenced by analyze(), and endJob().