// AddFitNull.h #ifndef AddFitNull_H #define AddFitNull_H // Fitter that throws an assertion if it is ever used. #include "AddFitter.h" namespace trf { class AddFitNull : public AddFitter { public: // static methods // Return the type name. static TypeName get_type_name() { return "AddFitNull"; } // Return the creator. static ObjCreator get_creator(); // Return the type. static Type get_static_type() { return get_creator(); } private: // methods // output stream void ostr(std::ostream& stream) const; public: // constructor AddFitNull(); // destructor virtual ~AddFitNull(); // Return the type. Type get_type() const { return get_static_type(); } // Write object data. ObjData write_data() const; // add a hit and fit with the new hit int add_hit_fit(ETrack& tre, double& chsq, const HitPtr& hit) const; }; } // end namespace trf #endif