GausFitObject.h

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();
00024 
00026     GausFitObject(const TF1& rootfunc);
00027     
00028     virtual shared_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     std::auto_ptr<TF1> makeBasicRootTF1() const throw(LogicError);
00041     
00042 private:
00043     static std::vector<std::string> createParNames();
00044     static std::vector<std::string> parNames;    
00045 };
00046 
00047 } // end of namespace SctData
00048 #endif // #ifndef GAUSFITOBJECT_H

Generated on Mon Feb 6 14:01:21 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6