156 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
163 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
166 G4MuBremsstrahlung* mub =
nullptr;
167 G4MuPairProduction* mup =
nullptr;
168 G4hBremsstrahlung* pib =
nullptr;
169 G4hPairProduction* pip =
nullptr;
170 G4hBremsstrahlung* kb =
nullptr;
171 G4hPairProduction*
kp =
nullptr;
172 G4hBremsstrahlung* pb =
nullptr;
173 G4hPairProduction*
pp =
nullptr;
174 G4ePairProduction* ee =
nullptr;
177 G4MuMultipleScattering* mumsc =
nullptr;
178 G4hMultipleScattering* pimsc =
nullptr;
179 G4hMultipleScattering* kmsc =
nullptr;
180 G4hMultipleScattering* hmsc =
nullptr;
183 G4CoulombScattering* muss =
nullptr;
184 G4CoulombScattering* piss =
nullptr;
185 G4CoulombScattering* kss =
nullptr;
188 G4double highEnergyLimit = 100 *
MeV;
191 G4NuclearStopping* pnuc =
nullptr;
193 G4Region* aRegion = G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
194 G4Region* bRegion = G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
196 G4ParticleTable* table = G4ParticleTable::GetParticleTable();
199 G4ParticleDefinition* particle = table->FindParticle(
particleName);
202 G4PhotoElectricEffect* photo =
new G4PhotoElectricEffect();
203 photo->SetEmModel(
new G4LivermorePhotoElectricModel());
204 ph->RegisterProcess(photo, particle);
205 G4ComptonScattering* compt =
new G4ComptonScattering();
206 compt->SetEmModel(
new G4KleinNishinaModel());
207 ph->RegisterProcess(compt, particle);
208 ph->RegisterProcess(
new G4GammaConversion(), particle);
211 G4eIonisation* eioni =
new G4eIonisation();
213 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
214 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
215 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
216 G4GoudsmitSaundersonMscModel* msc3 =
new G4GoudsmitSaundersonMscModel();
217 msc3->SetStepLimitType(fUseSafetyPlus);
218 msc3->SetRangeFactor(0.08);
220 msc1->SetHighEnergyLimit(highEnergyLimit);
221 msc2->SetLowEnergyLimit(highEnergyLimit);
222 msc3->SetHighEnergyLimit(highEnergyLimit);
223 msc3->SetLocked(
true);
224 msc->SetEmModel(msc1);
225 msc->SetEmModel(msc2);
226 msc->AddEmModel(-1, msc3, aRegion);
228 msc->AddEmModel(-1, msc3, bRegion);
230 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
231 G4CoulombScattering* ss =
new G4CoulombScattering();
233 ss->SetMinKinEnergy(highEnergyLimit);
234 ssm->SetLowEnergyLimit(highEnergyLimit);
235 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
238 G4eBremsstrahlung* brem =
new G4eBremsstrahlung();
239 G4SeltzerBergerModel* br1 =
new G4SeltzerBergerModel();
240 G4eBremsstrahlungRelModel* br2 =
new G4eBremsstrahlungRelModel();
241 br1->SetAngularDistribution(
new G4Generator2BS());
242 br2->SetAngularDistribution(
new G4Generator2BS());
243 brem->SetEmModel(br1);
244 brem->SetEmModel(br2);
245 br1->SetHighEnergyLimit(
GeV);
248 ee =
new G4ePairProduction();
251 ph->RegisterProcess(msc, particle);
252 ph->RegisterProcess(eioni, particle);
253 ph->RegisterProcess(brem, particle);
254 ph->RegisterProcess(ee, particle);
255 ph->RegisterProcess(ss, particle);
258 G4eIonisation* eioni =
new G4eIonisation();
260 G4eMultipleScattering* msc =
new G4eMultipleScattering;
261 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
262 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
263 G4GoudsmitSaundersonMscModel* msc3 =
new G4GoudsmitSaundersonMscModel();
264 msc3->SetStepLimitType(fUseSafetyPlus);
265 msc3->SetRangeFactor(0.08);
267 msc1->SetHighEnergyLimit(highEnergyLimit);
268 msc2->SetLowEnergyLimit(highEnergyLimit);
269 msc3->SetHighEnergyLimit(highEnergyLimit);
270 msc3->SetLocked(
true);
271 msc->SetEmModel(msc1);
272 msc->SetEmModel(msc2);
273 msc->AddEmModel(-1, msc3, aRegion);
275 msc->AddEmModel(-1, msc3, bRegion);
277 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
278 G4CoulombScattering* ss =
new G4CoulombScattering();
280 ss->SetMinKinEnergy(highEnergyLimit);
281 ssm->SetLowEnergyLimit(highEnergyLimit);
282 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
285 G4eBremsstrahlung* brem =
new G4eBremsstrahlung();
286 G4SeltzerBergerModel* br1 =
new G4SeltzerBergerModel();
287 G4eBremsstrahlungRelModel* br2 =
new G4eBremsstrahlungRelModel();
288 br1->SetAngularDistribution(
new G4Generator2BS());
289 br2->SetAngularDistribution(
new G4Generator2BS());
290 brem->SetEmModel(br1);
291 brem->SetEmModel(br2);
292 br1->SetHighEnergyLimit(
GeV);
295 ee =
new G4ePairProduction();
298 ph->RegisterProcess(msc, particle);
299 ph->RegisterProcess(eioni, particle);
300 ph->RegisterProcess(brem, particle);
301 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
302 ph->RegisterProcess(ee, particle);
303 ph->RegisterProcess(ss, particle);
306 if (
nullptr == mub) {
307 mub =
new G4MuBremsstrahlung();
308 mup =
new G4MuPairProduction();
309 mumsc =
new G4MuMultipleScattering();
310 mumsc->SetEmModel(
new G4WentzelVIModel());
311 muss =
new G4CoulombScattering();
313 ph->RegisterProcess(mumsc, particle);
314 ph->RegisterProcess(
new G4MuIonisation(), particle);
315 ph->RegisterProcess(mub, particle);
316 ph->RegisterProcess(mup, particle);
317 ph->RegisterProcess(muss, particle);
321 pnuc =
new G4NuclearStopping();
324 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
325 ph->RegisterProcess(
new G4ionIonisation(), particle);
326 ph->RegisterProcess(pnuc, particle);
329 if (
nullptr == hmsc) {
330 hmsc =
new G4hMultipleScattering(
"ionmsc");
333 pnuc =
new G4NuclearStopping();
335 ph->RegisterProcess(hmsc, particle);
336 ph->RegisterProcess(
new G4ionIonisation(), particle);
337 ph->RegisterProcess(pnuc, particle);
340 if (
nullptr == pib) {
341 pib =
new G4hBremsstrahlung();
342 pip =
new G4hPairProduction();
343 pimsc =
new G4hMultipleScattering();
344 pimsc->SetEmModel(
new G4WentzelVIModel());
345 piss =
new G4CoulombScattering();
347 ph->RegisterProcess(pimsc, particle);
348 ph->RegisterProcess(
new G4hIonisation(), particle);
349 ph->RegisterProcess(pib, particle);
350 ph->RegisterProcess(pip, particle);
351 ph->RegisterProcess(piss, particle);
355 kb =
new G4hBremsstrahlung();
356 kp =
new G4hPairProduction();
357 kmsc =
new G4hMultipleScattering();
358 kmsc->SetEmModel(
new G4WentzelVIModel());
359 kss =
new G4CoulombScattering();
361 ph->RegisterProcess(kmsc, particle);
362 ph->RegisterProcess(
new G4hIonisation(), particle);
363 ph->RegisterProcess(kb, particle);
364 ph->RegisterProcess(kp, particle);
365 ph->RegisterProcess(kss, particle);
369 pb =
new G4hBremsstrahlung();
370 pp =
new G4hPairProduction();
373 pnuc =
new G4NuclearStopping();
376 G4hMultipleScattering* pmsc =
new G4hMultipleScattering();
377 pmsc->SetEmModel(
new G4WentzelVIModel());
378 G4hIonisation* hIoni =
new G4hIonisation();
379 G4CoulombScattering*
pss =
new G4CoulombScattering();
381 ph->RegisterProcess(pmsc, particle);
382 ph->RegisterProcess(hIoni, particle);
383 ph->RegisterProcess(pb, particle);
384 ph->RegisterProcess(pp, particle);
385 ph->RegisterProcess(pss, particle);
397 if (
nullptr == hmsc) {
398 hmsc =
new G4hMultipleScattering(
"ionmsc");
400 ph->RegisterProcess(hmsc, particle);
401 ph->RegisterProcess(
new G4hIonisation(), particle);
405 pnuc->SetMaxKinEnergy(
MeV);
409 G4VAtomDeexcitation* de =
new G4UAtomicDeexcitation();
410 G4LossTableManager::Instance()->SetAtomDeexcitation(de);
const std::vector< G4String > & PartNames() const
std::pair< ALIstring, ALIstring > pss