Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4FieldParameters.h File Reference

Definition of the TG4FieldParameters class. More...

#include <G4MagneticField.hh>
#include <globals.hh>

Go to the source code of this file.

Classes

class  TG4FieldParameters
 The magnetic field parameters. More...
 

Enumerations

enum  FieldType { kMagnetic , kElectroMagnetic , kGravity }
 The available fields in Geant4. More...
 
enum  EquationType {
  kMagUsualEqRhs , kMagSpinEqRhs , kEqMagElectric , kEqEMFieldWithSpin ,
  kEqEMFieldWithEDM , kUserEquation
}
 
enum  StepperType {
  kCashKarpRKF45 , kClassicalRK4 , kBogackiShampine23 , kBogackiShampine45 ,
  kDormandPrince745 , kDormandPrinceRK56 , kDormandPrinceRK78 , kExplicitEuler ,
  kImplicitEuler , kSimpleHeum , kSimpleRunge , kTsitourasRK45 ,
  kConstRK4 , kExactHelixStepper , kHelixExplicitEuler , kHelixHeum ,
  kHelixImplicitEuler , kHelixMixedStepper , kHelixSimpleRunge , kNystromRK4 ,
  kRKG3Stepper , kUserStepper , kRK547FEq1 , kRK547FEq2 ,
  kRK547FEq3
}
 

Detailed Description

Definition of the TG4FieldParameters class.

Author
I. Hrivnacova; IPN, Orsay

Definition in file TG4FieldParameters.h.

Enumeration Type Documentation

◆ FieldType

enum FieldType

The available fields in Geant4.

Enumerator
kMagnetic 

magnetic field

kElectroMagnetic 

electromagnetic field

kGravity 

gravity field

Definition at line 27 of file TG4FieldParameters.h.

◆ EquationType

The available equations of motion of a particle in a field in Geant4

Enumerator
kMagUsualEqRhs 

G4Mag_UsualEqRhs: the standard right-hand side for equation of motion.

kMagSpinEqRhs 

G4Mag_SpinEqRhs: the equation of motion for a particle with spin in a pure magnetic field

kEqMagElectric 

G4EqMagElectricField: Equation of motion in a combined electric and magnetic field

kEqEMFieldWithSpin 

G4EqEMFieldWithSpin: Equation of motion for a particle with spin in a combined electric and magnetic field

kEqEMFieldWithEDM 

G4EqEMFieldWithEDM: Equation of motion in a combined electric and magnetic field, with spin tracking for both MDM and EDM terms

kUserEquation 

User defined equation of motion.

Definition at line 36 of file TG4FieldParameters.h.

◆ StepperType

The available integrator of particle's equation of motion in Geant4

Enumerator
kCashKarpRKF45 

G4CashKarpRKF45.

kClassicalRK4 

G4ClassicalRK4.

kBogackiShampine23 

G4BogackiShampine23.

kBogackiShampine45 

G4BogackiShampine45.

kDormandPrince745 

G4DormandPrince745.

kDormandPrinceRK56 

G4DormandPrinceRK56.

kDormandPrinceRK78 

G4DormandPrinceRK78.

kExplicitEuler 

G4ExplicitEuler.

kImplicitEuler 

G4ImplicitEuler.

kSimpleHeum 

G4SimpleHeum.

kSimpleRunge 

G4SimpleRunge.

kTsitourasRK45 

G4TsitourasRK45.

kConstRK4 

G4ConstRK4.

kExactHelixStepper 

G4ExactHelixStepper.

kHelixExplicitEuler 

G4HelixExplicitEuler.

kHelixHeum 

G4HelixHeum.

kHelixImplicitEuler 

G4HelixImplicitEuler.

kHelixMixedStepper 

G4HelixMixedStepper.

kHelixSimpleRunge 

G4HelixSimpleRunge.

kNystromRK4 

G4NystromRK4.

kRKG3Stepper 

G4RKG3_Stepper.

kUserStepper 

User defined stepper.

kRK547FEq1 

G4RK547FEq1.

kRK547FEq2 

G4RK547FEq2.

kRK547FEq3 

G4RK547FEq3.

Definition at line 57 of file TG4FieldParameters.h.