CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoLocalTracker/SiStripRecHitConverter/plugins/StripCPEESProducer.h

Go to the documentation of this file.
00001 #ifndef RecoLocaltracker_SiStriprecHitConverter_StripCPEESProducer_h
00002 #define RecoLocaltracker_SiStriprecHitConverter_StripCPEESProducer_h
00003 
00004 #include "FWCore/Framework/interface/ESProducer.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 #include "RecoLocalTracker/Records/interface/TkStripCPERecord.h"
00007 #include "RecoLocalTracker/ClusterParameterEstimator/interface/StripClusterParameterEstimator.h"
00008 #include <boost/shared_ptr.hpp>
00009 #include <map>
00010 
00011 class  StripCPEESProducer: public edm::ESProducer {
00012 
00013  public:
00014 
00015   StripCPEESProducer(const edm::ParameterSet&);
00016   boost::shared_ptr<StripClusterParameterEstimator> produce(const TkStripCPERecord&);
00017 
00018  private:
00019 
00020   enum CPE_t { SIMPLE, TRACKANGLE, GEOMETRIC};
00021   std::map<std::string,CPE_t> enumMap; 
00022 
00023   CPE_t cpeNum;
00024   edm::ParameterSet pset;
00025   boost::shared_ptr<StripClusterParameterEstimator> cpe;
00026 
00027 };
00028 #endif
00029 
00030 
00031 
00032