29 std::tuple<double, double, double>
operator()(
double x,
double y,
double z)
const
31 assert(FairRunAna::Instance());
32 assert(FairRunAna::Instance()->GetField());
33 double pos[3] = {
x,
y, z};
34 double B[3] = {0., 0., 0.};
37 static std::mutex mymutex;
39 FairRunAna::Instance()->GetField()->GetFieldValue(
pos, B);
41 return std::tuple(B[0], B[1], B[2]);