00001 #ifndef TrackingTools_ESProducers_TransientTrackBuilderESProducer_h 00002 #define TrackingTools_ESProducers_TransientTrackBuilderESProducer_h 00003 00004 #include "FWCore/Framework/interface/ESProducer.h" 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 00007 00008 #include "TrackingTools/Records/interface/TransientTrackRecord.h" 00009 #include "TrackingTools/TransientTrack/interface/TransientTrackBuilder.h" 00010 00011 #include <boost/shared_ptr.hpp> 00012 00013 class TransientTrackBuilderESProducer: public edm::ESProducer{ 00014 public: 00015 TransientTrackBuilderESProducer(const edm::ParameterSet & p); 00016 virtual ~TransientTrackBuilderESProducer(); 00017 boost::shared_ptr<TransientTrackBuilder> produce(const TransientTrackRecord &); 00018 private: 00019 boost::shared_ptr<TransientTrackBuilder> _builder; 00020 edm::ParameterSet pset_; 00021 }; 00022 00023 00024 #endif 00025 00026 00027 00028