00001 #ifndef RecoTracker_CkfPattern_CkfTrajectoryBuilderESProducer_h 00002 #define RecoTracker_CkfPattern_CkfTrajectoryBuilderESProducer_h 00003 00004 #include "FWCore/Framework/interface/ESProducer.h" 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 #include "RecoTracker/Record/interface/CkfComponentsRecord.h" 00007 #include "TrackingTools/PatternTools/interface/TrajectoryBuilder.h" 00008 #include <boost/shared_ptr.hpp> 00009 00010 class CkfTrajectoryBuilderESProducer: public edm::ESProducer{ 00011 public: 00012 CkfTrajectoryBuilderESProducer(const edm::ParameterSet & p); 00013 virtual ~CkfTrajectoryBuilderESProducer(); 00014 boost::shared_ptr<TrajectoryBuilder> produce(const CkfComponentsRecord &); 00015 private: 00016 boost::shared_ptr<TrajectoryBuilder> _trajectoryBuilder; 00017 edm::ParameterSet pset_; 00018 }; 00019 00020 #endif