80 edm::LogVerbatim(
"PhysicsList") <<
"### " << GetPhysicsName() <<
" Construct EM Processes";
87 G4EmBuilder::PrepareEMPhysics();
89 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
91 G4hMultipleScattering* hmsc =
new G4hMultipleScattering(
"ionmsc");
92 G4NuclearStopping* pnuc(
nullptr);
95 G4double highEnergyLimit = G4EmParameters::Instance()->MscEnergyLimit();
97 const G4Region* aRegion = G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
98 const G4Region* bRegion = G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
101 G4ParticleDefinition* particle = G4Gamma::Gamma();
103 G4PhotoElectricEffect* pee =
new G4PhotoElectricEffect();
105 if (G4EmParameters::Instance()->GeneralProcessActive()) {
106 G4GammaGeneralProcess* sp =
new G4GammaGeneralProcess();
107 sp->AddEmProcess(pee);
108 sp->AddEmProcess(
new G4ComptonScattering());
109 sp->AddEmProcess(
new G4GammaConversion());
110 G4LossTableManager::Instance()->SetGammaGeneralProcess(sp);
111 ph->RegisterProcess(sp, particle);
114 ph->RegisterProcess(pee, particle);
115 ph->RegisterProcess(
new G4ComptonScattering(), particle);
116 ph->RegisterProcess(
new G4GammaConversion(), particle);
122 G4eIonisation* eioni =
new G4eIonisation();
124 G4eMultipleScattering* msc =
new G4eMultipleScattering;
125 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
126 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
127 msc1->SetHighEnergyLimit(highEnergyLimit);
128 msc2->SetLowEnergyLimit(highEnergyLimit);
129 msc->SetEmModel(msc1);
130 msc->SetEmModel(msc2);
133 if (
nullptr != aRegion ||
nullptr != bRegion) {
134 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
135 msc3->SetHighEnergyLimit(highEnergyLimit);
141 msc3->SetLocked(
true);
143 if (
nullptr != aRegion) {
144 msc->AddEmModel(-1, msc3, aRegion);
146 if (
nullptr != bRegion) {
147 msc->AddEmModel(-1, msc3, bRegion);
152 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
153 G4CoulombScattering*
ss =
new G4CoulombScattering();
155 ss->SetMinKinEnergy(highEnergyLimit);
156 ssm->SetLowEnergyLimit(highEnergyLimit);
157 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
159 ph->RegisterProcess(msc, particle);
160 ph->RegisterProcess(eioni, particle);
161 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
162 ph->RegisterProcess(
ss, particle);
165 particle = G4Positron::Positron();
166 eioni =
new G4eIonisation();
168 msc =
new G4eMultipleScattering();
169 msc1 =
new G4UrbanMscModel();
170 msc2 =
new G4WentzelVIModel();
171 msc1->SetHighEnergyLimit(highEnergyLimit);
172 msc2->SetLowEnergyLimit(highEnergyLimit);
173 msc->SetEmModel(msc1);
174 msc->SetEmModel(msc2);
177 if (
nullptr != aRegion ||
nullptr != bRegion) {
178 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
179 msc3->SetHighEnergyLimit(highEnergyLimit);
185 msc3->SetLocked(
true);
187 if (
nullptr != aRegion) {
188 msc->AddEmModel(-1, msc3, aRegion);
190 if (
nullptr != bRegion) {
191 msc->AddEmModel(-1, msc3, bRegion);
196 ssm =
new G4eCoulombScatteringModel();
197 ss =
new G4CoulombScattering();
199 ss->SetMinKinEnergy(highEnergyLimit);
200 ssm->SetLowEnergyLimit(highEnergyLimit);
201 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
203 ph->RegisterProcess(msc, particle);
204 ph->RegisterProcess(eioni, particle);
205 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
206 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
207 ph->RegisterProcess(
ss, particle);
210 particle = G4GenericIon::GenericIon();
211 G4ionIonisation* ionIoni =
new G4ionIonisation();
212 ph->RegisterProcess(hmsc, particle);
213 ph->RegisterProcess(ionIoni, particle);
216 G4EmBuilder::ConstructCharged(hmsc, pnuc);
Log< level::Info, true > LogVerbatim
G4MscStepLimitType fStepLimitType