96 edm::LogVerbatim(
"PhysicsList") <<
"### " << GetPhysicsName() <<
" Construct Processes";
102 G4EmBuilder::PrepareEMPhysics();
104 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
107 G4hMultipleScattering* hmsc =
new G4hMultipleScattering(
"ionmsc");
108 G4double nielEnergyLimit = G4EmParameters::Instance()->MaxNIELEnergy();
109 G4NuclearStopping* pnuc =
nullptr;
110 if (nielEnergyLimit > 0.0) {
111 pnuc =
new G4NuclearStopping();
112 pnuc->SetMaxKinEnergy(nielEnergyLimit);
116 G4double highEnergyLimit = G4EmParameters::Instance()->MscEnergyLimit();
119 G4ParticleDefinition* particle = G4Gamma::Gamma();
122 G4PhotoElectricEffect* pe =
new G4PhotoElectricEffect();
123 G4VEmModel* theLivermorePEModel =
new G4LivermorePhotoElectricModel();
124 pe->SetEmModel(theLivermorePEModel);
127 G4ComptonScattering*
cs =
new G4ComptonScattering;
128 cs->SetEmModel(
new G4KleinNishinaModel());
129 G4VEmModel* theLowEPComptonModel =
new G4LowEPComptonModel();
130 theLowEPComptonModel->SetHighEnergyLimit(20 * CLHEP::MeV);
131 cs->AddEmModel(0, theLowEPComptonModel);
134 G4GammaConversion* gc =
new G4GammaConversion();
135 G4VEmModel*
conv =
new G4BetheHeitler5DModel();
136 gc->SetEmModel(
conv);
138 if (G4EmParameters::Instance()->GeneralProcessActive()) {
139 G4GammaGeneralProcess* sp =
new G4GammaGeneralProcess();
140 sp->AddEmProcess(pe);
141 sp->AddEmProcess(
cs);
142 sp->AddEmProcess(gc);
143 sp->AddEmProcess(
new G4RayleighScattering());
144 G4LossTableManager::Instance()->SetGammaGeneralProcess(sp);
145 ph->RegisterProcess(sp, particle);
147 ph->RegisterProcess(pe, particle);
148 ph->RegisterProcess(
cs, particle);
149 ph->RegisterProcess(gc, particle);
150 ph->RegisterProcess(
new G4RayleighScattering(), particle);
157 G4eMultipleScattering* msc =
new G4eMultipleScattering();
160 G4GoudsmitSaundersonMscModel* msc1 =
new G4GoudsmitSaundersonMscModel();
161 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
162 msc1->SetHighEnergyLimit(highEnergyLimit);
163 msc2->SetLowEnergyLimit(highEnergyLimit);
164 msc->SetEmModel(msc1);
165 msc->SetEmModel(msc2);
167 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
168 G4CoulombScattering*
ss =
new G4CoulombScattering();
170 ss->SetMinKinEnergy(highEnergyLimit);
171 ssm->SetLowEnergyLimit(highEnergyLimit);
172 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
175 ssm =
new G4eCoulombScatteringModel();
176 ss =
new G4CoulombScattering();
178 ss->SetMinKinEnergy(highEnergyLimit);
179 ssm->SetLowEnergyLimit(highEnergyLimit);
180 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
183 G4eIonisation* eioni =
new G4eIonisation();
184 G4VEmModel* theIoniLiv =
new G4LivermoreIonisationModel();
185 theIoniLiv->SetHighEnergyLimit(0.1 * CLHEP::MeV);
186 eioni->AddEmModel(0, theIoniLiv,
new G4UniversalFluctuation());
189 G4eBremsstrahlung* brem =
new G4eBremsstrahlung();
190 G4SeltzerBergerModel* br1 =
new G4SeltzerBergerModel();
191 G4eBremsstrahlungRelModel* br2 =
new G4eBremsstrahlungRelModel();
192 br1->SetAngularDistribution(
new G4Generator2BS());
193 br2->SetAngularDistribution(
new G4Generator2BS());
194 brem->SetEmModel(br1);
195 brem->SetEmModel(br2);
196 br1->SetHighEnergyLimit(CLHEP::GeV);
198 G4ePairProduction* ee =
new G4ePairProduction();
201 ph->RegisterProcess(msc, particle);
202 ph->RegisterProcess(eioni, particle);
203 ph->RegisterProcess(brem, particle);
204 ph->RegisterProcess(ee, particle);
205 ph->RegisterProcess(
ss, particle);
208 particle = G4Positron::Positron();
211 msc =
new G4eMultipleScattering();
214 msc1 =
new G4GoudsmitSaundersonMscModel();
215 msc2 =
new G4WentzelVIModel();
216 msc1->SetHighEnergyLimit(highEnergyLimit);
217 msc2->SetLowEnergyLimit(highEnergyLimit);
218 msc->SetEmModel(msc1);
219 msc->SetEmModel(msc2);
222 ssm =
new G4eCoulombScatteringModel();
223 ss =
new G4CoulombScattering();
225 ss->SetMinKinEnergy(highEnergyLimit);
226 ssm->SetLowEnergyLimit(highEnergyLimit);
227 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
230 eioni =
new G4eIonisation();
237 brem =
new G4eBremsstrahlung();
238 br1 =
new G4SeltzerBergerModel();
239 br2 =
new G4eBremsstrahlungRelModel();
240 br1->SetAngularDistribution(
new G4Generator2BS());
241 br2->SetAngularDistribution(
new G4Generator2BS());
242 brem->SetEmModel(br1);
243 brem->SetEmModel(br2);
244 br1->SetHighEnergyLimit(CLHEP::GeV);
247 ph->RegisterProcess(msc, particle);
248 ph->RegisterProcess(eioni, particle);
249 ph->RegisterProcess(brem, particle);
250 ph->RegisterProcess(ee, particle);
251 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
252 ph->RegisterProcess(
ss, particle);
255 particle = G4GenericIon::GenericIon();
256 G4ionIonisation* ionIoni =
new G4ionIonisation();
257 ionIoni->SetEmModel(
new G4IonParametrisedLossModel());
258 ph->RegisterProcess(hmsc, particle);
259 ph->RegisterProcess(ionIoni, particle);
261 ph->RegisterProcess(pnuc, particle);
264 G4EmBuilder::ConstructCharged(hmsc, pnuc);
Log< level::Info, true > LogVerbatim