// FullFitter.h #ifndef FullFitter_H #define FullFitter_H // Fit all the hits on an HTrack. #include "trfbase/Algorithm.h" namespace trf { class HTrack; class FullFitter : public Algorithm { public: // static methods // Return the type name. static TypeName get_type_name() { return "FullFitter"; } // Return the creator. static ObjCreator get_creator(); // Return the type. static Type get_static_type() { return get_creator(); } public: // constructor FullFitter(); // destructor virtual ~FullFitter(); // Return the generic type. // This is only needed at this level. Type get_generic_type() const { return get_static_type(); } // fit the specified track virtual int fit(HTrack& trh) const =0; }; } // end namespace trf #endif