File indexing completed on 2025-01-18 09:58:12
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
0036
0037
0038
0039
0040
0041
0042 #ifndef G4EmExtraPhysics_h
0043 #define G4EmExtraPhysics_h 1
0044
0045 #include "G4VPhysicsConstructor.hh"
0046 #include "globals.hh"
0047
0048 #include "G4EmMessenger.hh"
0049
0050 class G4CascadeInterface;
0051 class G4HadronInelasticProcess;
0052
0053 class G4EmExtraPhysics : public G4VPhysicsConstructor
0054 {
0055 public:
0056
0057 G4EmExtraPhysics(G4int ver = 1);
0058
0059
0060 G4EmExtraPhysics(const G4String& name);
0061
0062 ~G4EmExtraPhysics() override;
0063
0064 void ConstructParticle() override;
0065 void ConstructProcess() override;
0066
0067 void Synch(G4bool val);
0068 void SynchAll(G4bool val);
0069 void GammaNuclear(G4bool val);
0070 void LENDGammaNuclear(G4bool val);
0071 void ElectroNuclear(G4bool val);
0072 void MuonNuclear(G4bool val);
0073 void GammaToMuMu(G4bool val);
0074 void MuonToMuMu(G4bool val);
0075 void PositronToMuMu(G4bool val);
0076 void PositronToHadrons(G4bool val);
0077 void GammaToMuMuFactor(G4double val);
0078 void PositronToMuMuFactor(G4double val);
0079 void PositronToHadronsFactor(G4double val);
0080 void GammaNuclearLEModelLimit(G4double val);
0081 void SetUseGammaNuclearXS(G4bool val);
0082
0083 G4EmExtraPhysics& operator=(const G4EmExtraPhysics& right) = delete;
0084 G4EmExtraPhysics(const G4EmExtraPhysics&) = delete;
0085
0086 private:
0087
0088 void ConstructGammaElectroNuclear();
0089
0090 void ConstructLENDGammaNuclear(G4CascadeInterface* cascade,
0091 G4HadronInelasticProcess* gnuc);
0092
0093 G4bool gnActivated{true};
0094 G4bool eActivated{true};
0095 G4bool gLENDActivated{false};
0096 G4bool munActivated{true};
0097 G4bool synActivated{false};
0098 G4bool synActivatedForAll{false};
0099 G4bool gmumuActivated{false};
0100 G4bool mmumuActivated{false};
0101 G4bool pmumuActivated{false};
0102 G4bool phadActivated{false};
0103 G4bool fUseGammaNuclearXS{true};
0104
0105 G4double gmumuFactor{1.0};
0106 G4double pmumuFactor{1.0};
0107 G4double phadFactor{1.0};
0108 G4double fGNLowEnergyLimit;
0109
0110 G4EmMessenger* theMessenger;
0111 G4int verbose;
0112 };
0113
0114 #endif