80 if (verboseLevel > 1) {
81 edm::LogVerbatim(
"PhysicsList") <<
"### " << GetPhysicsName() <<
" Construct Processes";
88 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
89 G4LossTableManager* man = G4LossTableManager::Instance();
92 G4MuBremsstrahlung* mub =
nullptr;
93 G4MuPairProduction* mup =
nullptr;
94 G4hBremsstrahlung* pib =
nullptr;
95 G4hPairProduction* pip =
nullptr;
96 G4hBremsstrahlung* kb =
nullptr;
97 G4hPairProduction*
kp =
nullptr;
98 G4hBremsstrahlung* pb =
nullptr;
99 G4hPairProduction*
pp =
nullptr;
102 G4MuMultipleScattering* mumsc =
nullptr;
103 G4hMultipleScattering* pimsc =
nullptr;
104 G4hMultipleScattering* kmsc =
nullptr;
105 G4hMultipleScattering* pmsc =
nullptr;
106 G4hMultipleScattering* hmsc =
nullptr;
109 G4CoulombScattering* muss =
nullptr;
110 G4CoulombScattering* piss =
nullptr;
111 G4CoulombScattering* kss =
nullptr;
114 G4double highEnergyLimit = 100 *
MeV;
116 G4Region* aRegion = G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
117 G4Region* bRegion = G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
118 if (verboseLevel > 1) {
119 edm::LogVerbatim(
"PhysicsList") <<
"CMSEmStandardPhysicsLPM: HcalRegion " << aRegion <<
"; HGCalRegion " << bRegion;
121 G4ParticleTable*
table = G4ParticleTable::GetParticleTable();
123 for (
const auto& particleName : emList.
PartNames()) {
124 G4ParticleDefinition* particle = table->FindParticle(particleName);
126 if (particleName ==
"gamma") {
127 G4PhotoElectricEffect* pee =
new G4PhotoElectricEffect();
129 if (G4EmParameters::Instance()->GeneralProcessActive()) {
130 G4GammaGeneralProcess* sp =
new G4GammaGeneralProcess();
131 sp->AddEmProcess(pee);
132 sp->AddEmProcess(
new G4ComptonScattering());
133 sp->AddEmProcess(
new G4GammaConversion());
134 man->SetGammaGeneralProcess(sp);
135 ph->RegisterProcess(sp, particle);
138 ph->RegisterProcess(pee, particle);
139 ph->RegisterProcess(
new G4ComptonScattering(), particle);
140 ph->RegisterProcess(
new G4GammaConversion(), particle);
143 }
else if (particleName ==
"e-") {
144 G4eIonisation* eioni =
new G4eIonisation();
146 G4eMultipleScattering* msc =
new G4eMultipleScattering;
147 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
148 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
149 msc1->SetHighEnergyLimit(highEnergyLimit);
150 msc2->SetLowEnergyLimit(highEnergyLimit);
151 msc->SetEmModel(msc1);
152 msc->SetEmModel(msc2);
155 if (
nullptr != aRegion ||
nullptr != bRegion) {
156 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
157 msc3->SetHighEnergyLimit(highEnergyLimit);
158 msc3->SetLocked(
true);
160 if (
nullptr != aRegion) {
161 msc->AddEmModel(-1, msc3, aRegion);
163 if (
nullptr != bRegion) {
164 msc->AddEmModel(-1, msc3, bRegion);
168 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
169 G4CoulombScattering*
ss =
new G4CoulombScattering();
171 ss->SetMinKinEnergy(highEnergyLimit);
172 ssm->SetLowEnergyLimit(highEnergyLimit);
173 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
175 ph->RegisterProcess(msc, particle);
176 ph->RegisterProcess(eioni, particle);
177 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
178 ph->RegisterProcess(ss, particle);
180 }
else if (particleName ==
"e+") {
181 G4eIonisation* eioni =
new G4eIonisation();
183 G4eMultipleScattering* msc =
new G4eMultipleScattering;
184 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
185 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
186 msc1->SetHighEnergyLimit(highEnergyLimit);
187 msc2->SetLowEnergyLimit(highEnergyLimit);
188 msc->SetEmModel(msc1);
189 msc->SetEmModel(msc2);
192 if (
nullptr != aRegion ||
nullptr != bRegion) {
193 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
194 msc3->SetHighEnergyLimit(highEnergyLimit);
195 msc3->SetLocked(
true);
197 if (
nullptr != aRegion) {
198 msc->AddEmModel(-1, msc3, aRegion);
200 if (
nullptr != bRegion) {
201 msc->AddEmModel(-1, msc3, bRegion);
205 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
206 G4CoulombScattering* ss =
new G4CoulombScattering();
208 ss->SetMinKinEnergy(highEnergyLimit);
209 ssm->SetLowEnergyLimit(highEnergyLimit);
210 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
212 ph->RegisterProcess(msc, particle);
213 ph->RegisterProcess(eioni, particle);
214 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
215 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
216 ph->RegisterProcess(ss, particle);
218 }
else if (particleName ==
"mu+" || particleName ==
"mu-") {
219 if (
nullptr == mub) {
220 mub =
new G4MuBremsstrahlung();
221 mup =
new G4MuPairProduction();
222 mumsc =
new G4MuMultipleScattering();
223 mumsc->SetEmModel(
new G4WentzelVIModel());
224 muss =
new G4CoulombScattering();
226 ph->RegisterProcess(mumsc, particle);
227 ph->RegisterProcess(
new G4MuIonisation(), particle);
228 ph->RegisterProcess(mub, particle);
229 ph->RegisterProcess(mup, particle);
230 ph->RegisterProcess(muss, particle);
232 }
else if (particleName ==
"alpha" || particleName ==
"He3") {
233 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
234 ph->RegisterProcess(
new G4ionIonisation(), particle);
236 }
else if (particleName ==
"GenericIon") {
237 if (
nullptr == hmsc) {
238 hmsc =
new G4hMultipleScattering(
"ionmsc");
240 ph->RegisterProcess(hmsc, particle);
241 ph->RegisterProcess(
new G4ionIonisation(), particle);
243 }
else if (particleName ==
"pi+" || particleName ==
"pi-") {
244 if (
nullptr == pib) {
245 pib =
new G4hBremsstrahlung();
246 pip =
new G4hPairProduction();
247 pimsc =
new G4hMultipleScattering();
248 pimsc->SetEmModel(
new G4WentzelVIModel());
249 piss =
new G4CoulombScattering();
251 ph->RegisterProcess(pimsc, particle);
252 ph->RegisterProcess(
new G4hIonisation(), particle);
253 ph->RegisterProcess(pib, particle);
254 ph->RegisterProcess(pip, particle);
255 ph->RegisterProcess(piss, particle);
257 }
else if (particleName ==
"kaon+" || particleName ==
"kaon-") {
259 kb =
new G4hBremsstrahlung();
260 kp =
new G4hPairProduction();
261 kmsc =
new G4hMultipleScattering();
262 kmsc->SetEmModel(
new G4WentzelVIModel());
263 kss =
new G4CoulombScattering();
265 ph->RegisterProcess(kmsc, particle);
266 ph->RegisterProcess(
new G4hIonisation(), particle);
267 ph->RegisterProcess(kb, particle);
268 ph->RegisterProcess(kp, particle);
269 ph->RegisterProcess(kss, particle);
271 }
else if (particleName ==
"proton" || particleName ==
"anti_proton") {
273 pb =
new G4hBremsstrahlung();
274 pp =
new G4hPairProduction();
276 pmsc =
new G4hMultipleScattering();
277 pmsc->SetEmModel(
new G4WentzelVIModel());
279 ph->RegisterProcess(pmsc, particle);
280 ph->RegisterProcess(
new G4hIonisation(), particle);
281 ph->RegisterProcess(pb, particle);
282 ph->RegisterProcess(pp, particle);
283 ph->RegisterProcess(
new G4CoulombScattering(), particle);
285 }
else if (particle->GetPDGCharge() != 0.0) {
286 if (
nullptr == hmsc) {
287 hmsc =
new G4hMultipleScattering(
"ionmsc");
289 ph->RegisterProcess(hmsc, particle);
290 ph->RegisterProcess(
new G4hIonisation(), particle);
293 edm::LogVerbatim(
"PhysicsList") <<
"CMSEmStandardPhysicsLPM: EM physics is instantiated";
Log< level::Info, true > LogVerbatim
const std::vector< G4String > & PartNames() const