79 double tmp_bfield[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0};
80 double tmp_efield[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0};
83 bfield->GetFieldValue(pos, tmp_bfield);
86 efield->GetFieldValue(pos, tmp_efield);
90 field[0] = tmp_bfield[0];
91 field[1] = tmp_bfield[1];
92 field[2] = tmp_bfield[2];
94 field[3] = tmp_efield[3];
95 field[4] = tmp_efield[4];
96 field[5] = tmp_efield[5];
ArbEMField & operator=(const ArbEMField &rhs)
Construct a module from components.
virtual void GetFieldValue(const G4double pos[4], G4double *field) const