]>
Commit | Line | Data |
---|---|---|
10757ee9 | 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 <iostream> | |
8 | #include "AliTPCCalPadRegion.h" | |
9 | #include <TLinearFitter.h> | |
10 | #include <TIterator.h> | |
11 | ||
12 | using namespace std; | |
13 | ||
14 | class TString; | |
15 | ||
16 | class AliTPCFitPad: public AliTPCCalPadRegion { | |
17 | public: | |
f1c2a4a3 | 18 | AliTPCFitPad() : AliTPCCalPadRegion(), fNdim(0), fFormula(0), fOpt(0) {} |
84e0a111 | 19 | AliTPCFitPad(const AliTPCFitPad& obj); |
10757ee9 | 20 | AliTPCFitPad(Int_t ndim, const char* formula, Option_t* opt = "D"); |
21 | AliTPCFitPad& operator=(const AliTPCFitPad& rhs); | |
10757ee9 | 22 | virtual ~AliTPCFitPad(); |
23 | ||
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.); | |
28 | ||
84e0a111 | 29 | public: |
10757ee9 | 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 | |
33 | ||
34 | ClassDef(AliTPCFitPad, 1) | |
35 | }; | |
36 | ||
37 | ||
38 | #endif |