Go to the documentation of this file.00001 #ifndef GEOMETRY_HCALEVENTSETUP_CALOTOWERHARDCODEGEOMETRYEP_H
00002 #define GEOMETRY_HCALEVENTSETUP_CALOTOWERHARDCODEGEOMETRYEP_H 1
00003
00004
00005 #include <memory>
00006 #include "boost/shared_ptr.hpp"
00007
00008
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
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
00031 CaloTowerHardcodeGeometryLoader* loader_;
00032 };
00033
00034
00035 #endif