CMS 3D CMS Logo

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

HcalRecoParamsPopConAnalyzer Class Reference

Inheritance diagram for HcalRecoParamsPopConAnalyzer:
popcon::PopConAnalyzer< HcalRecoParamsHandler > edm::EDAnalyzer

List of all members.

Public Types

typedef HcalRecoParamsHandler SourceHandler

Public Member Functions

 HcalRecoParamsPopConAnalyzer (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
HcalRecoParamsmyDBObject

Detailed Description

Definition at line 7 of file HcalRecoParamsPopConAnalyzer.cc.


Member Typedef Documentation


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from popcon::PopConAnalyzer< HcalRecoParamsHandler >.

Definition at line 24 of file HcalRecoParamsPopConAnalyzer.cc.

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

  {
    //Using ES to get the data:

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

Member Data Documentation

Reimplemented from popcon::PopConAnalyzer< HcalRecoParamsHandler >.

Definition at line 36 of file HcalRecoParamsPopConAnalyzer.cc.

Referenced by write().

Reimplemented from popcon::PopConAnalyzer< HcalRecoParamsHandler >.

Definition at line 37 of file HcalRecoParamsPopConAnalyzer.cc.

Referenced by endJob(), and write().

Definition at line 39 of file HcalRecoParamsPopConAnalyzer.cc.

Referenced by analyze(), and endJob().