4 #include "G4BogackiShampine45.hh" 5 #include "G4CashKarpRKF45.hh" 6 #include "G4ClassicalRK4.hh" 7 #include "G4DormandPrince745.hh" 8 #include "G4HelixExplicitEuler.hh" 9 #include "G4HelixHeum.hh" 10 #include "G4HelixImplicitEuler.hh" 11 #include "G4HelixSimpleRunge.hh" 12 #include "G4ImplicitEuler.hh" 13 #include "G4Mag_UsualEqRhs.hh" 14 #include "G4NystromRK4.hh" 15 #include "G4SimpleHeum.hh" 16 #include "G4SimpleRunge.hh" 17 #include "G4TsitourasRK45.hh" 20 : G4MagIntegratorStepper(eq, 6), theEquation(eq), theDelta(del) {
35 if (ss ==
"G4ClassicalRK4")
37 else if (ss ==
"G4NystromRK4")
39 else if (ss ==
"G4SimpleRunge")
41 else if (ss ==
"G4SimpleHeum")
43 else if (ss ==
"G4CashKarpRKF45")
45 else if (ss ==
"G4DormandPrince745")
47 else if (ss ==
"G4BogackiShampine45")
49 else if (ss ==
"G4TsitourasRK45")
51 else if (ss ==
"G4ImplicitEuler")
53 else if (ss ==
"G4HelixExplicitEuler")
55 else if (ss ==
"G4HelixImplicitEuler")
57 else if (ss ==
"G4HelixSimpleRunge")
59 else if (ss ==
"G4HelixHeum")
63 <<
" FieldStepper <" << ss <<
"> is not known, defaulting to G4ClassicalRK4 ";
66 edm::LogVerbatim(
"SimG4CoreMagneticField") <<
"### FieldStepper: <" << ss <<
">";
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
G4int IntegratorOrder() const override
FieldStepper(G4Mag_UsualEqRhs *eq, double del, const std::string &name)
G4MagIntegratorStepper * theStepper
void selectStepper(const std::string &)
G4Mag_UsualEqRhs * theEquation
void Stepper(const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) override
G4double DistChord() const override