00001 #ifndef TrackProducer_h 00002 #define TrackProducer_h 00003 00012 #include "RecoTracker/TrackProducer/interface/KfTrackProducerBase.h" 00013 #include "RecoTracker/TrackProducer/interface/TrackProducerAlgorithm.h" 00014 00015 #include "TrackingTools/TransientTrack/interface/TransientTrack.h" 00016 00017 class TrackProducer : public KfTrackProducerBase, public edm::EDProducer { 00018 public: 00019 00021 explicit TrackProducer(const edm::ParameterSet& iConfig); 00022 00024 virtual void produce(edm::Event&, const edm::EventSetup&); 00025 00027 std::vector<reco::TransientTrack> getTransient(edm::Event&, const edm::EventSetup&); 00028 00029 // /// Put produced collections in the event 00030 // virtual void putInEvt(edm::Event&, 00031 // std::auto_ptr<TrackingRecHitCollection>&, 00032 // std::auto_ptr<TrackCollection>&, 00033 // std::auto_ptr<reco::TrackExtraCollection>&, 00034 // std::auto_ptr<std::vector<Trajectory> >&, 00035 // AlgoProductCollection&); 00036 00037 private: 00038 TrackProducerAlgorithm<reco::Track> theAlgo; 00039 00040 }; 00041 00042 #endif