158 edm::LogVerbatim(
"PhysicsList") <<
"### " << GetPhysicsName() <<
" Construct Processes";
165 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
166 G4LossTableManager* man = G4LossTableManager::Instance();
169 G4MuBremsstrahlung* mub =
nullptr;
170 G4MuPairProduction* mup =
nullptr;
171 G4hBremsstrahlung* pib =
nullptr;
172 G4hPairProduction* pip =
nullptr;
173 G4hBremsstrahlung* kb =
nullptr;
174 G4hPairProduction*
kp =
nullptr;
175 G4hBremsstrahlung* pb =
nullptr;
176 G4hPairProduction*
pp =
nullptr;
177 G4ePairProduction* ee =
nullptr;
180 G4MuMultipleScattering* mumsc =
nullptr;
181 G4hMultipleScattering* pimsc =
nullptr;
182 G4hMultipleScattering* kmsc =
nullptr;
183 G4hMultipleScattering* hmsc =
nullptr;
186 G4CoulombScattering* muss =
nullptr;
187 G4CoulombScattering* piss =
nullptr;
188 G4CoulombScattering* kss =
nullptr;
191 G4double highEnergyLimit = 100 *
MeV;
193 G4Region* aRegion = G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
194 G4Region* bRegion = G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
196 edm::LogVerbatim(
"PhysicsList") <<
"CMSEmStandardPhysicsLPM: HcalRegion " << aRegion <<
"; HGCalRegion " << bRegion;
199 G4ParticleTable*
table = G4ParticleTable::GetParticleTable();
205 G4PhotoElectricEffect* photo =
new G4PhotoElectricEffect();
206 photo->SetEmModel(
new G4LivermorePhotoElectricModel());
208 G4ComptonScattering* compt =
new G4ComptonScattering();
209 compt->SetEmModel(
new G4KleinNishinaModel());
211 if (G4EmParameters::Instance()->GeneralProcessActive()) {
212 G4GammaGeneralProcess* sp =
new G4GammaGeneralProcess();
213 sp->AddEmProcess(photo);
214 sp->AddEmProcess(compt);
215 sp->AddEmProcess(
new G4GammaConversion());
216 man->SetGammaGeneralProcess(sp);
217 ph->RegisterProcess(sp, particle);
220 ph->RegisterProcess(photo, particle);
221 ph->RegisterProcess(compt, particle);
222 ph->RegisterProcess(
new G4GammaConversion(), particle);
226 G4eIonisation* eioni =
new G4eIonisation();
228 G4eMultipleScattering* msc =
new G4eMultipleScattering;
229 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
230 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
231 G4GoudsmitSaundersonMscModel* msc3 =
new G4GoudsmitSaundersonMscModel();
232 msc3->SetStepLimitType(fUseSafetyPlus);
233 msc3->SetRangeFactor(0.08);
235 msc1->SetHighEnergyLimit(highEnergyLimit);
236 msc2->SetLowEnergyLimit(highEnergyLimit);
237 msc3->SetHighEnergyLimit(highEnergyLimit);
238 msc3->SetLocked(
true);
239 msc->SetEmModel(msc1);
240 msc->SetEmModel(msc2);
242 msc->AddEmModel(-1, msc3, aRegion);
244 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);
254 G4eBremsstrahlung* brem =
new G4eBremsstrahlung();
255 G4SeltzerBergerModel* br1 =
new G4SeltzerBergerModel();
256 G4eBremsstrahlungRelModel* br2 =
new G4eBremsstrahlungRelModel();
257 br1->SetAngularDistribution(
new G4Generator2BS());
258 br2->SetAngularDistribution(
new G4Generator2BS());
259 brem->SetEmModel(br1);
260 brem->SetEmModel(br2);
261 br1->SetHighEnergyLimit(
GeV);
264 ee =
new G4ePairProduction();
267 ph->RegisterProcess(msc, particle);
268 ph->RegisterProcess(eioni, particle);
269 ph->RegisterProcess(brem, particle);
270 ph->RegisterProcess(ee, particle);
271 ph->RegisterProcess(
ss, particle);
274 G4eIonisation* eioni =
new G4eIonisation();
276 G4eMultipleScattering* msc =
new G4eMultipleScattering;
277 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
278 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
279 G4GoudsmitSaundersonMscModel* msc3 =
new G4GoudsmitSaundersonMscModel();
280 msc3->SetStepLimitType(fUseSafetyPlus);
281 msc3->SetRangeFactor(0.08);
283 msc1->SetHighEnergyLimit(highEnergyLimit);
284 msc2->SetLowEnergyLimit(highEnergyLimit);
285 msc3->SetHighEnergyLimit(highEnergyLimit);
286 msc3->SetLocked(
true);
287 msc->SetEmModel(msc1);
288 msc->SetEmModel(msc2);
290 msc->AddEmModel(-1, msc3, aRegion);
292 msc->AddEmModel(-1, msc3, bRegion);
294 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
295 G4CoulombScattering*
ss =
new G4CoulombScattering();
297 ss->SetMinKinEnergy(highEnergyLimit);
298 ssm->SetLowEnergyLimit(highEnergyLimit);
299 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
302 G4eBremsstrahlung* brem =
new G4eBremsstrahlung();
303 G4SeltzerBergerModel* br1 =
new G4SeltzerBergerModel();
304 G4eBremsstrahlungRelModel* br2 =
new G4eBremsstrahlungRelModel();
305 br1->SetAngularDistribution(
new G4Generator2BS());
306 br2->SetAngularDistribution(
new G4Generator2BS());
307 brem->SetEmModel(br1);
308 brem->SetEmModel(br2);
309 br1->SetHighEnergyLimit(
GeV);
312 ee =
new G4ePairProduction();
315 ph->RegisterProcess(msc, particle);
316 ph->RegisterProcess(eioni, particle);
317 ph->RegisterProcess(brem, particle);
318 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
319 ph->RegisterProcess(ee, particle);
320 ph->RegisterProcess(
ss, particle);
323 if (
nullptr == mub) {
324 mub =
new G4MuBremsstrahlung();
325 mup =
new G4MuPairProduction();
326 mumsc =
new G4MuMultipleScattering();
327 mumsc->SetEmModel(
new G4WentzelVIModel());
328 muss =
new G4CoulombScattering();
330 ph->RegisterProcess(mumsc, particle);
331 ph->RegisterProcess(
new G4MuIonisation(), particle);
332 ph->RegisterProcess(mub, particle);
333 ph->RegisterProcess(mup, particle);
334 ph->RegisterProcess(muss, particle);
337 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
338 ph->RegisterProcess(
new G4ionIonisation(), particle);
341 if (
nullptr == hmsc) {
342 hmsc =
new G4hMultipleScattering(
"ionmsc");
344 ph->RegisterProcess(hmsc, particle);
345 ph->RegisterProcess(
new G4ionIonisation(), particle);
348 if (
nullptr == pib) {
349 pib =
new G4hBremsstrahlung();
350 pip =
new G4hPairProduction();
351 pimsc =
new G4hMultipleScattering();
352 pimsc->SetEmModel(
new G4WentzelVIModel());
353 piss =
new G4CoulombScattering();
355 ph->RegisterProcess(pimsc, particle);
356 ph->RegisterProcess(
new G4hIonisation(), particle);
357 ph->RegisterProcess(pib, particle);
358 ph->RegisterProcess(pip, particle);
359 ph->RegisterProcess(piss, particle);
363 kb =
new G4hBremsstrahlung();
364 kp =
new G4hPairProduction();
365 kmsc =
new G4hMultipleScattering();
366 kmsc->SetEmModel(
new G4WentzelVIModel());
367 kss =
new G4CoulombScattering();
369 ph->RegisterProcess(kmsc, particle);
370 ph->RegisterProcess(
new G4hIonisation(), particle);
371 ph->RegisterProcess(kb, particle);
372 ph->RegisterProcess(
kp, particle);
373 ph->RegisterProcess(kss, particle);
377 pb =
new G4hBremsstrahlung();
378 pp =
new G4hPairProduction();
380 G4hMultipleScattering* pmsc =
new G4hMultipleScattering();
381 pmsc->SetEmModel(
new G4WentzelVIModel());
382 G4hIonisation* hIoni =
new G4hIonisation();
383 G4CoulombScattering*
pss =
new G4CoulombScattering();
385 ph->RegisterProcess(pmsc, particle);
386 ph->RegisterProcess(hIoni, particle);
387 ph->RegisterProcess(pb, particle);
388 ph->RegisterProcess(
pp, particle);
389 ph->RegisterProcess(
pss, particle);
391 }
else if (particle->GetPDGCharge() != 0.0) {
392 if (
nullptr == hmsc) {
393 hmsc =
new G4hMultipleScattering(
"ionmsc");
395 ph->RegisterProcess(hmsc, particle);
396 ph->RegisterProcess(
new G4hIonisation(), particle);
401 G4VAtomDeexcitation* de =
new G4UAtomicDeexcitation();
402 G4LossTableManager::Instance()->SetAtomDeexcitation(de);