CMS 3D CMS Logo

CaloTowerHardcodeGeometryEP Class Reference

Description: <one line="" class="" summary>="">. More...

#include <tmp/CaloTowerHardcodeGeometryEP/interface/CaloTowerHardcodeGeometryEP.h>

Inheritance diagram for CaloTowerHardcodeGeometryEP:

edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Types

typedef std::auto_ptr
< CaloSubdetectorGeometry
ReturnType

Public Member Functions

 CaloTowerHardcodeGeometryEP (const edm::ParameterSet &)
ReturnType produce (const IdealGeometryRecord &)
 ~CaloTowerHardcodeGeometryEP ()

Private Attributes

CaloTowerHardcodeGeometryLoaderloader_


Detailed Description

Description: <one line="" class="" summary>="">.

Implementation: <Notes on="" implementation>="">

Definition at line 21 of file CaloTowerHardcodeGeometryEP.h.


Member Typedef Documentation

typedef std::auto_ptr<CaloSubdetectorGeometry> CaloTowerHardcodeGeometryEP::ReturnType

Definition at line 26 of file CaloTowerHardcodeGeometryEP.h.


Constructor & Destructor Documentation

CaloTowerHardcodeGeometryEP::CaloTowerHardcodeGeometryEP ( const edm::ParameterSet iConfig  ) 

TODO : allow override of Topology.

Definition at line 33 of file CaloTowerHardcodeGeometryEP.cc.

References loader_, and edm::ESProducer::setWhatProduced().

00034 {
00035    //the following line is needed to tell the framework what
00036    // data is being produced
00037    setWhatProduced(this,"TOWER");
00038 
00039    //now do what ever other initialization is needed
00040    loader_=new CaloTowerHardcodeGeometryLoader(); 
00041 }

CaloTowerHardcodeGeometryEP::~CaloTowerHardcodeGeometryEP (  ) 

Definition at line 44 of file CaloTowerHardcodeGeometryEP.cc.

References loader_.

00045 { 
00046   delete loader_;
00047 }


Member Function Documentation

CaloTowerHardcodeGeometryEP::ReturnType CaloTowerHardcodeGeometryEP::produce ( const IdealGeometryRecord iRecord  ) 

Definition at line 56 of file CaloTowerHardcodeGeometryEP.cc.

References CaloTowerHardcodeGeometryLoader::load(), and loader_.

00057 {
00058    using namespace edm::es;
00059    std::auto_ptr<CaloSubdetectorGeometry> pCaloSubdetectorGeometry(loader_->load()) ;
00060 
00061    return pCaloSubdetectorGeometry ;
00062 }


Member Data Documentation

CaloTowerHardcodeGeometryLoader* CaloTowerHardcodeGeometryEP::loader_ [private]

Definition at line 31 of file CaloTowerHardcodeGeometryEP.h.

Referenced by CaloTowerHardcodeGeometryEP(), produce(), and ~CaloTowerHardcodeGeometryEP().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:15:59 2009 for CMSSW by  doxygen 1.5.4