29 #ifndef StThinPlateSpline_hh
30 #define StThinPlateSpline_hh
38 StThinPlateSpline(Int_t nMeasurements, Double_t *X, Double_t *Y, Double_t *W, Double_t *A);
39 StThinPlateSpline(Int_t nMeasurements, Float_t *X, Float_t *Y, Float_t *W, Float_t *A);
42 void fit(Int_t nMeasurements, Double_t *xMeasurement, Double_t *yMeasurement, Double_t *zMeasurement, Double_t lambda = 0);
43 Double_t ur(Double_t r2)
const;
44 Double_t
z(Double_t x, Double_t y)
const;
46 virtual const char *GetCVS()
const {
47 static const char cvs[] =
"Tag $Name: $ $Id: StThinPlateSpline.h,v 1.3 2014/08/06 11:43:35 jeromel Exp $ built " __DATE__
" " __TIME__ ;
Double_t z(Double_t x, Double_t y) const
calculate z on the profile at (x,y)
void fit(Int_t nMeasurements, Double_t *xMeasurement, Double_t *yMeasurement, Double_t *zMeasurement, Double_t lambda=0)
fit measurements on a profile with tps to get mX, mY, mW, mA matrix