00001 #ifndef RecoMuon_StandAloneTrackFinder_StandAloneMuonRefitter_H 00002 #define RecoMuon_StandAloneTrackFinder_StandAloneMuonRefitter_H 00003 00013 #include "FWCore/Framework/interface/ESHandle.h" 00014 #include "TrackingTools/PatternTools/interface/Trajectory.h" 00015 00016 namespace edm {class ParameterSet;} 00017 class MuonServiceProxy; 00018 class TrajectoryFitter; 00019 class Trajectory; 00020 00021 class StandAloneMuonRefitter { 00022 public: 00023 typedef std::pair<bool,Trajectory> RefitResult; 00024 00025 public: 00027 StandAloneMuonRefitter(const edm::ParameterSet& par, const MuonServiceProxy* service); 00028 00030 virtual ~StandAloneMuonRefitter(); 00031 00032 // Operations 00033 00035 RefitResult refit(const Trajectory&); 00036 00037 protected: 00038 00039 private: 00040 const MuonServiceProxy* theService; 00041 edm::ESHandle<TrajectoryFitter> theFitter; 00042 std::string theFitterName; 00043 int theTEMPORARYoption; 00044 }; 00045 #endif 00046