CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/FastSimulation/TrackingRecHitProducer/plugins/FastPixelCPEESProducer.cc

Go to the documentation of this file.
00001 #include "FastSimulation/TrackingRecHitProducer/interface/FastPixelCPEESProducer.h"
00002 #include "FastSimulation/TrackingRecHitProducer/interface/FastPixelCPE.h"
00003 
00004 #include "FWCore/Framework/interface/EventSetup.h"
00005 #include "FWCore/Framework/interface/ESHandle.h"
00006 #include "FWCore/Framework/interface/ModuleFactory.h"
00007 #include "FWCore/Framework/interface/ESProducer.h"
00008 
00009 
00010 
00011 #include <string>
00012 #include <memory>
00013 
00014 using namespace edm;
00015 
00016 FastPixelCPEESProducer::FastPixelCPEESProducer(const edm::ParameterSet & p) 
00017 {
00018   std::string myname = p.getParameter<std::string>("ComponentName");
00019   pset_ = p;
00020   setWhatProduced(this,myname);
00021 }
00022 
00023 FastPixelCPEESProducer::~FastPixelCPEESProducer() {}
00024 
00025 boost::shared_ptr<PixelClusterParameterEstimator>
00026 FastPixelCPEESProducer::produce(const TkPixelCPERecord & iRecord){ 
00027   
00028   cpe_  = boost::shared_ptr<PixelClusterParameterEstimator>(new FastPixelCPE() );
00029 
00030   return cpe_;
00031 }
00032 
00033