138 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
141 G4MuBremsstrahlung* mub =
nullptr;
142 G4MuPairProduction* mup =
nullptr;
143 G4hBremsstrahlung* pib =
nullptr;
144 G4hPairProduction* pip =
nullptr;
145 G4hBremsstrahlung* kb =
nullptr;
146 G4hPairProduction*
kp =
nullptr;
147 G4hBremsstrahlung* pb =
nullptr;
148 G4hPairProduction*
pp =
nullptr;
151 G4MuMultipleScattering* mumsc =
nullptr;
152 G4hMultipleScattering* pimsc =
nullptr;
153 G4hMultipleScattering* kmsc =
nullptr;
154 G4hMultipleScattering* pmsc =
nullptr;
155 G4hMultipleScattering* hmsc =
nullptr;
161 G4ParticleTable*
table = G4ParticleTable::GetParticleTable();
169 ph->RegisterProcess(
new G4PhotoElectricEffect(), particle);
170 ph->RegisterProcess(
new G4ComptonScattering(), particle);
171 ph->RegisterProcess(
new G4GammaConversion(), particle);
174 G4eIonisation* eioni =
new G4eIonisation();
175 G4eMultipleScattering* msc =
new G4eMultipleScattering;
178 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
180 ph->RegisterProcess(msc, particle);
181 ph->RegisterProcess(eioni, particle);
182 ph->RegisterProcess(ebrem, particle);
185 G4eIonisation* eioni =
new G4eIonisation();
187 G4eMultipleScattering* msc =
new G4eMultipleScattering;
190 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
192 ph->RegisterProcess(msc, particle);
193 ph->RegisterProcess(eioni, particle);
194 ph->RegisterProcess(ebrem, particle);
195 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
198 if (
nullptr == mub) {
199 mub =
new G4MuBremsstrahlung();
200 mup =
new G4MuPairProduction();
201 mumsc =
new G4MuMultipleScattering();
203 ph->RegisterProcess(mumsc, particle);
204 ph->RegisterProcess(
new G4MuIonisation(), particle);
205 ph->RegisterProcess(mub, particle);
206 ph->RegisterProcess(mup, particle);
209 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
210 ph->RegisterProcess(
new G4ionIonisation(), particle);
213 if (
nullptr == hmsc) {
214 hmsc =
new G4hMultipleScattering(
"ionmsc");
216 ph->RegisterProcess(hmsc, particle);
217 ph->RegisterProcess(
new G4ionIonisation(), particle);
220 if (
nullptr == pib) {
221 pib =
new G4hBremsstrahlung();
222 pip =
new G4hPairProduction();
223 pimsc =
new G4hMultipleScattering();
225 ph->RegisterProcess(pimsc, particle);
226 ph->RegisterProcess(
new G4hIonisation(), particle);
227 ph->RegisterProcess(pib, particle);
228 ph->RegisterProcess(pip, particle);
232 kb =
new G4hBremsstrahlung();
233 kp =
new G4hPairProduction();
234 kmsc =
new G4hMultipleScattering();
236 ph->RegisterProcess(kmsc, particle);
237 ph->RegisterProcess(
new G4hIonisation(), particle);
238 ph->RegisterProcess(kb, particle);
239 ph->RegisterProcess(
kp, particle);
243 pb =
new G4hBremsstrahlung();
244 pp =
new G4hPairProduction();
246 pmsc =
new G4hMultipleScattering();
248 ph->RegisterProcess(pmsc, particle);
249 ph->RegisterProcess(
new G4hIonisation(), particle);
250 ph->RegisterProcess(pb, particle);
251 ph->RegisterProcess(
pp, particle);
253 }
else if (particle->GetPDGCharge() != 0.0) {
254 if (
nullptr == hmsc) {
255 hmsc =
new G4hMultipleScattering(
"ionmsc");
257 ph->RegisterProcess(hmsc, particle);
258 ph->RegisterProcess(
new G4hIonisation(), particle);