CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_6/src/L1TriggerConfig/L1GeometryProducers/interface/L1CaloGeometryProd.h

Go to the documentation of this file.
00001 #ifndef L1GeometryProducers_L1CaloGeometryProd_h
00002 #define L1GeometryProducers_L1CaloGeometryProd_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     L1GeometryProducers
00006 // Class  :     L1CaloGeometryProd
00007 // 
00016 //
00017 // Original Author:  Werner Sun
00018 //         Created:  Tue Oct 24 00:01:12 EDT 2006
00019 // $Id: L1CaloGeometryProd.h,v 1.2 2008/04/18 00:01:00 wsun Exp $
00020 //
00021 
00022 // system include files
00023 
00024 // user include files
00025 #include "FWCore/Framework/interface/ModuleFactory.h"
00026 #include "FWCore/Framework/interface/ESProducer.h"
00027 #include "FWCore/Framework/interface/ESHandle.h"
00028 
00029 #include "CondFormats/L1TObjects/interface/L1CaloGeometry.h"
00030 #include "CondFormats/DataRecord/interface/L1CaloGeometryRecord.h"
00031 
00032 // forward declarations
00033 
00034 class L1CaloGeometryProd : public edm::ESProducer {
00035    public:
00036       L1CaloGeometryProd(const edm::ParameterSet&);
00037       ~L1CaloGeometryProd();
00038 
00039       typedef std::auto_ptr<L1CaloGeometry> ReturnType;
00040 
00041       ReturnType produce(const L1CaloGeometryRecord&);
00042    private:
00043       // ----------member data ---------------------------
00044       L1CaloGeometry m_geom ;
00045 };
00046 
00047 
00048 #endif