18 #include <FairField.h>
32 : FairField(), fXmin(0.), fXmax(0.), fYmin(0.), fYmax(0.), fZmin(0.), fZmax(0.), fBx(0.), fBy(0.), fBz(0.)
40 Double_t zMax, Double_t bX, Double_t bY, Double_t bZ)
41 : FairField(name), fXmin(xMin), fXmax(xMax), fYmin(yMin), fYmax(yMax), fZmin(zMin), fZmax(zMax), fBx(bX), fBy(bY),
50 : FairField(), fXmin(0.), fXmax(0.), fYmin(0.), fYmax(0.), fZmin(0.), fZmax(0.), fBx(0.), fBy(0.), fBz(0.)
53 cerr <<
"-W- AtConstField::AtConstField: empty parameter container!" << endl;
62 fBx = fieldPar->
GetBx();
63 fBy = fieldPar->
GetBy();
64 fBz = fieldPar->
GetBz();
99 if (x < fXmin || x > fXmax || y < fYmin || y > fYmax || z < fZmin || z > fZmax)
108 if (x < fXmin || x > fXmax || y < fYmin || y > fYmax || z < fZmin || z > fZmax)
117 if (x < fXmin || x > fXmax || y < fYmin || y > fYmax || z < fZmin || z > fZmax)
126 cout <<
"======================================================" << endl;
127 cout <<
"---- " << fTitle <<
" : " << fName << endl;
128 cout <<
"----" << endl;
129 cout <<
"---- Field type : constant" << endl;
130 cout <<
"----" << endl;
131 cout <<
"---- Field regions : " << endl;
132 cout <<
"---- x = " << setw(4) << fXmin <<
" to " << setw(4) << fXmax <<
" cm" << endl;
133 cout <<
"---- y = " << setw(4) << fYmin <<
" to " << setw(4) << fYmax <<
" cm" << endl;
134 cout <<
"---- z = " << setw(4) << fZmin <<
" to " << setw(4) << fZmax <<
" cm" << endl;
136 cout <<
"---- B = ( " << fBx <<
", " << fBy <<
", " << fBz <<
" ) kG" << endl;
137 cout <<
"======================================================" << endl;