CMS 3D CMS Logo

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

HcalElectronicsMapPopConAnalyzer Class Reference

Inheritance diagram for HcalElectronicsMapPopConAnalyzer:
popcon::PopConAnalyzer< HcalElectronicsMapHandler > edm::EDAnalyzer

List of all members.

Public Types

typedef HcalElectronicsMapHandler SourceHandler

Public Member Functions

 HcalElectronicsMapPopConAnalyzer (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
HcalElectronicsMapmyDBObject

Detailed Description

Definition at line 7 of file HcalElectronicsMapPopConAnalyzer.cc.


Member Typedef Documentation


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from popcon::PopConAnalyzer< HcalElectronicsMapHandler >.

Definition at line 24 of file HcalElectronicsMapPopConAnalyzer.cc.

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

  {
    //Using ES to get the data:

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

Member Data Documentation

Reimplemented from popcon::PopConAnalyzer< HcalElectronicsMapHandler >.

Definition at line 36 of file HcalElectronicsMapPopConAnalyzer.cc.

Referenced by write().

Reimplemented from popcon::PopConAnalyzer< HcalElectronicsMapHandler >.

Definition at line 37 of file HcalElectronicsMapPopConAnalyzer.cc.

Referenced by endJob(), and write().

Definition at line 39 of file HcalElectronicsMapPopConAnalyzer.cc.

Referenced by analyze(), and endJob().