CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/Geometry/HcalEventSetup/interface/HcalTopologyIdealEP.h

Go to the documentation of this file.
00001 #ifndef GEOMETRY_HCALEVENTSETUP_HCALTOPOLOGYIDEALEP_H
00002 #define GEOMETRY_HCALEVENTSETUP_HCALTOPOLOGYIDEALEP_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 
00013 #include "FWCore/Framework/interface/ESHandle.h"
00014 #include "Geometry/Records/interface/IdealGeometryRecord.h"
00015 #include "Geometry/CaloTopology/interface/HcalTopology.h"
00016 
00017 //
00018 // class decleration
00019 //
00020 
00021 class HcalTopologyIdealEP : public edm::ESProducer {
00022    public:
00023       HcalTopologyIdealEP(const edm::ParameterSet&);
00024       ~HcalTopologyIdealEP();
00025 
00026       typedef boost::shared_ptr<HcalTopology> ReturnType;
00027 
00028       ReturnType produce(const IdealGeometryRecord&);
00029 private:
00030       // ----------member data ---------------------------
00031   std::string m_restrictions;
00032   bool m_h2mode;
00033 };
00034 
00035 
00036 
00037 #endif