145 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
152 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
155 G4MuBremsstrahlung* mub =
nullptr;
156 G4MuPairProduction* mup =
nullptr;
157 G4hBremsstrahlung* pib =
nullptr;
158 G4hPairProduction* pip =
nullptr;
159 G4hBremsstrahlung* kb =
nullptr;
160 G4hPairProduction* kp =
nullptr;
161 G4hBremsstrahlung* pb =
nullptr;
162 G4hPairProduction*
pp =
nullptr;
165 G4MuMultipleScattering* mumsc =
nullptr;
166 G4hMultipleScattering* pimsc =
nullptr;
167 G4hMultipleScattering* kmsc =
nullptr;
168 G4hMultipleScattering* pmsc =
nullptr;
169 G4hMultipleScattering* hmsc =
nullptr;
172 G4CoulombScattering* muss =
nullptr;
173 G4CoulombScattering* piss =
nullptr;
174 G4CoulombScattering* kss =
nullptr;
175 G4CoulombScattering*
pss =
nullptr;
178 G4double highEnergyLimit = 100*
MeV;
181 G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
183 G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
185 G4ParticleTable* table = G4ParticleTable::GetParticleTable();
188 G4ParticleDefinition* particle = table->FindParticle(
particleName);
192 G4PhotoElectricEffect* photo =
new G4PhotoElectricEffect();
193 photo->SetEmModel(
new G4LivermorePhotoElectricModel());
194 ph->RegisterProcess(photo, particle);
195 G4ComptonScattering* compt =
new G4ComptonScattering();
196 compt->SetEmModel(
new G4KleinNishinaModel());
197 ph->RegisterProcess(compt, particle);
198 ph->RegisterProcess(
new G4GammaConversion(), particle);
202 G4eIonisation* eioni =
new G4eIonisation();
204 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
205 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
206 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
207 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
208 msc3->SetLocked(
true);
209 msc1->SetHighEnergyLimit(highEnergyLimit);
210 msc2->SetLowEnergyLimit(highEnergyLimit);
211 msc3->SetHighEnergyLimit(highEnergyLimit);
212 msc->SetEmModel(msc1);
213 msc->SetEmModel(msc2);
214 msc->AddEmModel(-1, msc3, aRegion);
215 if (bRegion) msc->AddEmModel(-1, msc3, bRegion);
217 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
218 G4CoulombScattering* ss =
new G4CoulombScattering();
220 ss->SetMinKinEnergy(highEnergyLimit);
221 ssm->SetLowEnergyLimit(highEnergyLimit);
222 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
224 ph->RegisterProcess(msc, particle);
225 ph->RegisterProcess(eioni, particle);
226 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
227 ph->RegisterProcess(ss, particle);
231 G4eIonisation* eioni =
new G4eIonisation();
233 G4eMultipleScattering* msc =
new G4eMultipleScattering;
234 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
235 G4WentzelVIModel* msc2=
new G4WentzelVIModel();
236 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
237 msc1->SetHighEnergyLimit(highEnergyLimit);
238 msc2->SetLowEnergyLimit(highEnergyLimit);
239 msc3->SetHighEnergyLimit(highEnergyLimit);
240 msc3->SetLocked(
true);
241 msc->SetEmModel(msc1);
242 msc->SetEmModel(msc2);
243 msc->AddEmModel(-1, msc3, aRegion);
244 if (bRegion) msc->AddEmModel(-1, msc3, bRegion);
246 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
247 G4CoulombScattering* ss =
new G4CoulombScattering();
249 ss->SetMinKinEnergy(highEnergyLimit);
250 ssm->SetLowEnergyLimit(highEnergyLimit);
251 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
253 ph->RegisterProcess(msc, particle);
254 ph->RegisterProcess(eioni, particle);
255 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
256 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
257 ph->RegisterProcess(ss, particle);
263 mub =
new G4MuBremsstrahlung();
264 mup =
new G4MuPairProduction();
265 mumsc =
new G4MuMultipleScattering();
266 mumsc->SetEmModel(
new G4WentzelVIModel());
267 muss =
new G4CoulombScattering();
269 ph->RegisterProcess(mumsc, particle);
270 ph->RegisterProcess(
new G4MuIonisation(), particle);
271 ph->RegisterProcess(mub, particle);
272 ph->RegisterProcess(mup, particle);
273 ph->RegisterProcess(muss, particle);
278 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
279 ph->RegisterProcess(
new G4ionIonisation(), particle);
283 if(
nullptr == hmsc) {
284 hmsc =
new G4hMultipleScattering(
"ionmsc");
286 ph->RegisterProcess(hmsc, particle);
287 ph->RegisterProcess(
new G4ionIonisation(), particle);
293 pib =
new G4hBremsstrahlung();
294 pip =
new G4hPairProduction();
295 pimsc =
new G4hMultipleScattering();
296 pimsc->SetEmModel(
new G4WentzelVIModel());
297 piss =
new G4CoulombScattering();
299 ph->RegisterProcess(pimsc, particle);
300 ph->RegisterProcess(
new G4hIonisation(), particle);
301 ph->RegisterProcess(pib, particle);
302 ph->RegisterProcess(pip, particle);
303 ph->RegisterProcess(piss, particle);
309 kb =
new G4hBremsstrahlung();
310 kp =
new G4hPairProduction();
311 kmsc =
new G4hMultipleScattering();
312 kmsc->SetEmModel(
new G4WentzelVIModel());
313 kss =
new G4CoulombScattering();
315 ph->RegisterProcess(kmsc, particle);
316 ph->RegisterProcess(
new G4hIonisation(), particle);
317 ph->RegisterProcess(kb, particle);
318 ph->RegisterProcess(kp, particle);
319 ph->RegisterProcess(kss, particle);
325 pb =
new G4hBremsstrahlung();
326 pp =
new G4hPairProduction();
327 pmsc =
new G4hMultipleScattering();
329 pmsc->SetEmModel(
new G4WentzelVIModel());
330 pss =
new G4CoulombScattering();
332 ph->RegisterProcess(pmsc, particle);
333 ph->RegisterProcess(
new G4hIonisation(), particle);
334 ph->RegisterProcess(pb, particle);
335 ph->RegisterProcess(pp, particle);
336 ph->RegisterProcess(pss, particle);
369 if(
nullptr == hmsc) {
370 hmsc =
new G4hMultipleScattering(
"ionmsc");
372 ph->RegisterProcess(hmsc, particle);
373 ph->RegisterProcess(
new G4hIonisation(), particle);
378 G4VAtomDeexcitation* de =
new G4UAtomicDeexcitation();
379 G4LossTableManager::Instance()->SetAtomDeexcitation(de);
const std::vector< G4String > & PartNames() const
std::pair< ALIstring, ALIstring > pss