CMS 3D CMS Logo

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

HcalCovarianceMatricesPopConAnalyzer Class Reference

Inheritance diagram for HcalCovarianceMatricesPopConAnalyzer:
popcon::PopConAnalyzer< HcalCovarianceMatricesHandler > edm::EDAnalyzer edm::EDConsumerBase

List of all members.

Public Types

typedef
HcalCovarianceMatricesHandler 
SourceHandler

Public Member Functions

 HcalCovarianceMatricesPopConAnalyzer (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
HcalCovarianceMatricesmyDBObject

Detailed Description

Definition at line 7 of file HcalCovarianceMatricesPopConAnalyzer.cc.


Member Typedef Documentation


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from popcon::PopConAnalyzer< HcalCovarianceMatricesHandler >.

Definition at line 24 of file HcalCovarianceMatricesPopConAnalyzer.cc.

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

  {
    //Using ES to get the data:

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

Member Data Documentation

Reimplemented from popcon::PopConAnalyzer< HcalCovarianceMatricesHandler >.

Definition at line 37 of file HcalCovarianceMatricesPopConAnalyzer.cc.

Referenced by endJob(), and write().

Definition at line 39 of file HcalCovarianceMatricesPopConAnalyzer.cc.

Referenced by analyze(), and endJob().