56 const G4int nvar = 6 ;
59 G4double yTemp[6], yAdd1[6], yAdd2[6] , yTemp2[6];
66 AdvanceHelix( yIn, Bfield_Temp, (2.0 / 3.0) * h, yTemp2 );
72 for(
G4int i = 0; i < nvar; ++i )
74 yOut[i] = ( 0.25 * yAdd1[i] + 0.75 * yAdd2[i]);
G4HelixHeum(G4Mag_EqRhs *EqRhs)
void DumbStepper(const G4double y[], G4ThreeVector Bfld, G4double h, G4double yout[])
void AdvanceHelix(const G4double yIn[], G4ThreeVector Bfld, G4double h, G4double yHelix[], G4double yHelix2[]=0)
void MagFieldEvaluate(const G4double y[], G4ThreeVector &Bfield)