131 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
138 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
141 G4MuBremsstrahlung* mub =
new G4MuBremsstrahlung();
142 G4MuPairProduction* mup =
new G4MuPairProduction();
143 G4hBremsstrahlung* pib =
new G4hBremsstrahlung();
144 G4hPairProduction* pip =
new G4hPairProduction();
145 G4hBremsstrahlung* kb =
new G4hBremsstrahlung();
146 G4hPairProduction* kp =
new G4hPairProduction();
147 G4hBremsstrahlung* pb =
new G4hBremsstrahlung();
148 G4hPairProduction*
pp =
new G4hPairProduction();
151 G4MuMultipleScattering* mumsc =
new G4MuMultipleScattering();
152 mumsc->AddEmModel(0,
new G4WentzelVIModel());
153 G4MuMultipleScattering* pimsc =
new G4MuMultipleScattering();
154 pimsc->AddEmModel(0,
new G4WentzelVIModel());
155 G4MuMultipleScattering* kmsc =
new G4MuMultipleScattering();
156 kmsc->AddEmModel(0,
new G4WentzelVIModel());
157 G4MuMultipleScattering* pmsc =
new G4MuMultipleScattering();
158 pmsc->AddEmModel(0,
new G4WentzelVIModel());
159 G4hMultipleScattering* hmsc =
new G4hMultipleScattering(
"ionmsc");
162 G4double highEnergyLimit = 100*MeV;
164 aParticleIterator->reset();
165 while( (*aParticleIterator)() ){
166 G4ParticleDefinition* particle = aParticleIterator->value();
167 G4String particleName = particle->GetParticleName();
169 if (particleName ==
"gamma") {
171 G4PhotoElectricEffect* photo =
new G4PhotoElectricEffect();
172 photo->SetEmModel(
new G4LivermorePhotoElectricModel(),1);
173 ph->RegisterProcess(photo, particle);
174 G4ComptonScattering* compt =
new G4ComptonScattering();
175 compt->SetEmModel(
new G4KleinNishinaModel(), 1);
176 ph->RegisterProcess(compt, particle);
177 ph->RegisterProcess(
new G4GammaConversion(), particle);
179 }
else if (particleName ==
"e-") {
181 G4eIonisation* eioni =
new G4eIonisation();
182 eioni->SetStepFunction(0.8, 1.0*mm);
184 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
185 msc->SetStepLimitType(fMinimal);
187 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
188 msc1->SetHighEnergyLimit(highEnergyLimit);
189 msc2->SetLowEnergyLimit(highEnergyLimit);
190 msc->AddEmModel(0, msc1);
191 msc->AddEmModel(0, msc2);
193 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
194 G4CoulombScattering*
ss =
new G4CoulombScattering();
195 ss->SetEmModel(ssm, 1);
196 ss->SetMinKinEnergy(highEnergyLimit);
197 ssm->SetLowEnergyLimit(highEnergyLimit);
198 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
200 ph->RegisterProcess(msc, particle);
201 ph->RegisterProcess(eioni, particle);
202 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
203 ph->RegisterProcess(ss, particle);
205 }
else if (particleName ==
"e+") {
207 G4eIonisation* eioni =
new G4eIonisation();
208 eioni->SetStepFunction(0.8, 1.0*mm);
210 G4eMultipleScattering* msc =
new G4eMultipleScattering;
211 msc->SetStepLimitType(fMinimal);
213 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
214 msc1->SetHighEnergyLimit(highEnergyLimit);
215 msc2->SetLowEnergyLimit(highEnergyLimit);
216 msc->AddEmModel(0, msc1);
217 msc->AddEmModel(0, msc2);
219 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
220 G4CoulombScattering* ss =
new G4CoulombScattering();
221 ss->SetEmModel(ssm, 1);
222 ss->SetMinKinEnergy(highEnergyLimit);
223 ssm->SetLowEnergyLimit(highEnergyLimit);
224 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
226 ph->RegisterProcess(msc, particle);
227 ph->RegisterProcess(eioni, particle);
228 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
229 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
230 ph->RegisterProcess(ss, particle);
232 }
else if (particleName ==
"mu+" ||
233 particleName ==
"mu-" ) {
235 ph->RegisterProcess(mumsc, particle);
236 ph->RegisterProcess(
new G4MuIonisation(), particle);
237 ph->RegisterProcess(mub, particle);
238 ph->RegisterProcess(mup, particle);
239 ph->RegisterProcess(
new G4CoulombScattering(), particle);
241 }
else if (particleName ==
"alpha" ||
242 particleName ==
"He3" ) {
245 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
246 ph->RegisterProcess(
new G4ionIonisation(), particle);
248 }
else if (particleName ==
"GenericIon") {
250 ph->RegisterProcess(hmsc, particle);
251 ph->RegisterProcess(
new G4ionIonisation(), particle);
253 }
else if (particleName ==
"pi+" ||
254 particleName ==
"pi-" ) {
257 ph->RegisterProcess(pimsc, particle);
258 ph->RegisterProcess(
new G4hIonisation(), particle);
259 ph->RegisterProcess(pib, particle);
260 ph->RegisterProcess(pip, particle);
261 ph->RegisterProcess(
new G4CoulombScattering(), particle);
263 }
else if (particleName ==
"kaon+" ||
264 particleName ==
"kaon-" ) {
267 ph->RegisterProcess(kmsc, particle);
268 ph->RegisterProcess(
new G4hIonisation(), particle);
269 ph->RegisterProcess(kb, particle);
270 ph->RegisterProcess(kp, particle);
271 ph->RegisterProcess(
new G4CoulombScattering(), particle);
274 }
else if (particleName ==
"proton" ||
275 particleName ==
"anti_proton") {
278 ph->RegisterProcess(pmsc, particle);
279 ph->RegisterProcess(
new G4hIonisation(), particle);
280 ph->RegisterProcess(pb, particle);
281 ph->RegisterProcess(pp, particle);
282 ph->RegisterProcess(
new G4CoulombScattering(), particle);
284 }
else if (particleName ==
"B+" ||
285 particleName ==
"B-" ||
286 particleName ==
"D+" ||
287 particleName ==
"D-" ||
288 particleName ==
"Ds+" ||
289 particleName ==
"Ds-" ||
290 particleName ==
"anti_He3" ||
291 particleName ==
"anti_alpha" ||
292 particleName ==
"anti_deuteron" ||
293 particleName ==
"anti_lambda_c+" ||
294 particleName ==
"anti_omega-" ||
295 particleName ==
"anti_sigma_c+" ||
296 particleName ==
"anti_sigma_c++" ||
297 particleName ==
"anti_sigma+" ||
298 particleName ==
"anti_sigma-" ||
299 particleName ==
"anti_triton" ||
300 particleName ==
"anti_xi_c+" ||
301 particleName ==
"anti_xi-" ||
302 particleName ==
"deuteron" ||
303 particleName ==
"lambda_c+" ||
304 particleName ==
"omega-" ||
305 particleName ==
"sigma_c+" ||
306 particleName ==
"sigma_c++" ||
307 particleName ==
"sigma+" ||
308 particleName ==
"sigma-" ||
309 particleName ==
"tau+" ||
310 particleName ==
"tau-" ||
311 particleName ==
"triton" ||
312 particleName ==
"xi_c+" ||
313 particleName ==
"xi-" ) {
315 ph->RegisterProcess(hmsc, particle);
316 ph->RegisterProcess(
new G4hIonisation(), particle);
319 G4EmProcessOptions opt;
322 opt.SetApplyCuts(
true);