49 const G4int nvar = 6 ;
52 G4double yTemp[6], yAdd1[6], yAdd2[6] , yTemp2[6];
61 AdvanceHelix( yIn, Bfield_Temp, (2.0 / 3.0) * h, yTemp2 );
67 for( i = 0; i < nvar; i++ ) {
68 yOut[i] = ( 0.25 * yAdd1[i] + 0.75 * yAdd2[i]);
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)