00001 #ifndef GAUSFITOBJECT_H
00002 #define GAUSFITOBJECT_H
00003
00004 #include "FitObject.h"
00005
00006 using namespace Sct;
00007
00008 namespace SctData{
00009
00020 class GausFitObject : public FitObject {
00021 public:
00023 GausFitObject() throw() ;
00024
00026 GausFitObject(const TF1& rootfunc) throw(LogicError) ;
00027
00028 virtual auto_ptr<FitObject> clone() const throw();
00029
00031 virtual ~GausFitObject() throw() {;}
00032
00033 virtual string getClassName() const throw() {return "SctData::GausFitObject";}
00034
00036 GausFitObject& operator= (const TF1& ) throw(LogicError) ;
00037
00038 protected:
00040 auto_ptr<TF1> makeBasicRootTF1() const throw(LogicError);
00041
00043 void init() throw() ;
00044 };
00045
00046 }
00047 #endif // #ifndef GAUSFITOBJECT_H