70 if( angleThreshold < 0.0 ){
120 const G4int nvar = 6 ;
121 const G4int nvarMax = 8 ;
123 G4double yTemp[nvarMax], yIn[nvarMax], yTemp2[nvarMax];
127 for(i=0;i<nvar;i++) yIn[i]=yInput[i];
145 for(i=0;i<nvar;i++) {
146 yErr[i] = yOut[i] - yTemp2[i] ;
170 distChord=
GetRadHelix()*(1-std::cos(0.5*Ang_curve));
188 G4cout <<
"In HelixMixedStepper::Number of calls to smallStepStepper = "
198 switch ( StepperNumber )
295 G4cout <<
" chosen as stepper for small steps in G4HelixMixedStepper."
void DumbStepper(const G4double y[], G4ThreeVector Bfld, G4double h, G4double yout[])
CLHEP::Hep3Vector G4ThreeVector
void SetCurve(const G4double Curve)
G4double GetAngCurve() const
void SetAngCurve(const G4double Ang)
G4MagIntegratorStepper * SetupStepper(G4Mag_EqRhs *EqRhs, G4int StepperName)
void AdvanceHelix(const G4double yIn[], G4ThreeVector Bfld, G4double h, G4double yHelix[], G4double yHelix2[]=0)
G4double DistChord() const
void SetVerbose(G4int newvalue)
G4double GetRadHelix() const
G4double GetInverseCurve(const G4double Momentum, const G4double Bmag)
static constexpr double twopi
virtual void Stepper(const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])=0
G4GLOB_DLL std::ostream G4cout
G4double fAngle_threshold
static constexpr double pi
G4HelixMixedStepper(G4Mag_EqRhs *EqRhs, G4int StepperNumber=-1, G4double Angle_threshold=-1.0)
void MagFieldEvaluate(const G4double y[], G4ThreeVector &Bfield)
G4MagIntegratorStepper * fRK4Stepper
void Stepper(const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])