00001 #ifndef KfTrackProducerBase_h 00002 #define KfTrackProducerBase_h 00003 00012 #include "RecoTracker/TrackProducer/interface/TrackProducerBase.h" 00013 00014 #include "TrackingTools/TransientTrack/interface/TransientTrack.h" 00015 00016 class KfTrackProducerBase : public TrackProducerBase<reco::Track> { 00017 public: 00018 00020 explicit KfTrackProducerBase(bool trajectoryInEvent, bool split) : 00021 TrackProducerBase<reco::Track>(trajectoryInEvent),useSplitting(split) {} 00022 00024 virtual void putInEvt(edm::Event&, 00025 std::auto_ptr<TrackingRecHitCollection>&, 00026 std::auto_ptr<reco::TrackCollection>&, 00027 std::auto_ptr<reco::TrackExtraCollection>&, 00028 std::auto_ptr<std::vector<Trajectory> >&, 00029 AlgoProductCollection&); 00030 00031 private: 00032 bool useSplitting; 00033 00034 }; 00035 00036 #endif