12 FairField::FairField()
21 FairField::FairField(
const char*
name,
const char*
title)
31 FairField::~FairField() { }
37 Bool_t FairField::IsConst()
39 if ( fType == 1 ) {
return kTRUE; }
47 Bool_t FairField::IsMap()
49 if ( fType == 2 ) {
return kTRUE; }
53 void FairField::GetFieldValue(
const Double_t
point[3], Double_t*
bField)
55 bField[0] = GetBx(point[0], point[1], point[2]);
56 bField[1] = GetBy(point[0], point[1], point[2]);
57 bField[2] = GetBz(point[0], point[1], point[2]);