6 #include "G4EmParameters.hh"
7 #include "G4ParticleTable.hh"
9 #include "G4ParticleDefinition.hh"
10 #include "G4LossTableManager.hh"
12 #include "G4ComptonScattering.hh"
13 #include "G4GammaConversion.hh"
14 #include "G4PhotoElectricEffect.hh"
16 #include "G4hMultipleScattering.hh"
17 #include "G4eMultipleScattering.hh"
18 #include "G4MuMultipleScattering.hh"
19 #include "G4CoulombScattering.hh"
20 #include "G4eCoulombScatteringModel.hh"
21 #include "G4WentzelVIModel.hh"
22 #include "G4UrbanMscModel.hh"
24 #include "G4eIonisation.hh"
25 #include "G4eBremsstrahlung.hh"
26 #include "G4eplusAnnihilation.hh"
27 #include "G4UAtomicDeexcitation.hh"
29 #include "G4MuIonisation.hh"
30 #include "G4MuBremsstrahlung.hh"
31 #include "G4MuPairProduction.hh"
33 #include "G4hIonisation.hh"
34 #include "G4ionIonisation.hh"
35 #include "G4hBremsstrahlung.hh"
36 #include "G4hPairProduction.hh"
39 #include "G4Electron.hh"
40 #include "G4Positron.hh"
41 #include "G4MuonPlus.hh"
42 #include "G4MuonMinus.hh"
43 #include "G4TauMinus.hh"
44 #include "G4TauPlus.hh"
45 #include "G4PionPlus.hh"
46 #include "G4PionMinus.hh"
47 #include "G4KaonPlus.hh"
48 #include "G4KaonMinus.hh"
49 #include "G4BMesonMinus.hh"
50 #include "G4BMesonPlus.hh"
51 #include "G4DMesonMinus.hh"
52 #include "G4DMesonPlus.hh"
53 #include "G4Proton.hh"
54 #include "G4AntiProton.hh"
55 #include "G4SigmaMinus.hh"
56 #include "G4AntiSigmaMinus.hh"
57 #include "G4SigmaPlus.hh"
58 #include "G4AntiSigmaPlus.hh"
59 #include "G4XiMinus.hh"
60 #include "G4AntiXiMinus.hh"
61 #include "G4OmegaMinus.hh"
62 #include "G4AntiOmegaMinus.hh"
63 #include "G4LambdacPlus.hh"
64 #include "G4AntiLambdacPlus.hh"
65 #include "G4XicPlus.hh"
66 #include "G4AntiXicPlus.hh"
67 #include "G4Deuteron.hh"
68 #include "G4Triton.hh"
71 #include "G4GenericIon.hh"
73 #include "G4PhysicsListHelper.hh"
74 #include "G4BuilderType.hh"
75 #include "G4RegionStore.hh"
76 #include "G4Region.hh"
77 #include "G4GammaGeneralProcess.hh"
79 #include "G4SystemOfUnits.hh"
82 G4EmParameters* param = G4EmParameters::Instance();
85 param->SetApplyCuts(
true);
86 param->SetStepFunction(0.8, 1 * CLHEP::mm);
87 param->SetMscRangeFactor(0.2);
88 param->SetMscStepLimitType(fMinimal);
89 SetPhysicsType(bElectromagnetic);
100 G4Positron::Positron();
101 G4MuonPlus::MuonPlus();
102 G4MuonMinus::MuonMinus();
103 G4TauMinus::TauMinusDefinition();
104 G4TauPlus::TauPlusDefinition();
107 G4PionPlus::PionPlusDefinition();
108 G4PionMinus::PionMinusDefinition();
109 G4KaonPlus::KaonPlusDefinition();
110 G4KaonMinus::KaonMinusDefinition();
111 G4DMesonMinus::DMesonMinusDefinition();
112 G4DMesonPlus::DMesonPlusDefinition();
113 G4BMesonMinus::BMesonMinusDefinition();
114 G4BMesonPlus::BMesonPlusDefinition();
118 G4AntiProton::AntiProton();
119 G4SigmaMinus::SigmaMinusDefinition();
120 G4AntiSigmaMinus::AntiSigmaMinusDefinition();
121 G4SigmaPlus::SigmaPlusDefinition();
122 G4AntiSigmaPlus::AntiSigmaPlusDefinition();
123 G4XiMinus::XiMinusDefinition();
124 G4AntiXiMinus::AntiXiMinusDefinition();
125 G4OmegaMinus::OmegaMinusDefinition();
126 G4AntiOmegaMinus::AntiOmegaMinusDefinition();
127 G4LambdacPlus::LambdacPlusDefinition();
128 G4AntiLambdacPlus::AntiLambdacPlusDefinition();
129 G4XicPlus::XicPlusDefinition();
130 G4AntiXicPlus::AntiXicPlusDefinition();
133 G4Deuteron::Deuteron();
137 G4GenericIon::GenericIonDefinition();
142 edm::LogVerbatim(
"PhysicsList") <<
"### " << GetPhysicsName() <<
" Construct Processes";
149 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
150 G4LossTableManager* man = G4LossTableManager::Instance();
153 G4MuBremsstrahlung* mub =
nullptr;
154 G4MuPairProduction* mup =
nullptr;
155 G4hBremsstrahlung* pib =
nullptr;
156 G4hPairProduction* pip =
nullptr;
157 G4hBremsstrahlung* kb =
nullptr;
158 G4hPairProduction*
kp =
nullptr;
159 G4hBremsstrahlung* pb =
nullptr;
160 G4hPairProduction*
pp =
nullptr;
163 G4MuMultipleScattering* mumsc =
nullptr;
164 G4hMultipleScattering* pimsc =
nullptr;
165 G4hMultipleScattering* kmsc =
nullptr;
166 G4hMultipleScattering* pmsc =
nullptr;
167 G4hMultipleScattering* hmsc =
nullptr;
170 G4CoulombScattering* muss =
nullptr;
171 G4CoulombScattering* piss =
nullptr;
172 G4CoulombScattering* kss =
nullptr;
175 G4double highEnergyLimit = 100 *
MeV;
177 G4Region* aRegion = G4RegionStore::GetInstance()->GetRegion(
"HcalRegion",
false);
178 G4Region* bRegion = G4RegionStore::GetInstance()->GetRegion(
"HGCalRegion",
false);
180 edm::LogVerbatim(
"PhysicsList") <<
"CMSEmStandardPhysicsLPM: HcalRegion " << aRegion <<
"; HGCalRegion " << bRegion;
182 G4ParticleTable*
table = G4ParticleTable::GetParticleTable();
188 G4PhotoElectricEffect* pee =
new G4PhotoElectricEffect();
190 if (G4EmParameters::Instance()->GeneralProcessActive()) {
191 G4GammaGeneralProcess* sp =
new G4GammaGeneralProcess();
192 sp->AddEmProcess(pee);
193 sp->AddEmProcess(
new G4ComptonScattering());
194 sp->AddEmProcess(
new G4GammaConversion());
195 man->SetGammaGeneralProcess(sp);
196 ph->RegisterProcess(sp, particle);
199 ph->RegisterProcess(pee, particle);
200 ph->RegisterProcess(
new G4ComptonScattering(), particle);
201 ph->RegisterProcess(
new G4GammaConversion(), particle);
205 G4eIonisation* eioni =
new G4eIonisation();
207 G4eMultipleScattering* msc =
new G4eMultipleScattering;
208 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
209 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
210 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
211 msc1->SetHighEnergyLimit(highEnergyLimit);
212 msc2->SetLowEnergyLimit(highEnergyLimit);
213 msc3->SetHighEnergyLimit(highEnergyLimit);
214 msc3->SetLocked(
true);
215 msc->SetEmModel(msc1);
216 msc->SetEmModel(msc2);
218 msc->AddEmModel(-1, msc3, aRegion);
221 msc->AddEmModel(-1, msc3, bRegion);
224 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
225 G4CoulombScattering*
ss =
new G4CoulombScattering();
227 ss->SetMinKinEnergy(highEnergyLimit);
228 ssm->SetLowEnergyLimit(highEnergyLimit);
229 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
231 ph->RegisterProcess(msc, particle);
232 ph->RegisterProcess(eioni, particle);
233 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
234 ph->RegisterProcess(
ss, particle);
237 G4eIonisation* eioni =
new G4eIonisation();
239 G4eMultipleScattering* msc =
new G4eMultipleScattering;
240 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
241 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
242 G4UrbanMscModel* msc3 =
new G4UrbanMscModel();
243 msc1->SetHighEnergyLimit(highEnergyLimit);
244 msc2->SetLowEnergyLimit(highEnergyLimit);
245 msc3->SetHighEnergyLimit(highEnergyLimit);
246 msc3->SetLocked(
true);
247 msc->SetEmModel(msc1);
248 msc->SetEmModel(msc2);
250 msc->AddEmModel(-1, msc3, aRegion);
253 msc->AddEmModel(-1, msc3, bRegion);
256 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
257 G4CoulombScattering*
ss =
new G4CoulombScattering();
259 ss->SetMinKinEnergy(highEnergyLimit);
260 ssm->SetLowEnergyLimit(highEnergyLimit);
261 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
263 ph->RegisterProcess(msc, particle);
264 ph->RegisterProcess(eioni, particle);
265 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
266 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
267 ph->RegisterProcess(
ss, particle);
270 if (
nullptr == mub) {
271 mub =
new G4MuBremsstrahlung();
272 mup =
new G4MuPairProduction();
273 mumsc =
new G4MuMultipleScattering();
274 mumsc->SetEmModel(
new G4WentzelVIModel());
275 muss =
new G4CoulombScattering();
277 ph->RegisterProcess(mumsc, particle);
278 ph->RegisterProcess(
new G4MuIonisation(), particle);
279 ph->RegisterProcess(mub, particle);
280 ph->RegisterProcess(mup, particle);
281 ph->RegisterProcess(muss, particle);
284 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
285 ph->RegisterProcess(
new G4ionIonisation(), particle);
288 if (
nullptr == hmsc) {
289 hmsc =
new G4hMultipleScattering(
"ionmsc");
291 ph->RegisterProcess(hmsc, particle);
292 ph->RegisterProcess(
new G4ionIonisation(), particle);
295 if (
nullptr == pib) {
296 pib =
new G4hBremsstrahlung();
297 pip =
new G4hPairProduction();
298 pimsc =
new G4hMultipleScattering();
299 pimsc->SetEmModel(
new G4WentzelVIModel());
300 piss =
new G4CoulombScattering();
302 ph->RegisterProcess(pimsc, particle);
303 ph->RegisterProcess(
new G4hIonisation(), particle);
304 ph->RegisterProcess(pib, particle);
305 ph->RegisterProcess(pip, particle);
306 ph->RegisterProcess(piss, particle);
310 kb =
new G4hBremsstrahlung();
311 kp =
new G4hPairProduction();
312 kmsc =
new G4hMultipleScattering();
313 kmsc->SetEmModel(
new G4WentzelVIModel());
314 kss =
new G4CoulombScattering();
316 ph->RegisterProcess(kmsc, particle);
317 ph->RegisterProcess(
new G4hIonisation(), particle);
318 ph->RegisterProcess(kb, particle);
319 ph->RegisterProcess(
kp, particle);
320 ph->RegisterProcess(kss, particle);
324 pb =
new G4hBremsstrahlung();
325 pp =
new G4hPairProduction();
327 pmsc =
new G4hMultipleScattering();
328 pmsc->SetEmModel(
new G4WentzelVIModel());
330 ph->RegisterProcess(pmsc, particle);
331 ph->RegisterProcess(
new G4hIonisation(), particle);
332 ph->RegisterProcess(pb, particle);
333 ph->RegisterProcess(
pp, particle);
334 ph->RegisterProcess(
new G4CoulombScattering(), particle);
336 }
else if (particle->GetPDGCharge() != 0.0) {
337 if (
nullptr == hmsc) {
338 hmsc =
new G4hMultipleScattering(
"ionmsc");
340 ph->RegisterProcess(hmsc, particle);
341 ph->RegisterProcess(
new G4hIonisation(), particle);
344 edm::LogVerbatim(
"PhysicsList") <<
"CMSEmStandardPhysicsLPM: EM physics is instantiated";