1 #ifndef ALITPCPOINTCORRECTION_H
2 #define ALITPCPOINTCORRECTION_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
14 class AliTPCPointCorrection:public TNamed {
16 AliTPCPointCorrection();
17 AliTPCPointCorrection(const Text_t *name, const Text_t *title);
18 virtual ~AliTPCPointCorrection();
20 TVectorD * GetParamOutR(Int_t sector) {return (TVectorD*)fParamsOutR.At(sector);}
21 TVectorD * GetParamOutZ(Int_t sector) {return (TVectorD*)fParamsOutZ.At(sector);}
23 Double_t GetDrOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector);
24 Double_t GetDzOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector);
26 static Double_t SGetDrOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector);
27 static Double_t SGetDzOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector);
29 static AliTPCPointCorrection* Instance();
30 void SetInstance(AliTPCPointCorrection*param){fgInstance = param;}
32 Double_t CorrectionOutR0(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector);
33 Double_t CorrectionOutZ0(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector);
39 TObjArray fParamsOutR; // Parameters for radial distortion - outer field cage
40 TObjArray fParamsOutZ; // Parameters for z distortion - outer field cage
41 Int_t fParamOutRVersion; // version of the parameterization
42 TObjArray fErrorsOutR; // Parameters for radial distortion - outer field cage
43 TObjArray fErrorsOutZ; // Parameters for z distortion - outer field cage
44 Int_t fParamOutZVersion; // version of the parameterization
47 AliTPCPointCorrection(const AliTPCPointCorrection&);
48 AliTPCPointCorrection& operator=(const AliTPCPointCorrection&);
49 static AliTPCPointCorrection* fgInstance; //! Instance of this class (singleton implementation)
50 ClassDef(AliTPCPointCorrection, 1);