File indexing completed on 2025-02-23 09:22:46
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035 #ifndef EmStandardPhysicsTrackingManager_h
0036 #define EmStandardPhysicsTrackingManager_h 1
0037
0038 #include "G4VTrackingManager.hh"
0039 #include "globals.hh"
0040
0041 class G4eMultipleScattering;
0042 class G4CoulombScattering;
0043 class G4eIonisation;
0044 class G4eBremsstrahlung;
0045 class G4eplusAnnihilation;
0046
0047 class G4ComptonScattering;
0048 class G4GammaConversion;
0049 class G4PhotoElectricEffect;
0050 class G4RayleighScattering;
0051
0052 class EmStandardPhysicsTrackingManager : public G4VTrackingManager
0053 {
0054 public:
0055 EmStandardPhysicsTrackingManager();
0056 ~EmStandardPhysicsTrackingManager();
0057
0058 void BuildPhysicsTable(const G4ParticleDefinition&) override;
0059
0060 void PreparePhysicsTable(const G4ParticleDefinition&) override;
0061
0062 void HandOverOneTrack(G4Track* aTrack) override;
0063
0064 private:
0065 void TrackElectron(G4Track* aTrack);
0066 void TrackPositron(G4Track* aTrack);
0067 void TrackGamma(G4Track* aTrack);
0068
0069 struct
0070 {
0071 G4eMultipleScattering* msc;
0072 G4eIonisation* ioni;
0073 G4eBremsstrahlung* brems;
0074 G4CoulombScattering* ss;
0075 } fElectronProcs;
0076
0077 struct
0078 {
0079 G4eMultipleScattering* msc;
0080 G4eIonisation* ioni;
0081 G4eBremsstrahlung* brems;
0082 G4eplusAnnihilation* annihilation;
0083 G4CoulombScattering* ss;
0084 } fPositronProcs;
0085
0086 struct
0087 {
0088 G4PhotoElectricEffect* pe;
0089 G4ComptonScattering* compton;
0090 G4GammaConversion* conversion;
0091 G4RayleighScattering* rayleigh;
0092 } fGammaProcs;
0093
0094 static EmStandardPhysicsTrackingManager* fMasterTrackingManager;
0095 };
0096
0097 #endif