CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/FastSimulation/TrackingRecHitProducer/plugins/FastStripCPEESProducer.cc

Go to the documentation of this file.
00001 #include "FastSimulation/TrackingRecHitProducer/interface/FastStripCPEESProducer.h"
00002 #include "FastSimulation/TrackingRecHitProducer/interface/FastStripCPE.h"
00003 
00004 #include <string>
00005 #include <memory>
00006 
00007 using namespace edm;
00008 
00009 FastStripCPEESProducer::FastStripCPEESProducer(const edm::ParameterSet & p) 
00010 {
00011   std::string myname = p.getParameter<std::string>("ComponentName");
00012   pset_ = p;
00013   setWhatProduced(this,myname);
00014 }
00015 
00016 FastStripCPEESProducer::~FastStripCPEESProducer() {}
00017 
00018 boost::shared_ptr<StripClusterParameterEstimator> 
00019 FastStripCPEESProducer::produce(const TkStripCPERecord & iRecord){ 
00020   
00021   _cpe  = boost::shared_ptr<StripClusterParameterEstimator>(new FastStripCPE());
00022   
00023   return _cpe;
00024 }