129 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
136 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
139 G4MuBremsstrahlung* mub =
new G4MuBremsstrahlung();
140 G4MuPairProduction* mup =
new G4MuPairProduction();
141 G4hBremsstrahlung* pib =
new G4hBremsstrahlung();
142 G4hPairProduction* pip =
new G4hPairProduction();
143 G4hBremsstrahlung* kb =
new G4hBremsstrahlung();
144 G4hPairProduction*
kp =
new G4hPairProduction();
145 G4hBremsstrahlung* pb =
new G4hBremsstrahlung();
146 G4hPairProduction*
pp =
new G4hPairProduction();
149 G4MuMultipleScattering* mumsc =
new G4MuMultipleScattering();
150 mumsc->AddEmModel(0,
new G4WentzelVIModel());
151 G4MuMultipleScattering* pimsc =
new G4MuMultipleScattering();
152 pimsc->AddEmModel(0,
new G4WentzelVIModel());
153 G4MuMultipleScattering* kmsc =
new G4MuMultipleScattering();
154 kmsc->AddEmModel(0,
new G4WentzelVIModel());
155 G4MuMultipleScattering* pmsc =
new G4MuMultipleScattering();
156 pmsc->AddEmModel(0,
new G4WentzelVIModel());
157 G4hMultipleScattering* hmsc =
new G4hMultipleScattering(
"ionmsc");
160 G4double highEnergyLimit = 100*
MeV;
162 aParticleIterator->reset();
163 while( (*aParticleIterator)() ){
164 G4ParticleDefinition* particle = aParticleIterator->value();
165 G4String particleName = particle->GetParticleName();
167 if (particleName ==
"gamma") {
169 ph->RegisterProcess(
new G4PhotoElectricEffect(), particle);
170 ph->RegisterProcess(
new G4ComptonScattering(), particle);
171 ph->RegisterProcess(
new G4GammaConversion(), particle);
173 }
else if (particleName ==
"e-") {
175 G4eIonisation* eioni =
new G4eIonisation();
176 eioni->SetStepFunction(0.8, 1.0*mm);
178 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
179 msc->SetStepLimitType(fMinimal);
181 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
182 msc1->SetHighEnergyLimit(highEnergyLimit);
183 msc2->SetLowEnergyLimit(highEnergyLimit);
184 msc->AddEmModel(0, msc1);
185 msc->AddEmModel(0, msc2);
187 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
188 G4CoulombScattering*
ss =
new G4CoulombScattering();
189 ss->SetEmModel(ssm, 1);
190 ss->SetMinKinEnergy(highEnergyLimit);
191 ssm->SetLowEnergyLimit(highEnergyLimit);
192 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
194 ph->RegisterProcess(msc, particle);
195 ph->RegisterProcess(eioni, particle);
196 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
197 ph->RegisterProcess(ss, particle);
199 }
else if (particleName ==
"e+") {
201 G4eIonisation* eioni =
new G4eIonisation();
202 eioni->SetStepFunction(0.8, 1.0*mm);
204 G4eMultipleScattering* msc =
new G4eMultipleScattering;
205 msc->SetStepLimitType(fMinimal);
207 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
208 msc1->SetHighEnergyLimit(highEnergyLimit);
209 msc2->SetLowEnergyLimit(highEnergyLimit);
210 msc->AddEmModel(0, msc1);
211 msc->AddEmModel(0, msc2);
213 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
214 G4CoulombScattering* ss =
new G4CoulombScattering();
215 ss->SetEmModel(ssm, 1);
216 ss->SetMinKinEnergy(highEnergyLimit);
217 ssm->SetLowEnergyLimit(highEnergyLimit);
218 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
220 ph->RegisterProcess(msc, particle);
221 ph->RegisterProcess(eioni, particle);
222 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
223 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
224 ph->RegisterProcess(ss, particle);
226 }
else if (particleName ==
"mu+" ||
227 particleName ==
"mu-" ) {
229 ph->RegisterProcess(mumsc, particle);
230 ph->RegisterProcess(
new G4MuIonisation(), particle);
231 ph->RegisterProcess(mub, particle);
232 ph->RegisterProcess(mup, particle);
233 ph->RegisterProcess(
new G4CoulombScattering(), particle);
235 }
else if (particleName ==
"alpha" ||
236 particleName ==
"He3" ) {
239 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
240 ph->RegisterProcess(
new G4ionIonisation(), particle);
242 }
else if (particleName ==
"GenericIon") {
244 ph->RegisterProcess(hmsc, particle);
245 ph->RegisterProcess(
new G4ionIonisation(), particle);
247 }
else if (particleName ==
"pi+" ||
248 particleName ==
"pi-" ) {
251 ph->RegisterProcess(pimsc, particle);
252 ph->RegisterProcess(
new G4hIonisation(), particle);
253 ph->RegisterProcess(pib, particle);
254 ph->RegisterProcess(pip, particle);
255 ph->RegisterProcess(
new G4CoulombScattering(), particle);
257 }
else if (particleName ==
"kaon+" ||
258 particleName ==
"kaon-" ) {
261 ph->RegisterProcess(kmsc, particle);
262 ph->RegisterProcess(
new G4hIonisation(), particle);
263 ph->RegisterProcess(kb, particle);
264 ph->RegisterProcess(kp, particle);
265 ph->RegisterProcess(
new G4CoulombScattering(), particle);
268 }
else if (particleName ==
"proton" ||
269 particleName ==
"anti_proton") {
272 ph->RegisterProcess(pmsc, particle);
273 ph->RegisterProcess(
new G4hIonisation(), particle);
274 ph->RegisterProcess(pb, particle);
275 ph->RegisterProcess(pp, particle);
276 ph->RegisterProcess(
new G4CoulombScattering(), particle);
278 }
else if (particleName ==
"B+" ||
279 particleName ==
"B-" ||
280 particleName ==
"D+" ||
281 particleName ==
"D-" ||
282 particleName ==
"Ds+" ||
283 particleName ==
"Ds-" ||
284 particleName ==
"anti_He3" ||
285 particleName ==
"anti_alpha" ||
286 particleName ==
"anti_deuteron" ||
287 particleName ==
"anti_lambda_c+" ||
288 particleName ==
"anti_omega-" ||
289 particleName ==
"anti_sigma_c+" ||
290 particleName ==
"anti_sigma_c++" ||
291 particleName ==
"anti_sigma+" ||
292 particleName ==
"anti_sigma-" ||
293 particleName ==
"anti_triton" ||
294 particleName ==
"anti_xi_c+" ||
295 particleName ==
"anti_xi-" ||
296 particleName ==
"deuteron" ||
297 particleName ==
"lambda_c+" ||
298 particleName ==
"omega-" ||
299 particleName ==
"sigma_c+" ||
300 particleName ==
"sigma_c++" ||
301 particleName ==
"sigma+" ||
302 particleName ==
"sigma-" ||
303 particleName ==
"tau+" ||
304 particleName ==
"tau-" ||
305 particleName ==
"triton" ||
306 particleName ==
"xi_c+" ||
307 particleName ==
"xi-" ) {
309 ph->RegisterProcess(hmsc, particle);
310 ph->RegisterProcess(
new G4hIonisation(), particle);
313 G4EmProcessOptions opt;
316 opt.SetApplyCuts(
true);