4 #include "G4ParticleDefinition.hh"
5 #include "G4LossTableManager.hh"
6 #include "G4EmProcessOptions.hh"
8 #include "G4ComptonScattering.hh"
9 #include "G4GammaConversion.hh"
10 #include "G4PhotoElectricEffect.hh"
12 #include "G4hMultipleScattering.hh"
13 #include "G4eMultipleScattering.hh"
14 #include "G4MuMultipleScattering.hh"
15 #include "G4CoulombScattering.hh"
16 #include "G4eCoulombScatteringModel.hh"
17 #include "G4WentzelVIModel.hh"
19 #include "G4eIonisation.hh"
20 #include "G4eBremsstrahlung.hh"
21 #include "G4eplusAnnihilation.hh"
23 #include "G4MuIonisation.hh"
24 #include "G4MuBremsstrahlung.hh"
25 #include "G4MuPairProduction.hh"
27 #include "G4hIonisation.hh"
28 #include "G4ionIonisation.hh"
29 #include "G4hBremsstrahlung.hh"
30 #include "G4hPairProduction.hh"
33 #include "G4Electron.hh"
34 #include "G4Positron.hh"
35 #include "G4MuonPlus.hh"
36 #include "G4MuonMinus.hh"
37 #include "G4TauMinus.hh"
38 #include "G4TauPlus.hh"
39 #include "G4PionPlus.hh"
40 #include "G4PionMinus.hh"
41 #include "G4KaonPlus.hh"
42 #include "G4KaonMinus.hh"
43 #include "G4BMesonMinus.hh"
44 #include "G4BMesonPlus.hh"
45 #include "G4DMesonMinus.hh"
46 #include "G4DMesonPlus.hh"
47 #include "G4Proton.hh"
48 #include "G4AntiProton.hh"
49 #include "G4SigmaMinus.hh"
50 #include "G4AntiSigmaMinus.hh"
51 #include "G4SigmaPlus.hh"
52 #include "G4AntiSigmaPlus.hh"
53 #include "G4XiMinus.hh"
54 #include "G4AntiXiMinus.hh"
55 #include "G4OmegaMinus.hh"
56 #include "G4AntiOmegaMinus.hh"
57 #include "G4LambdacPlus.hh"
58 #include "G4AntiLambdacPlus.hh"
59 #include "G4XicPlus.hh"
60 #include "G4AntiXicPlus.hh"
61 #include "G4Deuteron.hh"
62 #include "G4Triton.hh"
65 #include "G4GenericIon.hh"
67 #include "G4PhysicsListHelper.hh"
68 #include "G4BuilderType.hh"
70 #include "G4SystemOfUnits.hh"
73 G4VPhysicsConstructor(
"CMSEmStandard_opt1"),
verbose(ver) {
74 G4LossTableManager::Instance();
75 SetPhysicsType(bElectromagnetic);
86 G4Positron::Positron();
87 G4MuonPlus::MuonPlus();
88 G4MuonMinus::MuonMinus();
89 G4TauMinus::TauMinusDefinition();
90 G4TauPlus::TauPlusDefinition();
93 G4PionPlus::PionPlusDefinition();
94 G4PionMinus::PionMinusDefinition();
95 G4KaonPlus::KaonPlusDefinition();
96 G4KaonMinus::KaonMinusDefinition();
97 G4DMesonMinus::DMesonMinusDefinition();
98 G4DMesonPlus::DMesonPlusDefinition();
99 G4BMesonMinus::BMesonMinusDefinition();
100 G4BMesonPlus::BMesonPlusDefinition();
104 G4AntiProton::AntiProton();
105 G4SigmaMinus::SigmaMinusDefinition();
106 G4AntiSigmaMinus::AntiSigmaMinusDefinition();
107 G4SigmaPlus::SigmaPlusDefinition();
108 G4AntiSigmaPlus::AntiSigmaPlusDefinition();
109 G4XiMinus::XiMinusDefinition();
110 G4AntiXiMinus::AntiXiMinusDefinition();
111 G4OmegaMinus::OmegaMinusDefinition();
112 G4AntiOmegaMinus::AntiOmegaMinusDefinition();
113 G4LambdacPlus::LambdacPlusDefinition();
114 G4AntiLambdacPlus::AntiLambdacPlusDefinition();
115 G4XicPlus::XicPlusDefinition();
116 G4AntiXicPlus::AntiXicPlusDefinition();
119 G4Deuteron::Deuteron();
123 G4GenericIon::GenericIonDefinition();
129 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
136 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
139 G4MuBremsstrahlung* mub =
nullptr;
140 G4MuPairProduction* mup =
nullptr;
141 G4hBremsstrahlung* pib =
nullptr;
142 G4hPairProduction* pip =
nullptr;
143 G4hBremsstrahlung* kb =
nullptr;
144 G4hPairProduction*
kp =
nullptr;
145 G4hBremsstrahlung* pb =
nullptr;
146 G4hPairProduction*
pp =
nullptr;
149 G4MuMultipleScattering* mumsc =
nullptr;
150 G4MuMultipleScattering* pimsc =
nullptr;
151 G4MuMultipleScattering* kmsc =
nullptr;
152 G4MuMultipleScattering* pmsc =
nullptr;
153 G4hMultipleScattering* hmsc =
nullptr;
156 G4double highEnergyLimit = 100*
MeV;
158 aParticleIterator->reset();
159 while( (*aParticleIterator)() ){
160 G4ParticleDefinition* particle = aParticleIterator->value();
161 G4String particleName = particle->GetParticleName();
163 if (particleName ==
"gamma") {
165 ph->RegisterProcess(
new G4PhotoElectricEffect(), particle);
166 ph->RegisterProcess(
new G4ComptonScattering(), particle);
167 ph->RegisterProcess(
new G4GammaConversion(), particle);
169 }
else if (particleName ==
"e-") {
171 G4eIonisation* eioni =
new G4eIonisation();
172 eioni->SetStepFunction(0.8, 1.0*mm);
174 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
175 msc->SetStepLimitType(fMinimal);
177 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
178 msc1->SetHighEnergyLimit(highEnergyLimit);
179 msc2->SetLowEnergyLimit(highEnergyLimit);
180 msc->AddEmModel(0, msc1);
181 msc->AddEmModel(0, msc2);
183 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
184 G4CoulombScattering*
ss =
new G4CoulombScattering();
185 ss->SetEmModel(ssm, 1);
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(ss, particle);
195 }
else if (particleName ==
"e+") {
197 G4eIonisation* eioni =
new G4eIonisation();
198 eioni->SetStepFunction(0.8, 1.0*mm);
200 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
201 msc->SetStepLimitType(fMinimal);
203 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
204 msc1->SetHighEnergyLimit(highEnergyLimit);
205 msc2->SetLowEnergyLimit(highEnergyLimit);
206 msc->AddEmModel(0, msc1);
207 msc->AddEmModel(0, msc2);
209 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
210 G4CoulombScattering*
ss =
new G4CoulombScattering();
211 ss->SetEmModel(ssm, 1);
212 ss->SetMinKinEnergy(highEnergyLimit);
213 ssm->SetLowEnergyLimit(highEnergyLimit);
214 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
216 ph->RegisterProcess(msc, particle);
217 ph->RegisterProcess(eioni, particle);
218 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
219 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
220 ph->RegisterProcess(ss, particle);
222 }
else if (particleName ==
"mu+" ||
223 particleName ==
"mu-" ) {
226 mub =
new G4MuBremsstrahlung();
227 mup =
new G4MuPairProduction();
228 mumsc =
new G4MuMultipleScattering();
229 mumsc->AddEmModel(0,
new G4WentzelVIModel());
231 ph->RegisterProcess(mumsc, particle);
232 ph->RegisterProcess(
new G4MuIonisation(), particle);
233 ph->RegisterProcess(mub, particle);
234 ph->RegisterProcess(mup, particle);
235 ph->RegisterProcess(
new G4CoulombScattering(), particle);
237 }
else if (particleName ==
"alpha" ||
238 particleName ==
"He3" ) {
240 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
241 ph->RegisterProcess(
new G4ionIonisation(), particle);
243 }
else if (particleName ==
"GenericIon") {
245 if(
nullptr == hmsc) {
246 hmsc =
new G4hMultipleScattering(
"ionmsc");
248 ph->RegisterProcess(hmsc, particle);
249 ph->RegisterProcess(
new G4ionIonisation(), particle);
251 }
else if (particleName ==
"pi+" ||
252 particleName ==
"pi-" ) {
255 pib =
new G4hBremsstrahlung();
256 pip =
new G4hPairProduction();
257 pimsc =
new G4MuMultipleScattering();
258 pimsc->AddEmModel(0,
new G4WentzelVIModel());
260 ph->RegisterProcess(pimsc, particle);
261 ph->RegisterProcess(
new G4hIonisation(), particle);
262 ph->RegisterProcess(pib, particle);
263 ph->RegisterProcess(pip, particle);
264 ph->RegisterProcess(
new G4CoulombScattering(), particle);
266 }
else if (particleName ==
"kaon+" ||
267 particleName ==
"kaon-" ) {
270 kb =
new G4hBremsstrahlung();
271 kp =
new G4hPairProduction();
272 kmsc =
new G4MuMultipleScattering();
273 kmsc->AddEmModel(0,
new G4WentzelVIModel());
275 ph->RegisterProcess(kmsc, particle);
276 ph->RegisterProcess(
new G4hIonisation(), particle);
277 ph->RegisterProcess(kb, particle);
278 ph->RegisterProcess(kp, particle);
279 ph->RegisterProcess(
new G4CoulombScattering(), particle);
281 }
else if (particleName ==
"proton" ||
282 particleName ==
"anti_proton") {
285 pb =
new G4hBremsstrahlung();
286 pp =
new G4hPairProduction();
287 pmsc =
new G4MuMultipleScattering();
288 pmsc->AddEmModel(0,
new G4WentzelVIModel());
290 ph->RegisterProcess(pmsc, particle);
291 ph->RegisterProcess(
new G4hIonisation(), particle);
292 ph->RegisterProcess(pb, particle);
293 ph->RegisterProcess(pp, particle);
294 ph->RegisterProcess(
new G4CoulombScattering(), particle);
296 }
else if (particleName ==
"B+" ||
297 particleName ==
"B-" ||
298 particleName ==
"D+" ||
299 particleName ==
"D-" ||
300 particleName ==
"Ds+" ||
301 particleName ==
"Ds-" ||
302 particleName ==
"anti_He3" ||
303 particleName ==
"anti_alpha" ||
304 particleName ==
"anti_deuteron" ||
305 particleName ==
"anti_lambda_c+" ||
306 particleName ==
"anti_omega-" ||
307 particleName ==
"anti_sigma_c+" ||
308 particleName ==
"anti_sigma_c++" ||
309 particleName ==
"anti_sigma+" ||
310 particleName ==
"anti_sigma-" ||
311 particleName ==
"anti_triton" ||
312 particleName ==
"anti_xi_c+" ||
313 particleName ==
"anti_xi-" ||
314 particleName ==
"deuteron" ||
315 particleName ==
"lambda_c+" ||
316 particleName ==
"omega-" ||
317 particleName ==
"sigma_c+" ||
318 particleName ==
"sigma_c++" ||
319 particleName ==
"sigma+" ||
320 particleName ==
"sigma-" ||
321 particleName ==
"tau+" ||
322 particleName ==
"tau-" ||
323 particleName ==
"triton" ||
324 particleName ==
"xi_c+" ||
325 particleName ==
"xi-" ) {
327 if(
nullptr == hmsc) {
328 hmsc =
new G4hMultipleScattering(
"ionmsc");
330 ph->RegisterProcess(hmsc, particle);
331 ph->RegisterProcess(
new G4hIonisation(), particle);
334 G4EmProcessOptions opt;
337 opt.SetApplyCuts(
true);
virtual ~CMSEmStandardPhysics()
virtual void ConstructProcess()
virtual void ConstructParticle()
CMSEmStandardPhysics(G4int ver)