Line data Source code
1 : #ifndef ALITPCFITPAD_H
2 : #define ALITPCFITPAD_H
3 :
4 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 : * See cxx source for full Copyright notice */
6 :
7 : #include "AliTPCCalPadRegion.h"
8 : #include "TString.h"
9 :
10 : class TLinearFitter;
11 :
12 : class AliTPCFitPad: public AliTPCCalPadRegion {
13 : public:
14 0 : AliTPCFitPad() : AliTPCCalPadRegion(), fNdim(0), fFormula(0), fOpt(0) {}
15 : AliTPCFitPad(const AliTPCFitPad& obj);
16 : AliTPCFitPad(Int_t ndim, const char* formula, Option_t* opt = "D");
17 : AliTPCFitPad& operator=(const AliTPCFitPad& rhs);
18 : virtual ~AliTPCFitPad();
19 :
20 : void Add(AliTPCFitPad* fit);
21 : TLinearFitter* GetFitter(UInt_t segment, UInt_t padType, Bool_t workaround = kFALSE);
22 : TLinearFitter* GetFitterSimple(UInt_t segment, UInt_t padType);
23 : Int_t Evaluate(Bool_t robust = kFALSE, Double_t frac = -1.);
24 :
25 : public:
26 : Int_t fNdim; // used for generating new TLinearFitter objects
27 : TString fFormula; // used for generating new TLinearFitter objects
28 : TString fOpt; // used for generating new TLinearFitter objects
29 :
30 6 : ClassDef(AliTPCFitPad, 1)
31 : };
32 :
33 :
34 : #endif
|