Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

WWFitterFast.h

Go to the documentation of this file.
00001 
00002 // Class WWFitterFast
00003 //
00004 // Author: Jenny Boehme
00005 // Last update: $Date: 2005/01/12 10:11:46 $
00006 //          by: $Author: blist $
00007 // 
00008 // Description: kinematic fit a la WWFGO
00009 //               
00011 
00012 #ifndef __WWFITTERFAST_H
00013 #define __WWFITTERFAST_H
00014 
00015 #include<vector>
00016 #include"jbltools/kinfit/BaseFitter.h"
00017 
00018 class BaseFitObject;
00019 class BaseConstraint;
00020 
00021 class WWFitterFast : public BaseFitter {
00022   public:
00023     WWFitterFast();
00024     virtual ~WWFitterFast();
00025     virtual double fit();
00026     virtual int getError() const;
00027     virtual double getProbability() const;
00028     virtual double getChi2() const;
00029     virtual int  getIterations() const;
00030   
00031   protected:
00032     virtual bool initialize();
00033     virtual bool updateFitObjects (double eta[]);
00034     enum {NPARMAX=50, NCONMAX=10, NUNMMAX=10};
00035     
00036     int npar;      // total number of parameters
00037     int nmea;      // total number of measured parameters
00038     int nunm;      // total number of unmeasured parameters
00039     int ncon;      // total number of constraints
00040     int ierr;      // Error status
00041     int nit;       // Number of iterations
00042 
00043     double fitprob;   // fit probability
00044     double chi2;      // final chi2
00045 };
00046 
00047 #endif // __WWFITTERFAST_H

Generated on Fri Sep 14 17:38:21 2007 for Kinfit by doxygen 1.3.2