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 }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:166
std::unique_ptr< CaloSubdetectorGeometry > ReturnType
CastorHardcodeGeometryEP(const edm::ParameterSet &)
ReturnType produce(const CastorGeometryRecord &)
static std::string producerTag()
CastorHardcodeGeometryLoader * loader_
virtual std::unique_ptr< CaloSubdetectorGeometry > load(DetId::Detector det, int subdet)