83 cerr <<
"-W- MyConstField::MyConstField: empty parameter container!" << endl;
92 fBx = fieldPar->
GetBx();
93 fBy = fieldPar->
GetBy();
94 fBz = fieldPar->
GetBz();
133 if (x < fXmin || x > fXmax || y < fYmin || y > fYmax || z < fZmin || z > fZmax)
142 if (x < fXmin || x > fXmax || y < fYmin || y > fYmax || z < fZmin || z > fZmax)
151 if (x < fXmin || x > fXmax || y < fYmin || y > fYmax || z < fZmin || z > fZmax)
160 cout <<
"======================================================" << endl;
161 cout <<
"---- " << fTitle <<
" : " << fName << endl;
162 cout <<
"----" << endl;
163 cout <<
"---- Field type : constant" << endl;
164 cout <<
"----" << endl;
165 cout <<
"---- Field regions : " << endl;
166 cout <<
"---- x = " << setw(4) << fXmin <<
" to " << setw(4) << fXmax <<
" cm" << endl;
167 cout <<
"---- y = " << setw(4) << fYmin <<
" to " << setw(4) << fYmax <<
" cm" << endl;
168 cout <<
"---- z = " << setw(4) << fZmin <<
" to " << setw(4) << fZmax <<
" cm" << endl;
170 cout <<
"---- B = ( " << fBx <<
", " << fBy <<
", " << fBz <<
" ) kG" << endl;
171 cout <<
"======================================================" << endl;
ClassImp(FairEventBuilder)
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)