// Adjustments by Haavard Helstrup, Haavard.Helstrup@cern.ch
//-------------------------------------------------------------------------
+#include <TMath.h>
#include "AliSplineFit.h"
fX[i] = source.fX[i];
fY0[i] = source.fY0[i];
fY1[i] = source.fY1[i];
+ fChi2I[i] = source.fChi2I[i];
}
}
AliSplineFit& AliSplineFit::operator=(const AliSplineFit& source){
//
Int_t npoints=graph0->GetN();
- Float_t min=1e+39,max=-1e+39;
+ Float_t min=1e+33,max=-1e+33;
for (Int_t ip=0; ip<npoints; ip++){
Double_t x = graph0->GetX()[ip];
Double_t y = Eval(x,0)-graph0->GetY()[ip];
}
delete pcstream;
}
+
+void AliSplineFit::Cleanup(){
+ //
+ // deletes extra information to reduce amount of information stored on the data
+ // base
+
+ delete fGraph; fGraph=0;
+ delete fParams; fParams=0;
+ delete fCovars; fCovars=0;
+ delete [] fIndex; fIndex=0;
+ delete [] fChi2I; fChi2I=0;
+}