CMS 3D CMS Logo

CastorHardcodeGeometryEP.cc
Go to the documentation of this file.
4 
6  //the following line is needed to tell the framework what
7  // data is being produced
9 
10  loader_ = nullptr;
11 }
12 
14  if (loader_)
15  delete loader_;
16 }
17 
18 //
19 // member functions
20 //
21 
22 // ------------ method called to produce the data ------------
25  return std::unique_ptr<CaloSubdetectorGeometry>(loader_->load());
26 }
CastorHardcodeGeometryEP::CastorHardcodeGeometryEP
CastorHardcodeGeometryEP(const edm::ParameterSet &)
Definition: CastorHardcodeGeometryEP.cc:5
MessageLogger.h
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
CastorGeometry::producerTag
static std::string producerTag()
Definition: CastorGeometry.h:48
CastorHardcodeGeometryLoader
Definition: CastorHardcodeGeometryLoader.h:11
CastorHardcodeGeometryEP::ReturnType
std::unique_ptr< CaloSubdetectorGeometry > ReturnType
Definition: CastorHardcodeGeometryEP.h:23
CastorGeometryRecord
Definition: CastorGeometryRecord.h:23
CastorHardcodeGeometryLoader::load
virtual std::unique_ptr< CaloSubdetectorGeometry > load(DetId::Detector det, int subdet)
Definition: CastorHardcodeGeometryLoader.cc:31
CastorHardcodeGeometryEP::produce
ReturnType produce(const CastorGeometryRecord &)
Definition: CastorHardcodeGeometryEP.cc:23
CastorHardcodeGeometryEP.h
edm::ParameterSet
Definition: ParameterSet.h:47
CastorHardcodeGeometryEP::loader_
CastorHardcodeGeometryLoader * loader_
Definition: CastorHardcodeGeometryEP.h:29
CastorHardcodeGeometryEP::~CastorHardcodeGeometryEP
~CastorHardcodeGeometryEP() override
Definition: CastorHardcodeGeometryEP.cc:13
CastorGeometry.h