CMS 3D CMS Logo

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

CastorGainWidthsPopConAnalyzer Class Reference

Inheritance diagram for CastorGainWidthsPopConAnalyzer:
popcon::PopConAnalyzer< CastorGainWidthsHandler > edm::EDAnalyzer

List of all members.

Public Types

typedef CastorGainWidthsHandler SourceHandler

Public Member Functions

 CastorGainWidthsPopConAnalyzer (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
CastorGainWidthsmyDBObject

Detailed Description

Definition at line 7 of file CastorGainWidthsPopConAnalyzer.cc.


Member Typedef Documentation


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from popcon::PopConAnalyzer< CastorGainWidthsHandler >.

Definition at line 24 of file CastorGainWidthsPopConAnalyzer.cc.

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

  {
    //Using ES to get the data:

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

Member Data Documentation

Reimplemented from popcon::PopConAnalyzer< CastorGainWidthsHandler >.

Definition at line 36 of file CastorGainWidthsPopConAnalyzer.cc.

Referenced by write().

Reimplemented from popcon::PopConAnalyzer< CastorGainWidthsHandler >.

Definition at line 37 of file CastorGainWidthsPopConAnalyzer.cc.

Referenced by endJob(), and write().

Definition at line 39 of file CastorGainWidthsPopConAnalyzer.cc.

Referenced by analyze(), and endJob().