5 #include <CLHEP/Units/SystemOfUnits.h> 
   25   get(x, y, z, Bx, By, Bz);
 
   27   return TVector3(Bx, By, Bz);
 
   30 void GFField::get(
const double& x, 
const double& y, 
const double& z, 
double& Bx, 
double& By, 
double& Bz)
 const 
   40   const double Point[] = {x*CLHEP::cm, y*CLHEP::cm, (z + _offset)*CLHEP::cm, 0.};
 
   42   for(
int i = 0; i < 6; ++i)
 
   48   Bx = _scale*Bfield[0]/CLHEP::kilogauss;
 
   49   By = _scale*Bfield[1]/CLHEP::kilogauss;
 
   50   Bz = _scale*Bfield[2]/CLHEP::kilogauss;
 
transient DST object for field storage and access
virtual void GetFieldValue(const double Point[4], double *Bfield) const =0
TVector3 get(const TVector3 &pos) const
GFField(const PHField *field)