CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoTracker/RoadMapMakerESProducer/interface/RoadMapMakerESProducer.h

Go to the documentation of this file.
00001 #ifndef RECOTRACKER_ROADMAPMAKERESPRODUCER_H
00002 #define RECOTRACKER_ROADMAPMAKERESPRODUCER_H
00003 
00004 //
00005 // Package:         RecoTracker/RoadMapMakerESProducer
00006 // Class:           RoadMapMakerESProducer
00007 // 
00008 // Description:     Uses the RoadMaker object to construct
00009 //                  and provide a Roads object.
00010 //
00011 // Original Author: Oliver Gutsche, gutsche@fnal.gov
00012 // Created:         Thu Jan 12 21:00:00 UTC 2006
00013 //
00014 // $Author: gutsche $
00015 // $Date: 2007/03/15 20:17:22 $
00016 // $Revision: 1.6 $
00017 //
00018 
00019 // system include files
00020 #include <memory>
00021 #include <string>
00022 
00023 // user include files
00024 #include "FWCore/Framework/interface/ModuleFactory.h"
00025 #include "FWCore/Framework/interface/ESProducer.h"
00026 #include "FWCore/Framework/interface/ESHandle.h"
00027 
00028 #include "RecoTracker/RoadMapMakerESProducer/interface/RoadMaker.h"
00029 
00030 #include "RecoTracker/RoadMapRecord/interface/RoadMapRecord.h"
00031 #include "RecoTracker/RoadMapRecord/interface/Roads.h"
00032 
00033 class RoadMapMakerESProducer : public edm::ESProducer {
00034 
00035  public:
00036 
00037   RoadMapMakerESProducer(const edm::ParameterSet&);
00038   ~RoadMapMakerESProducer();
00039 
00040   typedef std::auto_ptr<Roads> ReturnType;
00041 
00042   ReturnType produce(const RoadMapRecord&);
00043 
00044  private:
00045 
00046   bool writeOut_;
00047   std::string fileName_;
00048 
00049   RoadMaker::GeometryStructure geometryStructure_;
00050   RoadMaker::SeedingType       seedingType_;
00051 
00052   std::string ringsLabel_;
00053 
00054   Roads *roads_;
00055   
00056 };
00057 
00058 #endif