14 #define PNDFIELDMAP_H 1
36 PndFieldMap(
const char* mapName,
const char* fileType =
"R");
55 virtual Double_t
GetBx(Double_t
x, Double_t
y, Double_t
z);
56 virtual Double_t
GetBy(Double_t x, Double_t y, Double_t z);
57 virtual Double_t
GetBz(Double_t x, Double_t y, Double_t z);
66 virtual Bool_t
IsInside(Double_t x, Double_t y, Double_t z,
67 Int_t& ix, Int_t& iy, Int_t& iz,
68 Double_t&
dx, Double_t&
dy, Double_t&
dz);
76 void WriteRootFile(
const char* fileName,
const char* mapName);
80 void SetPosition(Double_t x, Double_t y, Double_t z);
124 virtual void Print();
143 void ReadRootFile(
const char* fileName,
const char* mapName);
153 Double_t
Interpolate(Double_t dx, Double_t dy, Double_t dz);