00001 #ifndef TrackRefitter_h 00002 #define TrackRefitter_h 00003 00012 #include "RecoTracker/TrackProducer/interface/KfTrackProducerBase.h" 00013 #include "RecoTracker/TrackProducer/interface/TrackProducerAlgorithm.h" 00014 00015 class TrackRefitter : public KfTrackProducerBase, public edm::EDProducer { 00016 public: 00017 00019 explicit TrackRefitter(const edm::ParameterSet& iConfig); 00020 00022 virtual void produce(edm::Event&, const edm::EventSetup&); 00023 00024 private: 00025 TrackProducerAlgorithm<reco::Track> theAlgo; 00026 enum Constraint { none, momentum, vertex, trackParameters }; 00027 Constraint constraint_; 00028 edm::InputTag trkconstrcoll_; 00029 00030 }; 00031 00032 #endif