#include <tmp/CaloTowerHardcodeGeometryEP/interface/CaloTowerHardcodeGeometryEP.h>
Public Types | |
typedef std::auto_ptr < CaloSubdetectorGeometry > | ReturnType |
Public Member Functions | |
CaloTowerHardcodeGeometryEP (const edm::ParameterSet &) | |
ReturnType | produce (const IdealGeometryRecord &) |
~CaloTowerHardcodeGeometryEP () | |
Private Attributes | |
CaloTowerHardcodeGeometryLoader * | loader_ |
Implementation: <Notes on="" implementation>="">
Definition at line 21 of file CaloTowerHardcodeGeometryEP.h.
typedef std::auto_ptr<CaloSubdetectorGeometry> CaloTowerHardcodeGeometryEP::ReturnType |
Definition at line 26 of file CaloTowerHardcodeGeometryEP.h.
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 }
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 }
Definition at line 31 of file CaloTowerHardcodeGeometryEP.h.
Referenced by CaloTowerHardcodeGeometryEP(), produce(), and ~CaloTowerHardcodeGeometryEP().