8 #define ERFieldConst_H 1 10 #include "FairField.h" 26 ERFieldConst(
const char* name, Double_t xMin, Double_t xMax,
27 Double_t yMin, Double_t yMax, Double_t zMin,
28 Double_t zMax, Double_t bX, Double_t bY, Double_t bZ);
43 Double_t yMax, Double_t zMin, Double_t zMax);
48 void SetField(Double_t bX, Double_t bY, Double_t bZ);
54 virtual Double_t
GetBx(Double_t x, Double_t y, Double_t z);
55 virtual Double_t GetBy(Double_t x, Double_t y, Double_t z);
56 virtual Double_t GetBz(Double_t x, Double_t y, Double_t z);
61 Double_t GetXmax()
const {
return fXmax; }
62 Double_t GetYmin()
const {
return fYmin; }
63 Double_t GetYmax()
const {
return fYmax; }
64 Double_t GetZmin()
const {
return fZmin; }
65 Double_t GetZmax()
const {
return fZmax; }
70 Double_t GetBy()
const {
return fBy; }
71 Double_t GetBz()
const {
return fBz; }
74 virtual void Print(Option_t* =
"")
const;
virtual void Print(Option_t *="") const
void SetField(Double_t bX, Double_t bY, Double_t bZ)
void SetFieldRegion(Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax)