18#ifndef BDSMAGUSUALEQRHS_H
19#define BDSMAGUSUALEQRHS_H
21#include "BDSAuxiliaryNavigator.hh"
22#include "BDSIntegratorDrift.hh"
25#include "G4MagIntegratorStepper.hh"
26#include "G4Mag_UsualEqRhs.hh"
27#include "G4ChargeState.hh"
43 inline G4double
FCof()
const {
return fCof_val;}
49 G4double
Beta(
const G4double y[6]);
52 G4double
Beta(
const G4ThreeVector& mom);
63 G4double particleMass);
Override G4Mag_UsualEqRhs, provides BDSIM integrators access to particle attributes.
G4double fMassCof
Particle mass squared.
G4double TotalEnergy(const G4double y[])
Calculate total particle energy.
G4double Beta(const G4double y[6])
Calculate particle velocity W.R.T speed of light.
virtual void SetChargeMomentumMass(G4ChargeState particleCharge, G4double MomentumXc, G4double particleMass)
Copy of class method from G4Mag_UsualEqRhs.
G4double FCof() const
Accessor to variable for normalising to charge.
G4double Mass() const
Accessor to particle mass.