17 #ifndef CMSTMAGFIELDEQUATION_H 18 #define CMSTMAGFIELDEQUATION_H 20 #include "G4Mag_UsualEqRhs.hh" 23 template <
class T_Field>
40 G4double dydx[])
const {
47 dydx[3] = cof * (
y[4] *
B[2] -
y[5] *
B[1]);
48 dydx[4] = cof * (
y[5] *
B[0] -
y[3] *
B[2]);
49 dydx[5] = cof * (
y[3] *
B[1] -
y[4] *
B[0]);
54 __attribute__((always_inline))
void TRightHandSide(
const G4double
y[],
56 G4double dydx[])
const {
CMSTMagFieldEquation(T_Field *f)
G4double inv_momentum_magnitude
~CMSTMagFieldEquation() override
Structure Point Contains parameters of Gaussian fits to DMRs.
void TEvaluateRhsGivenB(const G4double y[], G4double inv_momentum_magnitude, const G4double B[3], G4double dydx[]) const
__attribute__((always_inline)) void TRightHandSide(const G4double y[]
void GetFieldValueCMS(const G4double Point[], G4double Field[]) const