00001 #ifndef ERFFITOBJECT_H
00002 #define ERFFITOBJECT_H
00003
00004 #include "TMath.h"
00005 #include "FitObject.h"
00006 #include "FitFunctions.h"
00007
00008 namespace SctData{
00009
00021 class ErfFitObject : public FitObject {
00022 public:
00024 ErfFitObject() throw() ;
00025
00027 ErfFitObject(const TF1& rootfunc) throw(LogicError) ;
00028
00029 virtual auto_ptr<FitObject> clone() const throw();
00030
00031
00032 virtual string getClassName() const throw() {return "SctData::ErfFitObject";}
00033
00035 virtual ~ErfFitObject() throw() {;}
00036
00038 ErfFitObject& operator=(const TF1& rootfunc) throw(LogicError) ;
00039 protected:
00043 virtual auto_ptr<TF1> makeBasicRootTF1() const throw(LogicError) ;
00047 void init() throw() ;
00048 };
00049
00050 }
00051
00052 #endif // #ifndef ERFFITOBJECT_H
00053