CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

CaloTowerHardcodeGeometryEP Class Reference

#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 CaloTowerGeometryRecord &)
 ~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

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().

{
   //the following line is needed to tell the framework what
   // data is being produced
   setWhatProduced(this,"TOWER");

   //now do what ever other initialization is needed
   loader_=new CaloTowerHardcodeGeometryLoader(); 
}
CaloTowerHardcodeGeometryEP::~CaloTowerHardcodeGeometryEP ( )

Definition at line 44 of file CaloTowerHardcodeGeometryEP.cc.

References loader_.

{ 
  delete loader_;
}

Member Function Documentation

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

Definition at line 56 of file CaloTowerHardcodeGeometryEP.cc.

References CaloTowerHardcodeGeometryLoader::load(), and loader_.

{
   std::auto_ptr<CaloSubdetectorGeometry> pCaloSubdetectorGeometry(loader_->load()) ;

   return pCaloSubdetectorGeometry ;
}

Member Data Documentation