// AddFitCyl_Phi.h #ifndef AddFitCyl_Phi_H #define AddFitCyl_Phi_H // An add fitter to add a cylinder phi-measurement to a track // with no hits. // // ObjStream example: // // [ myfit AddFitCyl_Phi ] // #include "trffit/AddFitter.h" namespace trf { class AddFitCyl_Phi : public AddFitter { public: // static methods // Return the type name. static TypeName get_type_name() { return "AddFitCyl_Phi"; } // Return the creator. static ObjCreator get_creator(); // Return the type. static Type get_static_type() { return get_creator(); } private: // methods // ouput stream void ostr(std::ostream& stream) const; public: // methods // constructor AddFitCyl_Phi(); // destructor ~AddFitCyl_Phi(); // Return the type. Type get_type() const { return get_static_type(); } // Write the object data. ObjData write_data() const; // add the hit int add_hit(HTrack& trh, const HitPtr& phit) const; }; } // end namespace trf #endif