AliRoot Core  3dc7879 (3dc7879)
AliMagWrapCheb.h
Go to the documentation of this file.
1 
2 // Author: ruben.shahoyan@cern.ch 20/03/2007
3 
5 // //
6 // Wrapper for the set of mag.field parameterizations by Chebyshev polinomials //
7 // To obtain the field in cartesian coordinates/components use //
8 // Field(double* xyz, double* bxyz); //
9 // For cylindrical coordinates/components: //
10 // FieldCyl(double* rphiz, double* brphiz) //
11 // //
12 // The solenoid part is parameterized in the volume R<500, -550<Z<550 cm //
13 // //
14 // The region R<423 cm, -343.3<Z<481.3 for 30kA and -343.3<Z<481.3 for 12kA //
15 // is parameterized using measured data while outside the Tosca calculation //
16 // is used (matched to data on the boundary of the measurements) //
17 // //
18 // Two options are possible: //
19 // 1) _BRING_TO_BOUNDARY_ is defined in the AliCheb3D: //
20 // If the querried point is outside of the validity region then the field //
21 // at the closest point on the fitted surface is returned. //
22 // 2) _BRING_TO_BOUNDARY_ is not defined in the AliCheb3D: //
23 // If the querried point is outside of the validity region the return //
24 // value for the field components are set to 0. //
25 // //
26 // To obtain the field integral in the TPC region from given point to nearest //
27 // cathod plane (+- 250 cm) use: //
28 // GetTPCInt(double* xyz, double* bxyz); for Cartesian frame //
29 // or //
30 // GetTPCIntCyl(Double_t *rphiz, Double_t *b); for Cylindrical frame //
31 // //
32 // //
33 // The units are kiloGauss and cm. //
34 // //
36 
37 #ifndef ALIMAGWRAPCHEB_H
38 #define ALIMAGWRAPCHEB_H
39 
40 #include <TMath.h>
41 #include <TNamed.h>
42 #include <TObjArray.h>
43 #include <TStopwatch.h>
44 #include "AliCheb3D.h"
45 
46 #ifndef _MAGCHEB_CACHE_
47 #define _MAGCHEB_CACHE_ // use to spead up, but then Field calls are not thread safe
48 #endif
49 
50 #ifndef _USE_FAST_ATAN2_
51 #define _USE_FAST_ATAN2_ // use approximate atan2 calculation, still precision is ~10^-4 of nominal field
52 #endif
53 
54 class TSystem;
55 class TArrayF;
56 class TArrayI;
57 
58 class AliMagWrapCheb: public TNamed
59 {
60  public:
62  AliMagWrapCheb(const AliMagWrapCheb& src);
64  //
65  void CopyFrom(const AliMagWrapCheb& src);
67  virtual void Clear(const Option_t * = "");
68  //
69  Int_t GetNParamsSol() const {return fNParamsSol;}
70  Int_t GetNSegZSol() const {return fNZSegSol;}
71  Float_t* GetSegZSol() const {return fSegZSol;}
72  //
73  Int_t GetNParamsTPCInt() const {return fNParamsTPC;}
74  Int_t GetNSegZTPCInt() const {return fNZSegTPC;}
75  //
76  Int_t GetNParamsTPCRatInt() const {return fNParamsTPCRat;}
77  Int_t GetNSegZTPCRatInt() const {return fNZSegTPCRat;}
78  //
79  Int_t GetNParamsDip() const {return fNParamsDip;}
80  Int_t GetNSegZDip() const {return fNZSegDip;}
81  //
82  Float_t GetMaxZ() const {return GetMaxZSol();}
83  Float_t GetMinZ() const {return fParamsDip ? GetMinZDip() : GetMinZSol();}
84  //
85  Float_t GetMinZSol() const {return fMinZSol;}
86  Float_t GetMaxZSol() const {return fMaxZSol;}
87  Float_t GetMaxRSol() const {return fMaxRSol;}
88  //
89  Float_t GetMinZDip() const {return fMinZDip;}
90  Float_t GetMaxZDip() const {return fMaxZDip;}
91  //
92  Float_t GetMinZTPCInt() const {return fMinZTPC;}
93  Float_t GetMaxZTPCInt() const {return fMaxZTPC;}
94  Float_t GetMaxRTPCInt() const {return fMaxRTPC;}
95  //
96  Float_t GetMinZTPCRatInt() const {return fMinZTPCRat;}
97  Float_t GetMaxZTPCRatInt() const {return fMaxZTPCRat;}
98  Float_t GetMaxRTPCRatInt() const {return fMaxRTPCRat;}
99  //
100  AliCheb3D* GetParamSol(Int_t ipar) const {return (AliCheb3D*)fParamsSol->UncheckedAt(ipar);}
101  AliCheb3D* GetParamTPCRatInt(Int_t ipar) const {return (AliCheb3D*)fParamsTPCRat->UncheckedAt(ipar);}
102  AliCheb3D* GetParamTPCInt(Int_t ipar) const {return (AliCheb3D*)fParamsTPC->UncheckedAt(ipar);}
103  AliCheb3D* GetParamDip(Int_t ipar) const {return (AliCheb3D*)fParamsDip->UncheckedAt(ipar);}
104  //
105 
106  Int_t GetDipSegmentsForZSlice(int zid, TObjArray& arr) const;
107  Float_t* GetDipZSegArray() const {return fSegZDip;}
108 
109  virtual void Print(Option_t * = "") const;
110  //
111  virtual void Field(const Double_t *xyz, Double_t *b) const;
112  Double_t GetBz(const Double_t *xyz) const;
113  //
114  void FieldCyl(const Double_t *rphiz, Double_t *b) const;
115  void GetTPCInt(const Double_t *xyz, Double_t *b) const;
116  void GetTPCIntCyl(const Double_t *rphiz, Double_t *b) const;
117  void GetTPCRatInt(const Double_t *xyz, Double_t *b) const;
118  void GetTPCRatIntCyl(const Double_t *rphiz, Double_t *b) const;
119  //
120  Int_t FindSolSegment(const Double_t *xyz) const;
121  Int_t FindTPCSegment(const Double_t *xyz) const;
122  Int_t FindTPCRatSegment(const Double_t *xyz) const;
123  Int_t FindDipSegment(const Double_t *xyz) const;
124  static void CylToCartCylB(const Double_t *rphiz, const Double_t *brphiz,Double_t *bxyz);
125  static void CylToCartCartB(const Double_t *xyz, const Double_t *brphiz,Double_t *bxyz);
126  static void CartToCylCartB(const Double_t *xyz, const Double_t *bxyz, Double_t *brphiz);
127  static void CartToCylCylB(const Double_t *rphiz, const Double_t *bxyz, Double_t *brphiz);
128  static void CartToCyl(const Double_t *xyz, Double_t *rphiz);
129  static void CylToCart(const Double_t *rphiz,Double_t *xyz);
130  //
131 #ifdef _INC_CREATION_ALICHEB3D_ // see AliCheb3D.h for explanation
132  void LoadData(const char* inpfile);
133  //
134  AliMagWrapCheb(const char* inputFile);
135  void SaveData(const char* outfile) const;
136  Int_t SegmentDimension(Float_t** seg,const TObjArray* par,int npar, int dim,
137  Float_t xmn,Float_t xmx,Float_t ymn,Float_t ymx,Float_t zmn,Float_t zmx);
138  //
139  void AddParamSol(const AliCheb3D* param);
140  void AddParamTPCInt(const AliCheb3D* param);
141  void AddParamTPCRatInt(const AliCheb3D* param);
142  void AddParamDip(const AliCheb3D* param);
143  void BuildTable(Int_t npar,TObjArray *parArr, Int_t &nZSeg, Int_t &nYSeg, Int_t &nXSeg,
144  Float_t &minZ,Float_t &maxZ,Float_t **segZ,Float_t **segY,Float_t **segX,
145  Int_t **begSegY,Int_t **nSegY,Int_t **begSegX,Int_t **nSegX,Int_t **segID);
146  void BuildTableSol();
147  void BuildTableDip();
148  void BuildTableTPCInt();
149  void BuildTableTPCRatInt();
150  void ResetTPCInt();
151  void ResetTPCRatInt();
152  void ResetSol();
153  void ResetDip();
154  //
155  //
156 #endif
157  //
158  static double useATan2(double y, double x);
159 
160  protected:
161  void FieldCylSol(const Double_t *rphiz, Double_t *b) const;
162  Double_t FieldCylSolBz(const Double_t *rphiz) const;
163  static double fastATan2(float y, float x);
164  static double fastATan2px(float y, float x);
165  static double fastATan(float x);
166  //
167  protected:
168  //
169  Int_t fNParamsSol; // Total number of parameterization pieces for solenoid
170  Int_t fNZSegSol; // number of distinct Z segments in Solenoid
171  Int_t fNPSegSol; // number of distinct P segments in Solenoid
172  Int_t fNRSegSol; // number of distinct R segments in Solenoid
173  Float_t* fSegZSol; //[fNZSegSol] coordinates of distinct Z segments in Solenoid
174  Float_t* fSegPSol; //[fNPSegSol] coordinated of P segments for each Zsegment in Solenoid
175  Float_t* fSegRSol; //[fNRSegSol] coordinated of R segments for each Psegment in Solenoid
176  Int_t* fBegSegPSol; //[fNPSegSol] beginning of P segments array for each Z segment
177  Int_t* fNSegPSol; //[fNZSegSol] number of P segments for each Z segment
178  Int_t* fBegSegRSol; //[fNPSegSol] beginning of R segments array for each P segment
179  Int_t* fNSegRSol; //[fNPSegSol] number of R segments for each P segment
180  Int_t* fSegIDSol; //[fNRSegSol] ID of the solenoid parameterization for given RPZ segment
181  Float_t fMinZSol; // Min Z of Solenoid parameterization
182  Float_t fMaxZSol; // Max Z of Solenoid parameterization
183  TObjArray* fParamsSol; // Parameterization pieces for Solenoid field
184  Float_t fMaxRSol; // max raduis for Solenoid field
185  //
186  Int_t fNParamsTPC; // Total number of parameterization pieces for TPCint
187  Int_t fNZSegTPC; // number of distinct Z segments in TPCint
188  Int_t fNPSegTPC; // number of distinct P segments in TPCint
189  Int_t fNRSegTPC; // number of distinct R segments in TPCint
190  Float_t* fSegZTPC; //[fNZSegTPC] coordinates of distinct Z segments in TPCint
191  Float_t* fSegPTPC; //[fNPSegTPC] coordinated of P segments for each Zsegment in TPCint
192  Float_t* fSegRTPC; //[fNRSegTPC] coordinated of R segments for each Psegment in TPCint
193  Int_t* fBegSegPTPC; //[fNPSegTPC] beginning of P segments array for each Z segment
194  Int_t* fNSegPTPC; //[fNZSegTPC] number of P segments for each Z segment
195  Int_t* fBegSegRTPC; //[fNPSegTPC] beginning of R segments array for each P segment
196  Int_t* fNSegRTPC; //[fNPSegTPC] number of R segments for each P segment
197  Int_t* fSegIDTPC; //[fNRSegTPC] ID of the TPCint parameterization for given RPZ segment
198  Float_t fMinZTPC; // Min Z of TPCint parameterization
199  Float_t fMaxZTPC; // Max Z of TPCint parameterization
200  TObjArray* fParamsTPC; // Parameterization pieces for TPCint field
201  Float_t fMaxRTPC; // max raduis for Solenoid field integral in TPC
202  //
203  Int_t fNParamsTPCRat; // Total number of parameterization pieces for tr.field to Bz integrals in TPC region
204  Int_t fNZSegTPCRat; // number of distinct Z segments in TpcRatInt
205  Int_t fNPSegTPCRat; // number of distinct P segments in TpcRatInt
206  Int_t fNRSegTPCRat; // number of distinct R segments in TpcRatInt
207  Float_t* fSegZTPCRat; //[fNZSegTPCRat] coordinates of distinct Z segments in TpcRatInt
208  Float_t* fSegPTPCRat; //[fNPSegTPCRat] coordinated of P segments for each Zsegment in TpcRatInt
209  Float_t* fSegRTPCRat; //[fNRSegTPCRat] coordinated of R segments for each Psegment in TpcRatInt
210  Int_t* fBegSegPTPCRat; //[fNPSegTPCRat] beginning of P segments array for each Z segment
211  Int_t* fNSegPTPCRat; //[fNZSegTPCRat] number of P segments for each Z segment
212  Int_t* fBegSegRTPCRat; //[fNPSegTPCRat] beginning of R segments array for each P segment
213  Int_t* fNSegRTPCRat; //[fNPSegTPCRat] number of R segments for each P segment
214  Int_t* fSegIDTPCRat; //[fNRSegTPCRat] ID of the TpcRatInt parameterization for given RPZ segment
215  Float_t fMinZTPCRat; // Min Z of TpcRatInt parameterization
216  Float_t fMaxZTPCRat; // Max Z of TpcRatInt parameterization
217  TObjArray* fParamsTPCRat; // Parameterization pieces for TpcRatInt field
218  Float_t fMaxRTPCRat; // max raduis for Solenoid field ratios integral in TPC
219  //
220  Int_t fNParamsDip; // Total number of parameterization pieces for dipole
221  Int_t fNZSegDip; // number of distinct Z segments in Dipole
222  Int_t fNYSegDip; // number of distinct Y segments in Dipole
223  Int_t fNXSegDip; // number of distinct X segments in Dipole
224  Float_t* fSegZDip; //[fNZSegDip] coordinates of distinct Z segments in Dipole
225  Float_t* fSegYDip; //[fNYSegDip] coordinated of Y segments for each Zsegment in Dipole
226  Float_t* fSegXDip; //[fNXSegDip] coordinated of X segments for each Ysegment in Dipole
227  Int_t* fBegSegYDip; //[fNZSegDip] beginning of Y segments array for each Z segment
228  Int_t* fNSegYDip; //[fNZSegDip] number of Y segments for each Z segment
229  Int_t* fBegSegXDip; //[fNYSegDip] beginning of X segments array for each Y segment
230  Int_t* fNSegXDip; //[fNYSegDip] number of X segments for each Y segment
231  Int_t* fSegIDDip; //[fNXSegDip] ID of the dipole parameterization for given XYZ segment
232  Float_t fMinZDip; // Min Z of Dipole parameterization
233  Float_t fMaxZDip; // Max Z of Dipole parameterization
234  TObjArray* fParamsDip; // Parameterization pieces for Dipole field
235  //
236 #ifdef _MAGCHEB_CACHE_
237  mutable AliCheb3D* fCacheSol;
238  mutable AliCheb3D* fCacheDip;
241 #endif
242  //
243  ClassDef(AliMagWrapCheb,8) // Wrapper class for the set of Chebishev parameterizations of Alice mag.field
244  //
245  };
246 
247 
248 //__________________________________________________________________________________________
249 inline void AliMagWrapCheb::FieldCyl(const Double_t *rphiz, Double_t *b) const
250 {
251  // compute field in Cylindircal coordinates
252  // if (rphiz[2]<GetMinZSol() || rphiz[2]>GetMaxZSol() || rphiz[0]>GetMaxRSol()) {for (int i=3;i--;) b[i]=0; return;}
253  b[0] = b[1] = b[2] = 0;
254  FieldCylSol(rphiz,b);
255 }
256 
257 //__________________________________________________________________________________________________
258 inline void AliMagWrapCheb::CylToCartCylB(const Double_t *rphiz, const Double_t *brphiz,Double_t *bxyz)
259 {
260  // convert field in cylindrical coordinates to cartesian system, point is in cyl.system
261  Double_t btr = TMath::Sqrt(brphiz[0]*brphiz[0]+brphiz[1]*brphiz[1]);
262  Double_t psiPLUSphi = useATan2(brphiz[1],brphiz[0]) + rphiz[1];
263  bxyz[0] = btr*TMath::Cos(psiPLUSphi);
264  bxyz[1] = btr*TMath::Sin(psiPLUSphi);
265  bxyz[2] = brphiz[2];
266  //
267 }
268 
269 //__________________________________________________________________________________________________
270 inline void AliMagWrapCheb::CylToCartCartB(const Double_t* xyz, const Double_t *brphiz, Double_t *bxyz)
271 {
272  // convert field in cylindrical coordinates to cartesian system, point is in cart.system
273  Double_t btr = TMath::Sqrt(brphiz[0]*brphiz[0]+brphiz[1]*brphiz[1]);
274  Double_t phiPLUSpsi = useATan2(xyz[1],xyz[0]) + useATan2(brphiz[1],brphiz[0]);
275  bxyz[0] = btr*TMath::Cos(phiPLUSpsi);
276  bxyz[1] = btr*TMath::Sin(phiPLUSpsi);
277  bxyz[2] = brphiz[2];
278  //
279 }
280 
281 //__________________________________________________________________________________________________
282 inline void AliMagWrapCheb::CartToCylCartB(const Double_t *xyz, const Double_t *bxyz, Double_t *brphiz)
283 {
284  // convert field in cylindrical coordinates to cartesian system, poin is in cart.system
285  Double_t btr = TMath::Sqrt(bxyz[0]*bxyz[0]+bxyz[1]*bxyz[1]);
286  Double_t psiMINphi = useATan2(bxyz[1],bxyz[0]) - useATan2(xyz[1],xyz[0]);
287  //
288  brphiz[0] = btr*TMath::Cos(psiMINphi);
289  brphiz[1] = btr*TMath::Sin(psiMINphi);
290  brphiz[2] = bxyz[2];
291  //
292 }
293 
294 //__________________________________________________________________________________________________
295 inline void AliMagWrapCheb::CartToCylCylB(const Double_t *rphiz, const Double_t *bxyz, Double_t *brphiz)
296 {
297  // convert field in cylindrical coordinates to cartesian system, point is in cyl.system
298  Double_t btr = TMath::Sqrt(bxyz[0]*bxyz[0]+bxyz[1]*bxyz[1]);
299  Double_t psiMINphi = useATan2(bxyz[1],bxyz[0]) - rphiz[1];
300  brphiz[0] = btr*TMath::Cos(psiMINphi);
301  brphiz[1] = btr*TMath::Sin(psiMINphi);
302  brphiz[2] = bxyz[2];
303  //
304 }
305 
306 //__________________________________________________________________________________________________
307 inline void AliMagWrapCheb::CartToCyl(const Double_t *xyz, Double_t *rphiz)
308 {
309  rphiz[0] = TMath::Sqrt(xyz[0]*xyz[0]+xyz[1]*xyz[1]);
310  rphiz[1] = useATan2(xyz[1],xyz[0]);
311  rphiz[2] = xyz[2];
312 }
313 
314 //__________________________________________________________________________________________________
315 inline void AliMagWrapCheb::CylToCart(const Double_t *rphiz, Double_t *xyz)
316 {
317  xyz[0] = rphiz[0]*TMath::Cos(rphiz[1]);
318  xyz[1] = rphiz[0]*TMath::Sin(rphiz[1]);
319  xyz[2] = rphiz[2];
320 }
321 
322 //__________________________________________________________________________________________________
323 inline double AliMagWrapCheb::useATan2(double y, double x)
324 {
325 #ifdef _USE_FAST_ATAN2_
326  return fastATan2(y,x);
327 #else
328  return TMath::ATan2(y,x);
329 #endif
330 }
331 
332 //__________________________________________________________________________________________________
333 inline double AliMagWrapCheb::fastATan2(float y, float x)
334 {
335  if (x>0.) {
336  return fastATan2px(y,x);
337  }
338  else if (x<0.) {
339  return ((y<0.) ? -TMath::Pi() : TMath::Pi()) - fastATan2px(y,-x);
340  }
341  else {
342  return y<0.f ? -0.5*TMath::Pi() : 0.5*TMath::Pi();
343  }
344 }
345 
346 //__________________________________________________________________________________________________
347 inline double AliMagWrapCheb::fastATan2px(float y, float x)
348 {
349  // x guaranteed > 0
350  // use atan(t)+atan(1/t)=-pi/2 for t<0 and pi/2 for t>0
351  if (y<0.) {
352  return (x>-y) ? fastATan(y/x) : fastATan(-x/y)-0.5*TMath::Pi();
353  }
354  else {
355  return (x>y) ? fastATan(y/x) : 0.5*TMath::Pi()-fastATan(x/y);
356  }
357 }
358 
359 //__________________________________________________________________________________________________
360 inline double AliMagWrapCheb::fastATan(float x)
361 {
362  // x >= 0
363  const float kThresh = 0.315f; // parametrization switch here
364  return x>kThresh ? x*(7.85398163397448279e-01+0.273f*(1.-x)) : x/(1.+x*x*0.2815f);
365 }
366 
367 
368 #endif
static void CylToCartCylB(const Double_t *rphiz, const Double_t *brphiz, Double_t *bxyz)
TBrowser b
Definition: RunAnaESD.C:12
Float_t GetMaxZTPCRatInt() const
AliCheb3D * fCacheSol
Int_t GetNSegZTPCRatInt() const
void AddParamTPCInt(const AliCheb3D *param)
Float_t GetMaxRTPCRatInt() const
AliCheb3D * GetParamTPCInt(Int_t ipar) const
void BuildTableTPCRatInt()
Float_t GetMinZ() const
Float_t GetMinZTPCRatInt() const
Int_t GetNSegZDip() const
#define TObjArray
Float_t GetMaxZ() const
Float_t * fSegPTPCRat
void BuildTable(Int_t npar, TObjArray *parArr, Int_t &nZSeg, Int_t &nYSeg, Int_t &nXSeg, Float_t &minZ, Float_t &maxZ, Float_t **segZ, Float_t **segY, Float_t **segX, Int_t **begSegY, Int_t **nSegY, Int_t **begSegX, Int_t **nSegX, Int_t **segID)
static void CartToCylCartB(const Double_t *xyz, const Double_t *bxyz, Double_t *brphiz)
Int_t GetNSegZSol() const
Float_t GetMaxRTPCInt() const
Int_t GetNParamsDip() const
Float_t * fSegXDip
Float_t * fSegZTPC
Double_t GetBz(const Double_t *xyz) const
void GetTPCInt(const Double_t *xyz, Double_t *b) const
Int_t FindDipSegment(const Double_t *xyz) const
Int_t GetDipSegmentsForZSlice(int zid, TObjArray &arr) const
Float_t GetMaxZDip() const
Int_t SegmentDimension(Float_t **seg, const TObjArray *par, int npar, int dim, Float_t xmn, Float_t xmx, Float_t ymn, Float_t ymx, Float_t zmn, Float_t zmx)
void GetTPCRatInt(const Double_t *xyz, Double_t *b) const
Float_t * fSegPTPC
TObjArray * fParamsTPCRat
Int_t * fSegIDTPCRat
void LoadData(const char *inpfile)
AliCheb3D * GetParamDip(Int_t ipar) const
Float_t * fSegZTPCRat
Float_t GetMinZTPCInt() const
Int_t * fNSegPTPCRat
Int_t FindSolSegment(const Double_t *xyz) const
Float_t * fSegZSol
static double useATan2(double y, double x)
Float_t * fSegRTPCRat
AliCheb3D * GetParamSol(Int_t ipar) const
AliCheb3D * fCacheTPCInt
last used dipole patch
virtual void Print(Option_t *="") const
Float_t * fSegZDip
virtual void Clear(const Option_t *="")
static void CylToCart(const Double_t *rphiz, Double_t *xyz)
Float_t * fSegRSol
Int_t GetNParamsSol() const
AliCheb3D * GetParamTPCRatInt(Int_t ipar) const
void GetTPCIntCyl(const Double_t *rphiz, Double_t *b) const
Int_t FindTPCRatSegment(const Double_t *xyz) const
Int_t FindTPCSegment(const Double_t *xyz) const
static void CylToCartCartB(const Double_t *xyz, const Double_t *brphiz, Double_t *bxyz)
static void CartToCylCylB(const Double_t *rphiz, const Double_t *bxyz, Double_t *brphiz)
AliCheb3D * fCacheDip
last used solenoid patch
Float_t GetMaxZTPCInt() const
static double fastATan2px(float y, float x)
void FieldCyl(const Double_t *rphiz, Double_t *b) const
Int_t GetNParamsTPCInt() const
void SaveData(const char *outfile) const
virtual void Field(const Double_t *xyz, Double_t *b) const
AliMagWrapCheb & operator=(const AliMagWrapCheb &rhs)
Int_t * fBegSegRTPCRat
Float_t * GetSegZSol() const
void AddParamTPCRatInt(const AliCheb3D *param)
Int_t GetNParamsTPCRatInt() const
static double fastATan(float x)
static double fastATan2(float y, float x)
Double_t FieldCylSolBz(const Double_t *rphiz) const
Float_t GetMinZDip() const
TObjArray * fParamsSol
Float_t GetMaxZSol() const
Float_t GetMaxRSol() const
static void CartToCyl(const Double_t *xyz, Double_t *rphiz)
TObjArray * fParamsDip
Float_t * fSegPSol
void AddParamDip(const AliCheb3D *param)
AliCheb3D * fCacheTPCRat
last used patch for TPC integral
void CopyFrom(const AliMagWrapCheb &src)
Int_t * fNSegRTPCRat
void AddParamSol(const AliCheb3D *param)
TObjArray * fParamsTPC
Int_t * fBegSegPTPCRat
void GetTPCRatIntCyl(const Double_t *rphiz, Double_t *b) const
Float_t * fSegRTPC
Int_t GetNSegZTPCInt() const
Float_t GetMinZSol() const
Float_t * fSegYDip
void FieldCylSol(const Double_t *rphiz, Double_t *b) const
Float_t * GetDipZSegArray() const