00001 #ifndef ERFFITOBJECT_H
00002 #define ERFFITOBJECT_H
00003
00004 #include "FitObject.h"
00005
00006 namespace SctData{
00007
00019 class ErfFitObject : public FitObject {
00020 public:
00022 ErfFitObject() ;
00023
00025 ErfFitObject(const TF1& rootfunc);
00026
00027 virtual shared_ptr<FitObject> clone() const throw();
00028
00029
00030 virtual string getClassName() const throw() {return "SctData::ErfFitObject";}
00031
00033 virtual ~ErfFitObject() throw() {;}
00034
00036 ErfFitObject& operator=(const TF1& rootfunc) throw(LogicError) ;
00037 protected:
00041 virtual auto_ptr<TF1> makeBasicRootTF1() const throw(LogicError) ;
00042
00043 private:
00044 static vector<string> createParNames();
00045 static vector<string> parNames;
00046 };
00047
00048 }
00049
00050 #endif // #ifndef ERFFITOBJECT_H
00051