CMS 3D CMS Logo

ZdcHardcodeGeometryEP.h

Go to the documentation of this file.
00001 #ifndef Geometry_ForwardGeometry_ZdcHardcodeGeometryEP_H
00002 #define Geometry_ForwardGeometry_ZdcHardcodeGeometryEP_H 1
00003 
00004 
00005 // system include files
00006 #include <memory>
00007 #include "boost/shared_ptr.hpp"
00008 
00009 // user include files
00010 #include "FWCore/Framework/interface/ModuleFactory.h"
00011 #include "FWCore/Framework/interface/ESProducer.h"
00012 #include "FWCore/Framework/interface/ESHandle.h"
00013 #include "Geometry/Records/interface/ZDCGeometryRecord.h"
00014 #include "Geometry/Records/interface/IdealGeometryRecord.h"
00015 #include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
00016 #include "Geometry/ForwardGeometry/interface/ZdcHardcodeGeometryLoader.h"
00017 
00018 //
00019 // class decleration
00020 //
00021 
00022 class ZdcHardcodeGeometryEP : public edm::ESProducer 
00023 {
00024    public:
00025       ZdcHardcodeGeometryEP(const edm::ParameterSet&);
00026       ~ZdcHardcodeGeometryEP();
00027 
00028       typedef boost::shared_ptr<CaloSubdetectorGeometry> ReturnType;
00029 
00030       ReturnType produceAligned( const ZDCGeometryRecord&   ) ;
00031       ReturnType produceIdeal(   const IdealGeometryRecord& ) ;
00032 
00033       void       idealRecordCallBack( const IdealGeometryRecord& );
00034 
00035    private:
00036 
00037       // ----------member data ---------------------------
00038 
00039       ZdcHardcodeGeometryLoader* m_loader ;
00040 
00041       ZdcTopology m_topology ;
00042 
00043       bool m_applyAlignment ;
00044 };
00045 
00046 
00047 
00048 #endif

Generated on Tue Jun 9 17:37:29 2009 for CMSSW by  doxygen 1.5.4