140 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
143 G4MuBremsstrahlung* mub =
nullptr;
144 G4MuPairProduction* mup =
nullptr;
145 G4hBremsstrahlung* pib =
nullptr;
146 G4hPairProduction* pip =
nullptr;
147 G4hBremsstrahlung* kb =
nullptr;
148 G4hPairProduction*
kp =
nullptr;
149 G4hBremsstrahlung* pb =
nullptr;
150 G4hPairProduction*
pp =
nullptr;
153 G4MuMultipleScattering* mumsc =
nullptr;
154 G4hMultipleScattering* pimsc =
nullptr;
155 G4hMultipleScattering* kmsc =
nullptr;
156 G4hMultipleScattering* pmsc =
nullptr;
157 G4hMultipleScattering* hmsc =
nullptr;
160 G4ParticleTable*
table = G4ParticleTable::GetParticleTable();
168 ph->RegisterProcess(
new G4PhotoElectricEffect(), particle);
169 ph->RegisterProcess(
new G4ComptonScattering(), particle);
170 ph->RegisterProcess(
new G4GammaConversion(), particle);
173 G4eIonisation* eioni =
new G4eIonisation();
174 G4eMultipleScattering* msc =
new G4eMultipleScattering();
175 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
177 ph->RegisterProcess(msc, particle);
178 ph->RegisterProcess(eioni, particle);
179 ph->RegisterProcess(ebrem, particle);
182 G4eIonisation* eioni =
new G4eIonisation();
183 G4eMultipleScattering* msc =
new G4eMultipleScattering();
184 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
186 ph->RegisterProcess(msc, particle);
187 ph->RegisterProcess(eioni, particle);
188 ph->RegisterProcess(ebrem, particle);
189 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
192 if (
nullptr == mub) {
193 mub =
new G4MuBremsstrahlung();
194 mup =
new G4MuPairProduction();
195 mumsc =
new G4MuMultipleScattering();
197 ph->RegisterProcess(mumsc, particle);
198 ph->RegisterProcess(
new G4MuIonisation(), particle);
199 ph->RegisterProcess(mub, particle);
200 ph->RegisterProcess(mup, particle);
203 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
204 ph->RegisterProcess(
new G4ionIonisation(), particle);
207 if (
nullptr == hmsc) {
208 hmsc =
new G4hMultipleScattering(
"ionmsc");
210 ph->RegisterProcess(hmsc, particle);
211 ph->RegisterProcess(
new G4ionIonisation(), particle);
214 if (
nullptr == pib) {
215 pib =
new G4hBremsstrahlung();
216 pip =
new G4hPairProduction();
217 pimsc =
new G4hMultipleScattering();
219 ph->RegisterProcess(pimsc, particle);
220 ph->RegisterProcess(
new G4hIonisation(), particle);
221 ph->RegisterProcess(pib, particle);
222 ph->RegisterProcess(pip, particle);
226 kb =
new G4hBremsstrahlung();
227 kp =
new G4hPairProduction();
228 kmsc =
new G4hMultipleScattering();
230 ph->RegisterProcess(kmsc, particle);
231 ph->RegisterProcess(
new G4hIonisation(), particle);
232 ph->RegisterProcess(kb, particle);
233 ph->RegisterProcess(
kp, particle);
237 pb =
new G4hBremsstrahlung();
238 pp =
new G4hPairProduction();
240 pmsc =
new G4hMultipleScattering();
241 ph->RegisterProcess(pmsc, particle);
242 ph->RegisterProcess(
new G4hIonisation(), particle);
243 ph->RegisterProcess(pb, particle);
244 ph->RegisterProcess(
pp, particle);
246 }
else if (particle->GetPDGCharge() != 0.0) {
247 if (
nullptr == hmsc) {
248 hmsc =
new G4hMultipleScattering(
"ionmsc");
250 ph->RegisterProcess(hmsc, particle);
251 ph->RegisterProcess(
new G4hIonisation(), particle);