41 Double_t xMax, Double_t yMin,
42 Double_t yMax, Double_t zMin,
43 Double_t zMax, Double_t bX,
44 Double_t bY, Double_t bZ)
77 cerr <<
"-W- PndConstField::PndConstField: empty parameter container!"<< endl;
105 Double_t yMin, Double_t yMax,
106 Double_t zMin, Double_t zMax) {
130 if ( x < fXmin || x >
fXmax ||
131 y < fYmin || y >
fYmax ||
132 z < fZmin || z >
fZmax )
return 0.;
141 if ( x < fXmin || x >
fXmax ||
142 y < fYmin || y >
fYmax ||
143 z < fZmin || z >
fZmax )
return 0.;
152 if ( x < fXmin || x >
fXmax ||
153 y < fYmin || y >
fYmax ||
154 z < fZmin || z >
fZmax )
return 0.;
165 if ( point [0] <
fXmin || point [0] >
fXmax ||
168 bField[0]=0; bField[1]=0; bField[2]=0;
171 bField[0]=
fBx; bField[1]=
fBy; bField[2]=
fBz;
177 cout <<
"======================================================" << endl;
178 cout <<
"---- " << fTitle <<
" : " << fName << endl;
179 cout <<
"----" << endl;
180 cout <<
"---- Field type : constant" << endl;
181 cout <<
"----" << endl;
182 cout <<
"---- Field regions : " << endl;
183 cout <<
"---- x = " << setw(4) <<
fXmin <<
" to " << setw(4)
184 <<
fXmax <<
" cm" << endl;
185 cout <<
"---- y = " << setw(4) <<
fYmin <<
" to " << setw(4)
186 <<
fYmax <<
" cm" << endl;
187 cout <<
"---- z = " << setw(4) <<
fZmin <<
" to " << setw(4)
188 <<
fZmax <<
" cm" << endl;
190 cout <<
"---- B = ( " <<
fBx <<
", " <<
fBy <<
", " <<
fBz <<
" ) kG"
192 cout <<
"======================================================" << endl;
198 TString MapName=GetName();
202 Bool_t kParameterMerged=kTRUE;