00001 #ifndef DAFTrackProducer_h 00002 #define DAFTrackProducer_h 00003 00004 #include "RecoTracker/TrackProducer/interface/KfTrackProducerBase.h" 00005 #include "RecoTracker/TrackProducer/interface/DAFTrackProducerAlgorithm.h" 00006 #include "TrackingTools/PatternTools/interface/Trajectory.h" 00007 00008 class DAFTrackProducer : public KfTrackProducerBase, public edm::EDProducer { 00009 public: 00010 typedef std::vector<Trajectory> TrajectoryCollection; 00012 explicit DAFTrackProducer(const edm::ParameterSet& iConfig); 00013 00015 virtual void produce(edm::Event&, const edm::EventSetup&); 00016 00017 private: 00018 DAFTrackProducerAlgorithm theAlgo; 00019 void getFromEvt(edm::Event&, edm::Handle<TrajectoryCollection>&, reco::BeamSpot&); 00020 }; 00021 00022 #endif