CMS 3D CMS Logo

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

HcalPFCorrsPopConAnalyzer Class Reference

Inheritance diagram for HcalPFCorrsPopConAnalyzer:
popcon::PopConAnalyzer< HcalPFCorrsHandler > edm::EDAnalyzer edm::EDConsumerBase

List of all members.

Public Types

typedef HcalPFCorrsHandler SourceHandler

Public Member Functions

 HcalPFCorrsPopConAnalyzer (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
HcalPFCorrsmyDBObject

Detailed Description

Definition at line 7 of file HcalPFCorrsPopConAnalyzer.cc.


Member Typedef Documentation

Reimplemented from popcon::PopConAnalyzer< HcalPFCorrsHandler >.

Definition at line 10 of file HcalPFCorrsPopConAnalyzer.cc.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from popcon::PopConAnalyzer< HcalPFCorrsHandler >.

Definition at line 24 of file HcalPFCorrsPopConAnalyzer.cc.

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

  {
    //Using ES to get the data:

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

Member Data Documentation

Reimplemented from popcon::PopConAnalyzer< HcalPFCorrsHandler >.

Definition at line 36 of file HcalPFCorrsPopConAnalyzer.cc.

Referenced by write().

Reimplemented from popcon::PopConAnalyzer< HcalPFCorrsHandler >.

Definition at line 37 of file HcalPFCorrsPopConAnalyzer.cc.

Referenced by endJob(), and write().

Definition at line 39 of file HcalPFCorrsPopConAnalyzer.cc.

Referenced by analyze(), and endJob().