CMS 3D CMS Logo

ZdcHardcodeGeometryEP.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: ZdcHardcodeGeometryEP
4 // Class: ZdcHardcodeGeometryEP
5 //
13 //
14 // Original Author: Edmundo Garcia
15 // Created: Mon Aug 6 12:33:33 CDT 2007
16 //
21 
23  : m_loader(nullptr), m_topology(), m_applyAlignment(ps.getUntrackedParameter<bool>("applyAlignment", false)) {
24  //the following line is needed to tell the framework what
25  // data is being produced
27 
28  // disable
29  // setWhatProduced( this,
30  // &ZdcHardcodeGeometryEP::produceIdeal,
31  // edm::es::Label( "ZDC" ) );
32 }
33 
35 
36 //
37 // member functions
38 //
39 
40 // ------------ method called to produce the data ------------
41 
43  // ZdcHardcodeGeometryLoader loader ( m_topology ) ;
45 
46  return ReturnType(m_loader->load());
47 }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:166
static std::string producerTag()
Definition: ZdcGeometry.h:44
ZdcHardcodeGeometryEP(const edm::ParameterSet &)
virtual ReturnType load(DetId::Detector det, int subdet)
ReturnType produce(const ZDCGeometryRecord &)
ZdcHardcodeGeometryLoader * m_loader
std::unique_ptr< CaloSubdetectorGeometry > ReturnType