00001 00002 // Class NewtonFitter 00003 // 00004 // Author: Benno List 00005 // Last update: $Date: 2004/06/01 16:40:10 $ 00006 // by: $Author: blist $ 00007 // 00008 // Description: kinematic fit using Newton method 00009 // 00011 00012 #ifndef __NEWTONFITTER_H 00013 #define __NEWTONFITTER_H 00014 00015 #include<vector> 00016 #include"jbltools/kinfit/BaseFitter.h" 00017 00018 class BaseFitObject; 00019 class BaseConstraint; 00020 00021 class NewtonFitter : public BaseFitter { 00022 public: 00023 NewtonFitter(); 00024 virtual ~NewtonFitter(); 00025 virtual double fit(); 00026 00027 protected: 00028 virtual bool initialize(); 00029 enum {NPARMAX=50, NCONMAX=10, NUNMMAX=10}; 00030 00031 int npar; // total number of parameters 00032 int ncon; // total number of constraints 00033 00034 }; 00035 00036 #endif // __NEWTONFITTER_H