CMS 3D CMS Logo

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

CastorRecoParamsPopConAnalyzer Class Reference

Inheritance diagram for CastorRecoParamsPopConAnalyzer:
popcon::PopConAnalyzer< CastorRecoParamsHandler > edm::EDAnalyzer

List of all members.

Public Types

typedef CastorRecoParamsHandler SourceHandler

Public Member Functions

 CastorRecoParamsPopConAnalyzer (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
CastorRecoParamsmyDBObject

Detailed Description

Definition at line 7 of file CastorRecoParamsPopConAnalyzer.cc.


Member Typedef Documentation


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from popcon::PopConAnalyzer< CastorRecoParamsHandler >.

Definition at line 24 of file CastorRecoParamsPopConAnalyzer.cc.

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

  {
    //Using ES to get the data:

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

Member Data Documentation

Reimplemented from popcon::PopConAnalyzer< CastorRecoParamsHandler >.

Definition at line 36 of file CastorRecoParamsPopConAnalyzer.cc.

Referenced by write().

Reimplemented from popcon::PopConAnalyzer< CastorRecoParamsHandler >.

Definition at line 37 of file CastorRecoParamsPopConAnalyzer.cc.

Referenced by endJob(), and write().

Definition at line 39 of file CastorRecoParamsPopConAnalyzer.cc.

Referenced by analyze(), and endJob().