23 #ifndef genfit_ConstField_h    24 #define genfit_ConstField_h    39   ConstField(
double b1, 
double b2, 
double b3) : field_(b1, b2, b3) { ; }
    44   TVector3 
get(
const TVector3 &pos) 
const;
    45   void get(
const double &posX, 
const double &posY, 
const double &posZ, 
double &Bx, 
double &By, 
double &Bz) 
const;
    54 #endif // genfit_ConstField_h ConstField(const TVector3 &field)
 
Abstract Interface to magnetic fields in GENFIT. 
 
ConstField(double b1, double b2, double b3)
define the constant field in this ctor