00001 #ifndef FITOBJECTIOHELPER_H 00002 #define FITOBJECTIOHELPER_H 00003 00004 #include "FitObject.h" 00005 00006 namespace SctData { 00007 00008 class FitObjectIOHelper { 00009 public: 00010 void set(FitObject& ob) const throw() ; 00011 void setChiSquared(const double c) const throw(); 00012 void setNDF(const int d) const throw(LogicError) ; 00013 void setFormula(char const* f) const throw() ; 00014 void setNDim(const int n) const throw(LogicError) ; 00015 void setNPar(const int npar) const throw(LogicError) ; 00016 00017 00018 private: 00019 mutable FitObject* ob; 00020 }; 00021 } 00022 #endif //#ifndef FITOBJECTIOHELPER_H