CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/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 #include "FWCore/Framework/interface/DependentRecordImplementation.h"
00011 #include "CalibTracker/Records/interface/SiStripDependentRecords.h"
00012 #include "CalibTracker/SiStripESProducers/plugins/real/SiStripLorentzAngleDepESProducer.h"
00013 
00014 class  StripCPEESProducer: public edm::ESProducer {
00015 
00016  public:
00017 
00018   StripCPEESProducer(const edm::ParameterSet&);
00019   boost::shared_ptr<StripClusterParameterEstimator> produce(const TkStripCPERecord&);
00020 
00021  private:
00022 
00023   enum CPE_t { SIMPLE, TRACKANGLE, GEOMETRIC, TEMPLATE};
00024   std::map<std::string,CPE_t> enumMap; 
00025 
00026   CPE_t cpeNum;
00027   edm::ParameterSet pset;
00028   boost::shared_ptr<StripClusterParameterEstimator> cpe;
00029 
00030 };
00031 #endif
00032 
00033 
00034 
00035