14 class TTreeSRedirector;
19 AliTPCEfield(
const char * name, Int_t maxFreq, Bool_t is2D, Bool_t useLinear=kTRUE);
21 void SetRange(Double_t x0, Double_t x1, Double_t y0, Double_t y1, Double_t z00,Double_t z1=0);
22 void AddBoundaryLine(Double_t x0,Double_t y0, Double_t z0, Double_t
v0, Double_t x1, Double_t y1, Double_t z1, Double_t v1, Int_t
id=0, Int_t
npoints=100);
23 TTree *
GetTree(
const char * tname=
"Boundary");
28 void DumpField(Double_t gridSize=5, Double_t step=0.5);
30 Double_t
EvalField(Int_t ifun, Double_t x, Double_t y, Double_t z, Int_t type=0);
31 Double_t
Eval(Double_t x, Double_t y, Double_t z, Int_t type=0);
33 static Double_t
EvalS(Double_t x, Double_t y, Double_t z, Int_t type=0);
36 Double_t
Field(Int_t ftype, Double_t ifx, Double_t ify, Double_t ifz, Double_t x, Double_t y, Double_t z);
37 Double_t
FieldDn(Int_t ftype, Double_t ifx, Double_t ify, Double_t ifz, Int_t dn, Double_t x, Double_t y, Double_t z);
41 Double_t
SinHNorm(Double_t x, Double_t norm){
return 0.5*(TMath::Exp(x-norm)-TMath::Exp(-x-norm));}
42 Double_t
CosHNorm(Double_t x, Double_t norm){
return 0.5*(TMath::Exp(x-norm)+TMath::Exp(-x-norm));}
void DumpField(Double_t gridSize=5, Double_t step=0.5)
Double_t EvalField(Int_t ifun, Double_t x, Double_t y, Double_t z, Int_t type=0)
Bool_t fIs2D
flag for 2D field
Double_t fScale
scaling factor
static Double_t EvalS(Double_t x, Double_t y, Double_t z, Int_t type=0)
void AddBoundaryLine(Double_t x0, Double_t y0, Double_t z0, Double_t v0, Double_t x1, Double_t y1, Double_t z1, Double_t v1, Int_t id=0, Int_t npoints=100)
void SetRange(Double_t x0, Double_t x1, Double_t y0, Double_t y1, Double_t z00, Double_t z1=0)
Double_t fMin[3]
range of coordinates from Min to Max
TMatrixD * fFitFunctions
fit function description
Double_t FieldDn(Int_t ftype, Double_t ifx, Double_t ify, Double_t ifz, Int_t dn, Double_t x, Double_t y, Double_t z)
Double_t Field(Int_t ftype, Double_t ifx, Double_t ify, Double_t ifz, Double_t x, Double_t y, Double_t z)
TMatrixD * fFitCovar
fit covariance
Double_t Eval(Double_t x, Double_t y, Double_t z, Int_t type=0)
Int_t fMaxFreq
maximal frequency of expansion
Double_t CosHNorm(Double_t x, Double_t norm)
TLinearFitter * fFitter
linear fitter - temporary solution - integrals to be calculated
TMatrixD * MakeCorrelation(TMatrixD &matrix)
void MakeFitFunctions(Int_t maxFreq)
TTreeSRedirector * fWorkspace
! workspace
TVectorD * fFitParam
fit parameters - coeficients
TTree * GetTree(const char *tname="Boundary")
Double_t SinHNorm(Double_t x, Double_t norm)
Calculation of the electric field.
static AliTPCEfield * fgInstance
instance of fied - for visualization
Bool_t fUseLinear
flag to use also linear term of the field