79 edm::LogVerbatim(
"PhysicsList") <<
"### " << GetPhysicsName() <<
" Construct EM Processes";
85 G4EmBuilder::PrepareEMPhysics();
87 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
89 G4hMultipleScattering* hmsc =
new G4hMultipleScattering(
"ionmsc");
90 G4NuclearStopping* pnuc(
nullptr);
93 G4double highEnergyLimit = G4EmParameters::Instance()->MscEnergyLimit();
95 const G4Region* aRegion = G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
96 const G4Region* bRegion = G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
99 G4ParticleDefinition* particle = G4Gamma::Gamma();
101 G4PhotoElectricEffect* pee =
new G4PhotoElectricEffect();
102 pee->SetEmModel(
new G4LivermorePhotoElectricModel());
104 if (G4EmParameters::Instance()->GeneralProcessActive()) {
105 G4GammaGeneralProcess* sp =
new G4GammaGeneralProcess();
106 sp->AddEmProcess(pee);
107 sp->AddEmProcess(
new G4ComptonScattering());
108 sp->AddEmProcess(
new G4GammaConversion());
109 G4LossTableManager::Instance()->SetGammaGeneralProcess(sp);
110 ph->RegisterProcess(sp, particle);
113 ph->RegisterProcess(pee, particle);
114 ph->RegisterProcess(
new G4ComptonScattering(), particle);
115 ph->RegisterProcess(
new G4GammaConversion(), particle);
121 G4eIonisation* eioni =
new G4eIonisation();
123 G4eMultipleScattering* msc =
new G4eMultipleScattering;
124 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
125 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
126 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
127 msc1->SetHighEnergyLimit(highEnergyLimit);
128 msc2->SetLowEnergyLimit(highEnergyLimit);
129 msc3->SetHighEnergyLimit(highEnergyLimit);
135 msc3->SetLocked(
true);
136 msc->SetEmModel(msc1);
137 msc->SetEmModel(msc2);
138 if (
nullptr != aRegion) {
139 msc->AddEmModel(-1, msc3, aRegion);
141 if (
nullptr != bRegion) {
142 msc->AddEmModel(-1, msc3, bRegion);
145 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
146 G4CoulombScattering*
ss =
new G4CoulombScattering();
148 ss->SetMinKinEnergy(highEnergyLimit);
149 ssm->SetLowEnergyLimit(highEnergyLimit);
150 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
152 ph->RegisterProcess(msc, particle);
153 ph->RegisterProcess(eioni, particle);
154 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
155 ph->RegisterProcess(
ss, particle);
158 particle = G4Positron::Positron();
159 eioni =
new G4eIonisation();
161 msc =
new G4eMultipleScattering();
162 msc1 =
new G4UrbanMscModel();
163 msc2 =
new G4WentzelVIModel();
164 msc3 =
new G4UrbanMscModel();
165 msc1->SetHighEnergyLimit(highEnergyLimit);
166 msc2->SetLowEnergyLimit(highEnergyLimit);
167 msc3->SetHighEnergyLimit(highEnergyLimit);
173 msc3->SetLocked(
true);
174 msc->SetEmModel(msc1);
175 msc->SetEmModel(msc2);
176 if (
nullptr != aRegion) {
177 msc->AddEmModel(-1, msc3, aRegion);
179 if (
nullptr != bRegion) {
180 msc->AddEmModel(-1, msc3, bRegion);
183 ssm =
new G4eCoulombScatteringModel();
184 ss =
new G4CoulombScattering();
186 ss->SetMinKinEnergy(highEnergyLimit);
187 ssm->SetLowEnergyLimit(highEnergyLimit);
188 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
190 ph->RegisterProcess(msc, particle);
191 ph->RegisterProcess(eioni, particle);
192 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
193 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
194 ph->RegisterProcess(
ss, particle);
197 particle = G4GenericIon::GenericIon();
198 G4ionIonisation* ionIoni =
new G4ionIonisation();
199 ph->RegisterProcess(hmsc, particle);
200 ph->RegisterProcess(ionIoni, particle);
203 G4EmBuilder::ConstructCharged(hmsc, pnuc);