00001 #ifndef GsfTrackRefitter_h 00002 #define GsfTrackRefitter_h 00003 00008 #include "RecoTracker/TrackProducer/interface/GsfTrackProducerBase.h" 00009 #include "RecoTracker/TrackProducer/interface/TrackProducerAlgorithm.h" 00010 00011 class GsfTrackRefitter : public GsfTrackProducerBase, public edm::EDProducer { 00012 public: 00013 00015 explicit GsfTrackRefitter(const edm::ParameterSet& iConfig); 00016 00018 virtual void produce(edm::Event&, const edm::EventSetup&); 00019 00020 private: 00021 TrackProducerAlgorithm<reco::GsfTrack> theAlgo; 00022 enum Constraint { none, 00023 // momentum, 00024 vertex }; 00025 Constraint constraint_; 00026 }; 00027 00028 #endif