142 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
149 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
152 G4MuBremsstrahlung* mub =
nullptr;
153 G4MuPairProduction* mup =
nullptr;
154 G4hBremsstrahlung* pib =
nullptr;
155 G4hPairProduction* pip =
nullptr;
156 G4hBremsstrahlung* kb =
nullptr;
157 G4hPairProduction*
kp =
nullptr;
158 G4hBremsstrahlung* pb =
nullptr;
159 G4hPairProduction*
pp =
nullptr;
162 G4MuMultipleScattering* mumsc =
nullptr;
163 G4MuMultipleScattering* pimsc =
nullptr;
164 G4MuMultipleScattering* kmsc =
nullptr;
165 G4MuMultipleScattering* pmsc =
nullptr;
166 G4hMultipleScattering* hmsc =
nullptr;
169 G4double highEnergyLimit = 100*
MeV;
172 G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
174 G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
176 G4ParticleTable* table = G4ParticleTable::GetParticleTable();
179 G4ParticleDefinition* particle = table->FindParticle(
particleName);
183 G4PhotoElectricEffect* photo =
new G4PhotoElectricEffect();
184 photo->SetEmModel(
new G4LivermorePhotoElectricModel(),1);
185 ph->RegisterProcess(photo, particle);
186 G4ComptonScattering* compt =
new G4ComptonScattering();
187 compt->SetEmModel(
new G4KleinNishinaModel(), 1);
188 ph->RegisterProcess(compt, particle);
189 ph->RegisterProcess(
new G4GammaConversion(), particle);
193 G4eIonisation* eioni =
new G4eIonisation();
194 eioni->SetStepFunction(0.8, 1.0*mm);
196 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
197 msc->SetStepLimitType(fMinimal);
198 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
199 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
200 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
201 msc3->SetLocked(
true);
202 msc1->SetHighEnergyLimit(highEnergyLimit);
203 msc2->SetLowEnergyLimit(highEnergyLimit);
204 msc3->SetHighEnergyLimit(highEnergyLimit);
205 msc->AddEmModel(0, msc1);
206 msc->AddEmModel(0, msc2);
207 msc->AddEmModel(-1, msc3, aRegion);
208 if (bRegion) msc->AddEmModel(-1, msc3, bRegion);
210 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
211 G4CoulombScattering* ss =
new G4CoulombScattering();
212 ss->SetEmModel(ssm, 1);
213 ss->SetMinKinEnergy(highEnergyLimit);
214 ssm->SetLowEnergyLimit(highEnergyLimit);
215 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
217 ph->RegisterProcess(msc, particle);
218 ph->RegisterProcess(eioni, particle);
219 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
220 ph->RegisterProcess(ss, particle);
224 G4eIonisation* eioni =
new G4eIonisation();
225 eioni->SetStepFunction(0.8, 1.0*mm);
227 G4eMultipleScattering* msc =
new G4eMultipleScattering;
228 msc->SetStepLimitType(fMinimal);
229 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
230 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
231 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
232 msc1->SetHighEnergyLimit(highEnergyLimit);
233 msc2->SetLowEnergyLimit(highEnergyLimit);
234 msc3->SetHighEnergyLimit(highEnergyLimit);
235 msc3->SetLocked(
true);
236 msc->AddEmModel(0, msc1);
237 msc->AddEmModel(0, msc2);
238 msc->AddEmModel(-1, msc3, aRegion);
239 if (bRegion) msc->AddEmModel(-1, msc3, bRegion);
241 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
242 G4CoulombScattering* ss =
new G4CoulombScattering();
243 ss->SetEmModel(ssm, 1);
244 ss->SetMinKinEnergy(highEnergyLimit);
245 ssm->SetLowEnergyLimit(highEnergyLimit);
246 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
248 ph->RegisterProcess(msc, particle);
249 ph->RegisterProcess(eioni, particle);
250 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
251 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
252 ph->RegisterProcess(ss, particle);
258 mub =
new G4MuBremsstrahlung();
259 mup =
new G4MuPairProduction();
260 mumsc =
new G4MuMultipleScattering();
261 mumsc->AddEmModel(0,
new G4WentzelVIModel());
263 ph->RegisterProcess(mumsc, particle);
264 ph->RegisterProcess(
new G4MuIonisation(), particle);
265 ph->RegisterProcess(mub, particle);
266 ph->RegisterProcess(mup, particle);
267 ph->RegisterProcess(
new G4CoulombScattering(), particle);
272 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
273 ph->RegisterProcess(
new G4ionIonisation(), particle);
277 if(
nullptr == hmsc) {
278 hmsc =
new G4hMultipleScattering(
"ionmsc");
280 ph->RegisterProcess(hmsc, particle);
281 ph->RegisterProcess(
new G4ionIonisation(), particle);
287 pib =
new G4hBremsstrahlung();
288 pip =
new G4hPairProduction();
289 pimsc =
new G4MuMultipleScattering();
290 pimsc->AddEmModel(0,
new G4WentzelVIModel());
292 ph->RegisterProcess(pimsc, particle);
293 ph->RegisterProcess(
new G4hIonisation(), particle);
294 ph->RegisterProcess(pib, particle);
295 ph->RegisterProcess(pip, particle);
296 ph->RegisterProcess(
new G4CoulombScattering(), particle);
302 kb =
new G4hBremsstrahlung();
303 kp =
new G4hPairProduction();
304 kmsc =
new G4MuMultipleScattering();
305 kmsc->AddEmModel(0,
new G4WentzelVIModel());
307 ph->RegisterProcess(kmsc, particle);
308 ph->RegisterProcess(
new G4hIonisation(), particle);
309 ph->RegisterProcess(kb, particle);
310 ph->RegisterProcess(kp, particle);
311 ph->RegisterProcess(
new G4CoulombScattering(), particle);
317 pb =
new G4hBremsstrahlung();
318 pp =
new G4hPairProduction();
319 pmsc =
new G4MuMultipleScattering();
320 pmsc->AddEmModel(0,
new G4WentzelVIModel());
322 ph->RegisterProcess(pmsc, particle);
323 ph->RegisterProcess(
new G4hIonisation(), particle);
324 ph->RegisterProcess(pb, particle);
325 ph->RegisterProcess(pp, particle);
326 ph->RegisterProcess(
new G4CoulombScattering(), particle);
359 if(
nullptr == hmsc) {
360 hmsc =
new G4hMultipleScattering(
"ionmsc");
362 ph->RegisterProcess(hmsc, particle);
363 ph->RegisterProcess(
new G4hIonisation(), particle);
const std::vector< G4String > & PartNames() const