Fixes for building of DA (Anshul)
[u/mrichter/AliRoot.git] / TPC / AliTPCFitPad.h
... / ...
CommitLineData
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
12using namespace std;
13
14class TString;
15
16class AliTPCFitPad: public AliTPCCalPadRegion {
17public:
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();
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
29public:
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