- G4ParticleDefinition: this library collects all the parameters needed to define a particle, like the mass, the charge, the spin etc. We modified the original version because it did not include the definition of the gyromagnetic ratio of the particles. Those one are needed when we want to compare the asymmetry spectra of muon and muonium for example.
Directory: particle/management
- G4Muonium: is the class for muonium particle, which do not come directly with the original code.
Directory: particle/leptons
- G4FieldManager: when a new field is created, we have to assign it to a given volume. This is done via the field manager, which stores the pointer to the field. For example, the electric field of the third lense will be assigned to the vacuum surounding the third lense. Each volume containing a field has a field manager.
During the transport of a particle, the field manager will be in charge of returning the pointer to the field and other parameter which the user can specify, like the minimal step size in the volume. We modified this class to be able to handle pointers for different types of field and added a boolean variable to set whereas the considered field has a magnetic component or not (mainly for spin precession).
Directory: geometry/magneticfield
- G4El_UsualEqRhs and G4El_MagEqRhs: thoses classes define the motion equations in electric field and electromagnetic field.
Directory: geometry/magneticfield
- G4MultipleScattering52: contains the parameters for the multiple scattering process. It was modified to be linked to the low energy muons scattering class implemented according to Meyer's algorithm.
Directory: processes/electromagnetic/standard/
After copying those classes in the indicated directories, it is recommanded to recompile the whole geant4 code.