#include <CastorHardcodeGeometryEP.h>
Public Types | |
typedef std::auto_ptr < CaloSubdetectorGeometry > | ReturnType |
Public Member Functions | |
CastorHardcodeGeometryEP (const edm::ParameterSet &) | |
ReturnType | produce (const CastorGeometryRecord &) |
~CastorHardcodeGeometryEP () | |
Private Attributes | |
CastorHardcodeGeometryLoader * | loader_ |
Definition at line 20 of file CastorHardcodeGeometryEP.h.
typedef std::auto_ptr<CaloSubdetectorGeometry> CastorHardcodeGeometryEP::ReturnType |
Definition at line 25 of file CastorHardcodeGeometryEP.h.
CastorHardcodeGeometryEP::CastorHardcodeGeometryEP | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 6 of file CastorHardcodeGeometryEP.cc.
References loader_, CastorGeometry::producerTag(), and edm::ESProducer::setWhatProduced().
{ //the following line is needed to tell the framework what // data is being produced setWhatProduced( this, CastorGeometry::producerTag() ); loader_=0; }
CastorHardcodeGeometryEP::~CastorHardcodeGeometryEP | ( | ) |
Definition at line 16 of file CastorHardcodeGeometryEP.cc.
References loader_.
CastorHardcodeGeometryEP::ReturnType CastorHardcodeGeometryEP::produce | ( | const CastorGeometryRecord & | iRecord | ) |
Definition at line 28 of file CastorHardcodeGeometryEP.cc.
References CastorHardcodeGeometryLoader::load(), and loader_.
{ loader_=new CastorHardcodeGeometryLoader(); std::auto_ptr<CaloSubdetectorGeometry> pCaloSubdetectorGeometry(loader_->load()) ; return pCaloSubdetectorGeometry ; }
Definition at line 30 of file CastorHardcodeGeometryEP.h.
Referenced by CastorHardcodeGeometryEP(), produce(), and ~CastorHardcodeGeometryEP().