CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
22 
24  m_loader (0),
25  m_topology () ,
26  m_applyAlignment ( ps.getUntrackedParameter<bool>("applyAlignment", false) )
27 {
28  //the following line is needed to tell the framework what
29  // data is being produced
30  setWhatProduced( this,
32 
33 // disable
34 // setWhatProduced( this,
35 // &ZdcHardcodeGeometryEP::produceIdeal,
36 // edm::es::Label( "ZDC" ) );
37 }
38 
39 
41 {
42  delete m_loader ;
43 }
44 
45 
46 //
47 // member functions
48 //
49 
50 // ------------ method called to produce the data ------------
51 
54 {
55 // ZdcHardcodeGeometryLoader loader ( m_topology ) ;
57 
58  ReturnType ptr ( m_loader->load() ) ;
59 
60  return ptr ;
61 }
62 
63 
static std::string producerTag()
Definition: ZdcGeometry.h:46
ZdcHardcodeGeometryEP(const edm::ParameterSet &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
virtual ReturnType load(DetId::Detector det, int subdet)
ReturnType produce(const ZDCGeometryRecord &)
ZdcHardcodeGeometryLoader * m_loader
boost::shared_ptr< CaloSubdetectorGeometry > ReturnType
volatile std::atomic< bool > shutdown_flag false