CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Geometry/HcalEventSetup/src/CaloTowerHardcodeGeometryEP.h

Go to the documentation of this file.
00001 #ifndef GEOMETRY_HCALEVENTSETUP_CALOTOWERHARDCODEGEOMETRYEP_H
00002 #define GEOMETRY_HCALEVENTSETUP_CALOTOWERHARDCODEGEOMETRYEP_H 1
00003 
00004 // system include files
00005 #include <memory>
00006 #include "boost/shared_ptr.hpp"
00007 
00008 // user include files
00009 #include "FWCore/Framework/interface/ModuleFactory.h"
00010 #include "FWCore/Framework/interface/ESProducer.h"
00011 
00012 #include "FWCore/Framework/interface/ESHandle.h"
00013 #include "Geometry/Records/interface/CaloTowerGeometryRecord.h"
00014 #include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
00015 #include "Geometry/HcalTowerAlgo/interface/CaloTowerHardcodeGeometryLoader.h"
00016 
00017 //
00018 // class decleration
00019 //
00020 
00021 class CaloTowerHardcodeGeometryEP : public edm::ESProducer {
00022    public:
00023       CaloTowerHardcodeGeometryEP(const edm::ParameterSet&);
00024       ~CaloTowerHardcodeGeometryEP();
00025 
00026       typedef std::auto_ptr<CaloSubdetectorGeometry> ReturnType;
00027 
00028       ReturnType produce(const CaloTowerGeometryRecord&);
00029 private:
00030       // ----------member data ---------------------------
00031   CaloTowerHardcodeGeometryLoader* loader_;
00032 };
00033 
00034 
00035 #endif