138 G4MuBremsstrahlung* mub =
nullptr;
139 G4MuPairProduction* mup =
nullptr;
140 G4hBremsstrahlung* pib =
nullptr;
141 G4hPairProduction* pip =
nullptr;
142 G4hBremsstrahlung* kb =
nullptr;
143 G4hPairProduction*
kp =
nullptr;
144 G4hBremsstrahlung* pb =
nullptr;
145 G4hPairProduction*
pp =
nullptr;
147 G4hMultipleScattering* hmsc =
nullptr;
153 G4ParticleTable* table = G4ParticleTable::GetParticleTable();
156 G4ParticleDefinition* particle = table->FindParticle(
particleName);
157 G4ProcessManager* pmanager = particle->GetProcessManager();
159 G4cout <<
"### " << GetPhysicsName() <<
" instantiates for " 164 pmanager->AddDiscreteProcess(
new G4PhotoElectricEffect);
165 pmanager->AddDiscreteProcess(
new G4ComptonScattering);
166 pmanager->AddDiscreteProcess(
new G4GammaConversion());
170 G4eIonisation* eioni =
new G4eIonisation();
171 eioni->SetStepFunction(0.8, 1.0*mm);
172 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
173 msc->SetStepLimitType(fMinimal);
176 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
178 pmanager->AddProcess(msc, -1, 1, 1);
179 pmanager->AddProcess(eioni, -1, 2, 2);
180 pmanager->AddProcess(ebrem, -1,-3, 3);
184 G4eIonisation* eioni =
new G4eIonisation();
185 eioni->SetStepFunction(0.8, 1.0*mm);
187 G4eMultipleScattering* msc =
new G4eMultipleScattering;
188 msc->SetStepLimitType(fMinimal);
191 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
193 pmanager->AddProcess(msc, -1, 1, 1);
194 pmanager->AddProcess(eioni, -1, 2, 2);
195 pmanager->AddProcess(ebrem, -1,-3, 3);
196 pmanager->AddProcess(
new G4eplusAnnihilation, 0,-1, 4);
202 mub =
new G4MuBremsstrahlung();
203 mup =
new G4MuPairProduction();
205 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
206 pmanager->AddProcess(
new G4MuIonisation, -1, 2, 2);
207 pmanager->AddProcess(mub, -1,-3, 3);
208 pmanager->AddProcess(mup, -1,-4, 4);
214 if(
nullptr == hmsc) {
215 hmsc =
new G4hMultipleScattering(
"ionmsc");
217 pmanager->AddProcess(hmsc, -1, 1, 1);
218 pmanager->AddProcess(
new G4ionIonisation, -1, 2, 2);
224 pib =
new G4hBremsstrahlung();
225 pip =
new G4hPairProduction();
227 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
228 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
229 pmanager->AddProcess(pib, -1,-3, 3);
230 pmanager->AddProcess(pip, -1,-4, 4);
236 kb =
new G4hBremsstrahlung();
237 kp =
new G4hPairProduction();
239 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
240 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
241 pmanager->AddProcess(kb, -1,-3, 3);
242 pmanager->AddProcess(kp, -1,-4, 4);
247 pb =
new G4hBremsstrahlung();
248 pp =
new G4hPairProduction();
250 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
251 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
252 pmanager->AddProcess(pb, -1,-3, 3);
253 pmanager->AddProcess(pp, -1,-4, 4);
283 if(
nullptr == hmsc) {
284 hmsc =
new G4hMultipleScattering(
"ionmsc");
286 pmanager->AddProcess(hmsc, -1, 1, 1);
287 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
const std::vector< G4String > & PartNames() const