23 #include "TObjArray.h"
37 : fMaps(new TObjArray(10)), fNoOfMaps(0), fFieldMaps(), fMapIter(), fBeamMom(0.)
44 : fMaps(new TObjArray(10)), fNoOfMaps(0), fFieldMaps(), fMapIter(), fBeamMom(BeamMom)
67 }
else if (Map==
"DIPOLE") {
74 }
else if (Map==
"SOLENOID") {
98 : fMaps( new TObjArray(10)), fNoOfMaps(0), fFieldMaps(), fMapIter(), fBeamMom(0.)
102 if(fArray->IsEmpty()) fType=-1;
119 fMaps->AddLast(field);
146 FairField *fieldMap =
dynamic_cast<FairField *
>(
fMaps->At(
n));
147 if(fieldMap) fieldMap->Print();
163 Bool_t kParameterMerged=kTRUE;
174 void PndMultiField::GetFieldValue(
const Double_t
point[3], Double_t*
bField)
187 fField->GetBxyz(point, bField);
199 for(
unsigned iq=0; iq<3; iq++)
205 FairField *fField =
fMapIter->second;
208 fField->GetBxyz(point, buffer);
210 for(
unsigned iq=0; iq<3; iq++)
211 bField[iq] += buffer[iq];