4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
8 #include "AliTPCCalPadRegion.h"
9 #include <TLinearFitter.h>
10 #include <TIterator.h>
16 class AliTPCFitPad: public AliTPCCalPadRegion {
18 AliTPCFitPad() : AliTPCCalPadRegion(), fNdim(0), fFormula(0), fOpt(0) {}
19 AliTPCFitPad(const AliTPCFitPad& obj);
20 AliTPCFitPad(Int_t ndim, const char* formula, Option_t* opt = "D");
21 AliTPCFitPad& operator=(const AliTPCFitPad& rhs);
22 virtual ~AliTPCFitPad();
24 void Add(AliTPCFitPad* fit);
25 TLinearFitter* GetFitter(UInt_t segment, UInt_t padType, Bool_t workaround = kFALSE);
26 TLinearFitter* GetFitterSimple(UInt_t segment, UInt_t padType);
27 Int_t Evaluate(Bool_t robust = kFALSE, Double_t frac = -1.);
30 Int_t fNdim; // used for generating new TLinearFitter objects
31 TString fFormula; // used for generating new TLinearFitter objects
32 TString fOpt; // used for generating new TLinearFitter objects
34 ClassDef(AliTPCFitPad, 1)