23#ifndef genfit_ConstField_h
24#define genfit_ConstField_h
49 TVector3
get(
const TVector3& pos)
const;
50 void get(
const double& posX,
const double& posY,
const double& posZ,
double& Bx,
double& By,
double& Bz)
const;
Abstract Interface to magnetic fields in GENFIT.
ConstField(const TVector3 &field)
TVector3 get(const TVector3 &pos) const
return value at position
ConstField(double b1, double b2, double b3)
define the constant field in this ctor