138 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
145 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
148 G4MuBremsstrahlung* mub =
nullptr;
149 G4MuPairProduction* mup =
nullptr;
150 G4hBremsstrahlung* pib =
nullptr;
151 G4hPairProduction* pip =
nullptr;
152 G4hBremsstrahlung* kb =
nullptr;
153 G4hPairProduction*
kp =
nullptr;
154 G4hBremsstrahlung* pb =
nullptr;
155 G4hPairProduction*
pp =
nullptr;
158 G4MuMultipleScattering* mumsc =
nullptr;
159 G4hMultipleScattering* pimsc =
nullptr;
160 G4hMultipleScattering* kmsc =
nullptr;
161 G4hMultipleScattering* pmsc =
nullptr;
162 G4hMultipleScattering* hmsc =
nullptr;
165 G4CoulombScattering* muss =
nullptr;
166 G4CoulombScattering* piss =
nullptr;
167 G4CoulombScattering* kss =
nullptr;
170 G4double highEnergyLimit = 100 *
MeV;
172 G4Region* aRegion = G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
173 G4Region* bRegion = G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
175 G4ParticleTable* table = G4ParticleTable::GetParticleTable();
178 G4ParticleDefinition* particle = table->FindParticle(
particleName);
181 ph->RegisterProcess(
new G4PhotoElectricEffect(), particle);
182 ph->RegisterProcess(
new G4ComptonScattering(), particle);
183 ph->RegisterProcess(
new G4GammaConversion(), particle);
186 G4eIonisation* eioni =
new G4eIonisation();
188 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
189 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
190 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
191 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
193 msc3->SetLocked(
true);
195 msc1->SetHighEnergyLimit(highEnergyLimit);
196 msc2->SetLowEnergyLimit(highEnergyLimit);
197 msc3->SetHighEnergyLimit(highEnergyLimit);
198 msc->SetEmModel(msc1);
199 msc->SetEmModel(msc2);
200 msc->AddEmModel(-1, msc3, aRegion);
202 msc->AddEmModel(-1, msc3, bRegion);
204 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
205 G4CoulombScattering* ss =
new G4CoulombScattering();
207 ss->SetMinKinEnergy(highEnergyLimit);
208 ssm->SetLowEnergyLimit(highEnergyLimit);
209 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
211 ph->RegisterProcess(msc, particle);
212 ph->RegisterProcess(eioni, particle);
213 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
214 ph->RegisterProcess(ss, particle);
217 G4eIonisation* eioni =
new G4eIonisation();
219 G4eMultipleScattering* msc =
new G4eMultipleScattering;
220 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
221 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
222 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
223 msc1->SetHighEnergyLimit(highEnergyLimit);
224 msc2->SetLowEnergyLimit(highEnergyLimit);
225 msc3->SetHighEnergyLimit(highEnergyLimit);
226 msc3->SetLocked(
true);
227 msc->SetEmModel(msc1);
228 msc->SetEmModel(msc2);
229 msc->AddEmModel(-1, msc3, aRegion);
231 msc->AddEmModel(-1, msc3, bRegion);
233 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
234 G4CoulombScattering* ss =
new G4CoulombScattering();
236 ss->SetMinKinEnergy(highEnergyLimit);
237 ssm->SetLowEnergyLimit(highEnergyLimit);
238 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
240 ph->RegisterProcess(msc, particle);
241 ph->RegisterProcess(eioni, particle);
242 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
243 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
244 ph->RegisterProcess(ss, particle);
247 if (
nullptr == mub) {
248 mub =
new G4MuBremsstrahlung();
249 mup =
new G4MuPairProduction();
250 mumsc =
new G4MuMultipleScattering();
251 mumsc->SetEmModel(
new G4WentzelVIModel());
252 muss =
new G4CoulombScattering();
254 ph->RegisterProcess(mumsc, particle);
255 ph->RegisterProcess(
new G4MuIonisation(), particle);
256 ph->RegisterProcess(mub, particle);
257 ph->RegisterProcess(mup, particle);
258 ph->RegisterProcess(muss, particle);
261 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
262 ph->RegisterProcess(
new G4ionIonisation(), particle);
265 if (
nullptr == hmsc) {
266 hmsc =
new G4hMultipleScattering(
"ionmsc");
268 ph->RegisterProcess(hmsc, particle);
269 ph->RegisterProcess(
new G4ionIonisation(), particle);
272 if (
nullptr == pib) {
273 pib =
new G4hBremsstrahlung();
274 pip =
new G4hPairProduction();
275 pimsc =
new G4hMultipleScattering();
276 pimsc->SetEmModel(
new G4WentzelVIModel());
277 piss =
new G4CoulombScattering();
279 ph->RegisterProcess(pimsc, particle);
280 ph->RegisterProcess(
new G4hIonisation(), particle);
281 ph->RegisterProcess(pib, particle);
282 ph->RegisterProcess(pip, particle);
283 ph->RegisterProcess(piss, particle);
287 kb =
new G4hBremsstrahlung();
288 kp =
new G4hPairProduction();
289 kmsc =
new G4hMultipleScattering();
290 kmsc->SetEmModel(
new G4WentzelVIModel());
291 kss =
new G4CoulombScattering();
293 ph->RegisterProcess(kmsc, particle);
294 ph->RegisterProcess(
new G4hIonisation(), particle);
295 ph->RegisterProcess(kb, particle);
296 ph->RegisterProcess(kp, particle);
297 ph->RegisterProcess(kss, particle);
301 pb =
new G4hBremsstrahlung();
302 pp =
new G4hPairProduction();
304 pmsc =
new G4hMultipleScattering();
305 pmsc->SetEmModel(
new G4WentzelVIModel());
309 ph->RegisterProcess(pmsc, particle);
310 ph->RegisterProcess(
new G4hIonisation(), particle);
311 ph->RegisterProcess(pb, particle);
312 ph->RegisterProcess(pp, particle);
313 ph->RegisterProcess(
new G4CoulombScattering(), particle);
325 if (
nullptr == hmsc) {
326 hmsc =
new G4hMultipleScattering(
"ionmsc");
328 ph->RegisterProcess(hmsc, particle);
329 ph->RegisterProcess(
new G4hIonisation(), particle);
const std::vector< G4String > & PartNames() const