Changeset 1204 in Sophya for trunk/SophyaLib/NTools/objfitter.h
- Timestamp:
- Sep 29, 2000, 12:15:55 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/objfitter.h
r1110 r1204 22 22 public: 23 23 // Residus et fonction fittees sur matrix 24 static TMatrix<int_4> FitResidus(TMatrix<int_4> const & mtx, GeneralFit& gfit, 25 double xorg=0.,double yorg=0.,double dx=1.,double dy=1.); 24 26 static TMatrix<r_4> FitResidus(TMatrix<r_4> const & mtx, GeneralFit& gfit, 25 27 double xorg=0.,double yorg=0.,double dx=1.,double dy=1.); 26 28 static TMatrix<r_8> FitResidus(TMatrix<r_8> const & mtx, GeneralFit& gfit, 29 double xorg=0.,double yorg=0.,double dx=1.,double dy=1.); 30 static TMatrix< complex<r_4> > FitResidus(TMatrix< complex<r_4> > const & mtx, GeneralFit& gfit, 31 double xorg=0.,double yorg=0.,double dx=1.,double dy=1.); 32 static TMatrix< complex<r_8> > FitResidus(TMatrix< complex<r_8> > const & mtx, GeneralFit& gfit, 33 double xorg=0.,double yorg=0.,double dx=1.,double dy=1.); 34 35 static TMatrix<int_4> FitFunction(TMatrix<int_4> const & mtx, GeneralFit& gfit, 27 36 double xorg=0.,double yorg=0.,double dx=1.,double dy=1.); 28 37 static TMatrix<r_4> FitFunction(TMatrix<r_4> const & mtx, GeneralFit& gfit, … … 30 39 static TMatrix<r_8> FitFunction(TMatrix<r_8> const & mtx, GeneralFit& gfit, 31 40 double xorg=0.,double yorg=0.,double dx=1.,double dy=1.); 41 static TMatrix< complex<r_4> > FitFunction(TMatrix< complex<r_4> > const & mtx, GeneralFit& gfit, 42 double xorg=0.,double yorg=0.,double dx=1.,double dy=1.); 43 static TMatrix< complex<r_8> > FitFunction(TMatrix< complex<r_8> > const & mtx, GeneralFit& gfit, 44 double xorg=0.,double yorg=0.,double dx=1.,double dy=1.); 45 32 46 // Residus et fonction fittees sur vecteurs 47 static TVector<int_4> FitResidus(TVector<int_4> const & vec, GeneralFit& gfit, 48 double xorg=0.,double dx=1.); 33 49 static TVector<r_4> FitResidus(TVector<r_4> const & vec, GeneralFit& gfit, 34 50 double xorg=0.,double dx=1.); 35 51 static TVector<r_8> FitResidus(TVector<r_8> const & vec, GeneralFit& gfit, 36 52 double xorg=0.,double dx=1.); 53 static TVector< complex<r_4> > FitResidus(TVector< complex<r_4> > const & vec, GeneralFit& gfit, 54 double xorg=0.,double dx=1.); 55 static TVector< complex<r_8> > FitResidus(TVector< complex<r_8> > const & vec, GeneralFit& gfit, 56 double xorg=0.,double dx=1.); 57 58 static TVector<int_4> FitFunction(TVector<int_4> const & vec, GeneralFit& gfit, 59 double xorg=0.,double dx=1.); 37 60 static TVector<r_4> FitFunction(TVector<r_4> const & vec, GeneralFit& gfit, 38 61 double xorg=0.,double dx=1.); 39 62 static TVector<r_8> FitFunction(TVector<r_8> const & vec, GeneralFit& gfit, 40 63 double xorg=0.,double dx=1.); 64 static TVector< complex<r_4> > FitFunction(TVector< complex<r_4> > const & vec, GeneralFit& gfit, 65 double xorg=0.,double dx=1.); 66 static TVector< complex<r_8> > FitFunction(TVector< complex<r_8> > const & vec, GeneralFit& gfit, 67 double xorg=0.,double dx=1.); 68 41 69 // Residus et fonction fittees sur Histo 42 70 static Histo FitResidus(Histo const& h, GeneralFit& gfit); 43 71 static Histo FitFunction(Histo const& h, GeneralFit& gfit); 44 72 static int_4 Fit(Histo const & h, GeneralFit& gfit,unsigned short typ_err=0); 73 45 74 // Residus et fonction fittees sur Histo2D 46 75 static Histo2D FitResidus(Histo2D const& h, GeneralFit& gfit); 47 76 static Histo2D FitFunction(Histo2D const& h, GeneralFit& gfit); 48 77 static int_4 Fit(Histo2D const & h, GeneralFit& gfit,unsigned short typ_err=0); 78 49 79 // Residus et fonction fittees sur HProf 50 80 static inline Histo FitResidus(HProf const& h, GeneralFit& gfit) … … 54 84 static int_4 Fit(HProf const & h, GeneralFit& gfit) 55 85 {h.UpdateHisto(); return Fit((Histo const&) h,gfit,0);} 86 56 87 // Residus et fonction fittees sur GeneralFitData 57 88 static inline GeneralFitData FitResidus(GeneralFitData const& g, GeneralFit& gfit)
Note:
See TracChangeset
for help on using the changeset viewer.