CMS 3D CMS Logo

HcalDDDGeometryEP.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: HcalDDDGeometryEP
4 // Class: HcalDDDGeometryEP
5 //
13 //
14 // Original Author: Sunanda Banerjee
15 // Created: Thu Oct 20 11:35:27 CDT 2006
16 //
17 //
18 
22 
24  //the following line is needed to tell the framework what
25  // data is being produced
29 }
30 
31 // ------------ method called to produce the data ------------
33  edm::LogInfo("HCAL") << "Using default HCAL topology";
34  const auto& cons = iRecord.get(consToken_);
35  const auto& topology = iRecord.get(topologyToken_);
36 
38 
39  return ReturnType(loader.load(topology));
40 }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:166
uint32_t cc[maxCellsPerHit]
Definition: gpuFishbone.h:49
std::unique_ptr< CaloSubdetectorGeometry > ReturnType
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topologyToken_
ReturnType produceAligned(const HcalGeometryRecord &)
Log< level::Info, false > LogInfo
HcalDDDGeometryEP(const edm::ParameterSet &)
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > consToken_
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const