4 #include "G4EmParameters.hh" 5 #include "G4ParticleTable.hh" 7 #include "G4ParticleDefinition.hh" 8 #include "G4ProcessManager.hh" 9 #include "G4LossTableManager.hh" 10 #include "G4RegionStore.hh" 12 #include "G4ComptonScattering.hh" 13 #include "G4GammaConversion.hh" 14 #include "G4PhotoElectricEffect.hh" 15 #include "G4PairProductionRelModel.hh" 17 #include "G4hMultipleScattering.hh" 18 #include "G4eMultipleScattering.hh" 19 #include "G4MscStepLimitType.hh" 21 #include "G4eIonisation.hh" 22 #include "G4eBremsstrahlung.hh" 23 #include "G4eplusAnnihilation.hh" 25 #include "G4MuIonisation.hh" 26 #include "G4MuBremsstrahlung.hh" 27 #include "G4MuPairProduction.hh" 29 #include "G4hIonisation.hh" 30 #include "G4ionIonisation.hh" 31 #include "G4hBremsstrahlung.hh" 32 #include "G4hPairProduction.hh" 35 #include "G4Electron.hh" 36 #include "G4Positron.hh" 37 #include "G4MuonPlus.hh" 38 #include "G4MuonMinus.hh" 39 #include "G4TauMinus.hh" 40 #include "G4TauPlus.hh" 41 #include "G4PionPlus.hh" 42 #include "G4PionMinus.hh" 43 #include "G4KaonPlus.hh" 44 #include "G4KaonMinus.hh" 45 #include "G4BMesonMinus.hh" 46 #include "G4BMesonPlus.hh" 47 #include "G4DMesonMinus.hh" 48 #include "G4DMesonPlus.hh" 49 #include "G4Proton.hh" 50 #include "G4AntiProton.hh" 51 #include "G4SigmaMinus.hh" 52 #include "G4AntiSigmaMinus.hh" 53 #include "G4SigmaPlus.hh" 54 #include "G4AntiSigmaPlus.hh" 55 #include "G4XiMinus.hh" 56 #include "G4AntiXiMinus.hh" 57 #include "G4OmegaMinus.hh" 58 #include "G4AntiOmegaMinus.hh" 59 #include "G4LambdacPlus.hh" 60 #include "G4AntiLambdacPlus.hh" 61 #include "G4XicPlus.hh" 62 #include "G4AntiXicPlus.hh" 63 #include "G4Deuteron.hh" 64 #include "G4Triton.hh" 67 #include "G4GenericIon.hh" 69 #include "G4BuilderType.hh" 70 #include "G4SystemOfUnits.hh" 75 : G4VPhysicsConstructor(name),
verbose(ver), region(reg) {
76 G4EmParameters* param = G4EmParameters::Instance();
79 param->SetApplyCuts(
true);
80 param->SetMscRangeFactor(0.2);
81 param->SetMscStepLimitType(fMinimal);
82 SetPhysicsType(bElectromagnetic);
83 G4LossTableManager::Instance();
94 G4Positron::Positron();
95 G4MuonPlus::MuonPlus();
96 G4MuonMinus::MuonMinus();
97 G4TauMinus::TauMinusDefinition();
98 G4TauPlus::TauPlusDefinition();
101 G4PionPlus::PionPlusDefinition();
102 G4PionMinus::PionMinusDefinition();
103 G4KaonPlus::KaonPlusDefinition();
104 G4KaonMinus::KaonMinusDefinition();
105 G4DMesonMinus::DMesonMinusDefinition();
106 G4DMesonPlus::DMesonPlusDefinition();
107 G4BMesonMinus::BMesonMinusDefinition();
108 G4BMesonPlus::BMesonPlusDefinition();
112 G4AntiProton::AntiProton();
113 G4SigmaMinus::SigmaMinusDefinition();
114 G4AntiSigmaMinus::AntiSigmaMinusDefinition();
115 G4SigmaPlus::SigmaPlusDefinition();
116 G4AntiSigmaPlus::AntiSigmaPlusDefinition();
117 G4XiMinus::XiMinusDefinition();
118 G4AntiXiMinus::AntiXiMinusDefinition();
119 G4OmegaMinus::OmegaMinusDefinition();
120 G4AntiOmegaMinus::AntiOmegaMinusDefinition();
121 G4LambdacPlus::LambdacPlusDefinition();
122 G4AntiLambdacPlus::AntiLambdacPlusDefinition();
123 G4XicPlus::XicPlusDefinition();
124 G4AntiXicPlus::AntiXicPlusDefinition();
127 G4Deuteron::Deuteron();
131 G4GenericIon::GenericIonDefinition();
139 G4MuBremsstrahlung* mub =
nullptr;
140 G4MuPairProduction* mup =
nullptr;
141 G4hBremsstrahlung* pib =
nullptr;
142 G4hPairProduction* pip =
nullptr;
143 G4hBremsstrahlung* kb =
nullptr;
144 G4hPairProduction*
kp =
nullptr;
145 G4hBremsstrahlung* pb =
nullptr;
146 G4hPairProduction*
pp =
nullptr;
148 G4hMultipleScattering* hmsc =
nullptr;
154 G4ParticleTable* table = G4ParticleTable::GetParticleTable();
157 G4ParticleDefinition* particle = table->FindParticle(
particleName);
158 G4ProcessManager* pmanager = particle->GetProcessManager();
160 G4cout <<
"### " << GetPhysicsName() <<
" instantiates for " 165 pmanager->AddDiscreteProcess(
new G4PhotoElectricEffect);
166 pmanager->AddDiscreteProcess(
new G4ComptonScattering);
167 pmanager->AddDiscreteProcess(
new G4GammaConversion());
171 G4eIonisation* eioni =
new G4eIonisation();
172 eioni->SetStepFunction(0.8, 1.0*mm);
173 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
174 msc->SetStepLimitType(fMinimal);
177 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
179 pmanager->AddProcess(msc, -1, 1, 1);
180 pmanager->AddProcess(eioni, -1, 2, 2);
181 pmanager->AddProcess(ebrem, -1,-3, 3);
185 G4eIonisation* eioni =
new G4eIonisation();
186 eioni->SetStepFunction(0.8, 1.0*mm);
188 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
189 msc->SetStepLimitType(fMinimal);
192 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
194 pmanager->AddProcess(msc, -1, 1, 1);
195 pmanager->AddProcess(eioni, -1, 2, 2);
196 pmanager->AddProcess(ebrem, -1,-3, 3);
197 pmanager->AddProcess(
new G4eplusAnnihilation, 0,-1, 4);
203 mub =
new G4MuBremsstrahlung();
204 mup =
new G4MuPairProduction();
206 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
207 pmanager->AddProcess(
new G4MuIonisation, -1, 2, 2);
208 pmanager->AddProcess(mub, -1,-3, 3);
209 pmanager->AddProcess(mup, -1,-4, 4);
215 if(
nullptr == hmsc) {
216 hmsc =
new G4hMultipleScattering(
"ionmsc");
218 pmanager->AddProcess(hmsc, -1, 1, 1);
219 pmanager->AddProcess(
new G4ionIonisation, -1, 2, 2);
225 pib =
new G4hBremsstrahlung();
226 pip =
new G4hPairProduction();
228 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
229 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
230 pmanager->AddProcess(pib, -1,-3, 3);
231 pmanager->AddProcess(pip, -1,-4, 4);
237 kb =
new G4hBremsstrahlung();
238 kp =
new G4hPairProduction();
240 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
241 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
242 pmanager->AddProcess(kb, -1,-3, 3);
243 pmanager->AddProcess(kp, -1,-4, 4);
248 pb =
new G4hBremsstrahlung();
249 pp =
new G4hPairProduction();
251 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
252 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
253 pmanager->AddProcess(pb, -1,-3, 3);
254 pmanager->AddProcess(pp, -1,-4, 4);
284 if(
nullptr == hmsc) {
285 hmsc =
new G4hMultipleScattering(
"ionmsc");
287 pmanager->AddProcess(hmsc, -1, 1, 1);
288 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
const std::vector< G4String > & PartNames() const
void ConstructProcess() override
void ConstructParticle() override
~CMSEmStandardPhysics95msc93() override
CMSEmStandardPhysics95msc93(const G4String &name, G4int ver, const std::string ®)