#include <G4MonopoleEq.hh>
 | 
|   | G4MonopoleEq (G4ElectroMagneticField *emField) | 
|   | 
|   | ~G4MonopoleEq () | 
|   | 
| void  | SetChargeMomentumMass (G4ChargeState particleCharge, G4double MomentumXc, G4double mass) | 
|   | 
| void  | EvaluateRhsGivenB (const G4double y[], const G4double Field[], G4double dydx[]) const  | 
|   | 
|   | G4EquationOfMotion (G4Field *Field) | 
|   | 
| virtual  | ~G4EquationOfMotion () | 
|   | 
| virtual void  | EvaluateRhsGivenB (const G4double y[], const G4double B[3], G4double dydx[]) const =0 | 
|   | 
| void  | RightHandSide (const G4double y[], G4double dydx[]) const  | 
|   | 
| void  | EvaluateRhsReturnB (const G4double y[], G4double dydx[], G4double Field[]) const  | 
|   | 
| void  | GetFieldValue (const G4double Point[4], G4double Field[]) const  | 
|   | 
| const G4Field *  | GetFieldObj () const  | 
|   | 
| void  | SetFieldObj (G4Field *pField) | 
|   | 
Definition at line 49 of file G4MonopoleEq.hh.
 
  
  
      
        
          | G4MonopoleEq::~G4MonopoleEq  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
Definition at line 59 of file G4MonopoleEq.cc.
   68    G4double pSquared = y[3]*y[3] + y[4]*y[4] + y[5]*y[5] ;
 
   70    G4double Energy   = std::sqrt( pSquared + fMassCof );
 
   73    G4double pModuleInverse  = 1.0/std::sqrt(pSquared) ;
 
   78    G4double cof1     = fElectroMagCof*pModuleInverse ;
 
   82    dydx[0] = y[3]*pModuleInverse ;                         
 
   83    dydx[1] = y[4]*pModuleInverse ;                         
 
   84    dydx[2] = y[5]*pModuleInverse ;                        
 
   86    dydx[3] = cof1*(cof2*Field[0] - (y[4]*Field[5] - y[5]*Field[4])) ;
 
   88    dydx[4] = cof1*(cof2*Field[1] - (y[5]*Field[3] - y[3]*Field[5])) ; 
 
   90    dydx[5] = cof1*(cof2*Field[2] - (y[3]*Field[4] - y[4]*Field[3])) ;  
 
   95    dydx[7] = inverse_velocity;
 
 
 
 
Implements G4EquationOfMotion.
Definition at line 45 of file G4MonopoleEq.cc.
   50   fElectroMagCof =  
eplus*pcharge;  
 
   53   fMassCof = particleMass*particleMass ; 
 
G4double GetCharge() const 
 
static constexpr double eplus
 
 
 
 
The documentation for this class was generated from the following files:
- source/geant4.10.03.p02/source/geometry/magneticfield/include/G4MonopoleEq.hh
 
- source/geant4.10.03.p02/source/geometry/magneticfield/src/G4MonopoleEq.cc