#include <ZdcHardcodeGeometryEP.h>
Public Types | |
typedef boost::shared_ptr < CaloSubdetectorGeometry > | ReturnType |
Public Member Functions | |
ReturnType | produce (const ZDCGeometryRecord &) |
ZdcHardcodeGeometryEP (const edm::ParameterSet &) | |
~ZdcHardcodeGeometryEP () | |
Private Attributes | |
bool | m_applyAlignment |
ZdcHardcodeGeometryLoader * | m_loader |
ZdcTopology | m_topology |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 21 of file ZdcHardcodeGeometryEP.h.
typedef boost::shared_ptr<CaloSubdetectorGeometry> ZdcHardcodeGeometryEP::ReturnType |
Definition at line 27 of file ZdcHardcodeGeometryEP.h.
ZdcHardcodeGeometryEP::ZdcHardcodeGeometryEP | ( | const edm::ParameterSet & | ps | ) |
Definition at line 24 of file ZdcHardcodeGeometryEP.cc.
References ZdcGeometry::producerTag(), and edm::ESProducer::setWhatProduced().
: m_loader (0), m_topology () , m_applyAlignment ( ps.getUntrackedParameter<bool>("applyAlignment", false) ) { //the following line is needed to tell the framework what // data is being produced setWhatProduced( this, ZdcGeometry::producerTag() ); // disable // setWhatProduced( this, // &ZdcHardcodeGeometryEP::produceIdeal, // edm::es::Label( "ZDC" ) ); }
ZdcHardcodeGeometryEP::~ZdcHardcodeGeometryEP | ( | ) |
ZdcHardcodeGeometryEP::ReturnType ZdcHardcodeGeometryEP::produce | ( | const ZDCGeometryRecord & | iRecord | ) |
Definition at line 54 of file ZdcHardcodeGeometryEP.cc.
References ZdcHardcodeGeometryLoader::load(), m_loader, and m_topology.
{ // ZdcHardcodeGeometryLoader loader ( m_topology ) ; m_loader = new ZdcHardcodeGeometryLoader( m_topology ) ; ReturnType ptr ( m_loader->load() ) ; return ptr ; }
bool ZdcHardcodeGeometryEP::m_applyAlignment [private] |
Definition at line 39 of file ZdcHardcodeGeometryEP.h.
Definition at line 35 of file ZdcHardcodeGeometryEP.h.
Referenced by produce(), and ~ZdcHardcodeGeometryEP().
ZdcTopology ZdcHardcodeGeometryEP::m_topology [private] |
Definition at line 37 of file ZdcHardcodeGeometryEP.h.
Referenced by produce().