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"
76 #include "G4SystemOfUnits.hh"
79 G4EmParameters* param = G4EmParameters::Instance();
82 param->SetApplyCuts(
true);
83 param->SetStepFunction(0.8, 1 * CLHEP::mm);
84 param->SetMscRangeFactor(0.2);
85 param->SetMscStepLimitType(fMinimal);
86 SetPhysicsType(bElectromagnetic);
97 G4Positron::Positron();
98 G4MuonPlus::MuonPlus();
99 G4MuonMinus::MuonMinus();
100 G4TauMinus::TauMinusDefinition();
101 G4TauPlus::TauPlusDefinition();
104 G4PionPlus::PionPlusDefinition();
105 G4PionMinus::PionMinusDefinition();
106 G4KaonPlus::KaonPlusDefinition();
107 G4KaonMinus::KaonMinusDefinition();
108 G4DMesonMinus::DMesonMinusDefinition();
109 G4DMesonPlus::DMesonPlusDefinition();
110 G4BMesonMinus::BMesonMinusDefinition();
111 G4BMesonPlus::BMesonPlusDefinition();
115 G4AntiProton::AntiProton();
116 G4SigmaMinus::SigmaMinusDefinition();
117 G4AntiSigmaMinus::AntiSigmaMinusDefinition();
118 G4SigmaPlus::SigmaPlusDefinition();
119 G4AntiSigmaPlus::AntiSigmaPlusDefinition();
120 G4XiMinus::XiMinusDefinition();
121 G4AntiXiMinus::AntiXiMinusDefinition();
122 G4OmegaMinus::OmegaMinusDefinition();
123 G4AntiOmegaMinus::AntiOmegaMinusDefinition();
124 G4LambdacPlus::LambdacPlusDefinition();
125 G4AntiLambdacPlus::AntiLambdacPlusDefinition();
126 G4XicPlus::XicPlusDefinition();
127 G4AntiXicPlus::AntiXicPlusDefinition();
130 G4Deuteron::Deuteron();
134 G4GenericIon::GenericIonDefinition();
139 edm::LogVerbatim(
"PhysicsList") <<
"### " << GetPhysicsName() <<
" Construct Processes ";
146 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
149 G4MuBremsstrahlung* mub =
nullptr;
150 G4MuPairProduction* mup =
nullptr;
151 G4hBremsstrahlung* pib =
nullptr;
152 G4hPairProduction* pip =
nullptr;
153 G4hBremsstrahlung* kb =
nullptr;
154 G4hPairProduction*
kp =
nullptr;
155 G4hBremsstrahlung* pb =
nullptr;
156 G4hPairProduction*
pp =
nullptr;
159 G4MuMultipleScattering* mumsc =
nullptr;
160 G4hMultipleScattering* pimsc =
nullptr;
161 G4hMultipleScattering* kmsc =
nullptr;
162 G4hMultipleScattering* hmsc =
nullptr;
165 G4CoulombScattering* muss =
nullptr;
166 G4CoulombScattering* piss =
nullptr;
167 G4CoulombScattering* kss =
nullptr;
170 G4double highEnergyLimit = 100 *
MeV;
172 G4ParticleTable*
table = G4ParticleTable::GetParticleTable();
178 ph->RegisterProcess(
new G4PhotoElectricEffect(), particle);
179 ph->RegisterProcess(
new G4ComptonScattering(), particle);
180 ph->RegisterProcess(
new G4GammaConversion(), particle);
183 G4eIonisation* eioni =
new G4eIonisation();
185 G4eMultipleScattering* msc =
new G4eMultipleScattering;
186 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
187 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
188 msc1->SetHighEnergyLimit(highEnergyLimit);
189 msc2->SetLowEnergyLimit(highEnergyLimit);
190 msc->SetEmModel(msc1);
191 msc->SetEmModel(msc2);
193 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
194 G4CoulombScattering*
ss =
new G4CoulombScattering();
196 ss->SetMinKinEnergy(highEnergyLimit);
197 ssm->SetLowEnergyLimit(highEnergyLimit);
198 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
200 ph->RegisterProcess(msc, particle);
201 ph->RegisterProcess(eioni, particle);
202 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
203 ph->RegisterProcess(
ss, particle);
206 G4eIonisation* eioni =
new G4eIonisation();
208 G4eMultipleScattering* msc =
new G4eMultipleScattering;
209 G4UrbanMscModel* msc1 =
new G4UrbanMscModel();
210 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
211 msc1->SetHighEnergyLimit(highEnergyLimit);
212 msc2->SetLowEnergyLimit(highEnergyLimit);
213 msc->SetEmModel(msc1);
214 msc->SetEmModel(msc2);
216 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
217 G4CoulombScattering*
ss =
new G4CoulombScattering();
219 ss->SetMinKinEnergy(highEnergyLimit);
220 ssm->SetLowEnergyLimit(highEnergyLimit);
221 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
223 ph->RegisterProcess(msc, particle);
224 ph->RegisterProcess(eioni, particle);
225 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
226 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
227 ph->RegisterProcess(
ss, particle);
230 if (
nullptr == mub) {
231 mub =
new G4MuBremsstrahlung();
232 mup =
new G4MuPairProduction();
233 mumsc =
new G4MuMultipleScattering();
234 mumsc->SetEmModel(
new G4WentzelVIModel());
235 muss =
new G4CoulombScattering();
237 ph->RegisterProcess(mumsc, particle);
238 ph->RegisterProcess(
new G4MuIonisation(), particle);
239 ph->RegisterProcess(mub, particle);
240 ph->RegisterProcess(mup, particle);
241 ph->RegisterProcess(muss, particle);
244 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
245 ph->RegisterProcess(
new G4ionIonisation(), particle);
248 if (
nullptr == hmsc) {
249 hmsc =
new G4hMultipleScattering(
"ionmsc");
251 ph->RegisterProcess(hmsc, particle);
252 ph->RegisterProcess(
new G4ionIonisation(), particle);
255 if (
nullptr == pib) {
256 pib =
new G4hBremsstrahlung();
257 pip =
new G4hPairProduction();
258 pimsc =
new G4hMultipleScattering();
259 pimsc->SetEmModel(
new G4WentzelVIModel());
260 piss =
new G4CoulombScattering();
262 ph->RegisterProcess(pimsc, particle);
263 ph->RegisterProcess(
new G4hIonisation(), particle);
264 ph->RegisterProcess(pib, particle);
265 ph->RegisterProcess(pip, particle);
266 ph->RegisterProcess(piss, particle);
270 kb =
new G4hBremsstrahlung();
271 kp =
new G4hPairProduction();
272 kmsc =
new G4hMultipleScattering();
273 kmsc->SetEmModel(
new G4WentzelVIModel());
274 kss =
new G4CoulombScattering();
276 ph->RegisterProcess(kmsc, particle);
277 ph->RegisterProcess(
new G4hIonisation(), particle);
278 ph->RegisterProcess(kb, particle);
279 ph->RegisterProcess(
kp, particle);
280 ph->RegisterProcess(kss, particle);
284 pb =
new G4hBremsstrahlung();
285 pp =
new G4hPairProduction();
287 G4hMultipleScattering* pmsc =
new G4hMultipleScattering();
288 pmsc->SetEmModel(
new G4WentzelVIModel());
289 G4CoulombScattering*
pss =
new G4CoulombScattering();
291 ph->RegisterProcess(pmsc, particle);
292 ph->RegisterProcess(
new G4hIonisation(), particle);
293 ph->RegisterProcess(pb, particle);
294 ph->RegisterProcess(
pp, particle);
295 ph->RegisterProcess(
pss, particle);
297 }
else if (particle->GetPDGCharge() != 0.0) {
298 if (
nullptr == hmsc) {
299 hmsc =
new G4hMultipleScattering(
"ionmsc");
301 ph->RegisterProcess(hmsc, particle);
302 ph->RegisterProcess(
new G4hIonisation(), particle);