4 #include "G4ParticleDefinition.hh"
5 #include "G4ProcessManager.hh"
6 #include "G4LossTableManager.hh"
7 #include "G4EmProcessOptions.hh"
8 #include "G4RegionStore.hh"
10 #include "G4ComptonScattering.hh"
11 #include "G4GammaConversion.hh"
12 #include "G4PhotoElectricEffect.hh"
13 #include "G4PairProductionRelModel.hh"
15 #include "G4hMultipleScattering.hh"
16 #include "G4eMultipleScattering.hh"
17 #include "G4MuMultipleScattering.hh"
18 #include "G4MscStepLimitType.hh"
19 #include "G4WentzelVIModel.hh"
20 #include "G4CoulombScattering.hh"
22 #include "G4eIonisation.hh"
23 #include "G4eBremsstrahlung.hh"
24 #include "G4eplusAnnihilation.hh"
26 #include "G4MuIonisation.hh"
27 #include "G4MuBremsstrahlung.hh"
28 #include "G4MuPairProduction.hh"
30 #include "G4hIonisation.hh"
31 #include "G4ionIonisation.hh"
32 #include "G4hBremsstrahlung.hh"
33 #include "G4hPairProduction.hh"
36 #include "G4Electron.hh"
37 #include "G4Positron.hh"
38 #include "G4MuonPlus.hh"
39 #include "G4MuonMinus.hh"
40 #include "G4TauMinus.hh"
41 #include "G4TauPlus.hh"
42 #include "G4PionPlus.hh"
43 #include "G4PionMinus.hh"
44 #include "G4KaonPlus.hh"
45 #include "G4KaonMinus.hh"
46 #include "G4BMesonMinus.hh"
47 #include "G4BMesonPlus.hh"
48 #include "G4DMesonMinus.hh"
49 #include "G4DMesonPlus.hh"
50 #include "G4Proton.hh"
51 #include "G4AntiProton.hh"
52 #include "G4SigmaMinus.hh"
53 #include "G4AntiSigmaMinus.hh"
54 #include "G4SigmaPlus.hh"
55 #include "G4AntiSigmaPlus.hh"
56 #include "G4XiMinus.hh"
57 #include "G4AntiXiMinus.hh"
58 #include "G4OmegaMinus.hh"
59 #include "G4AntiOmegaMinus.hh"
60 #include "G4LambdacPlus.hh"
61 #include "G4AntiLambdacPlus.hh"
62 #include "G4XicPlus.hh"
63 #include "G4AntiXicPlus.hh"
64 #include "G4Deuteron.hh"
65 #include "G4Triton.hh"
68 #include "G4GenericIon.hh"
70 #include "G4SystemOfUnits.hh"
73 G4VPhysicsConstructor(name),
verbose(ver) {
74 G4LossTableManager::Instance();
85 G4Positron::Positron();
86 G4MuonPlus::MuonPlus();
87 G4MuonMinus::MuonMinus();
88 G4TauMinus::TauMinusDefinition();
89 G4TauPlus::TauPlusDefinition();
92 G4PionPlus::PionPlusDefinition();
93 G4PionMinus::PionMinusDefinition();
94 G4KaonPlus::KaonPlusDefinition();
95 G4KaonMinus::KaonMinusDefinition();
96 G4DMesonMinus::DMesonMinusDefinition();
97 G4DMesonPlus::DMesonPlusDefinition();
98 G4BMesonMinus::BMesonMinusDefinition();
99 G4BMesonPlus::BMesonPlusDefinition();
103 G4AntiProton::AntiProton();
104 G4SigmaMinus::SigmaMinusDefinition();
105 G4AntiSigmaMinus::AntiSigmaMinusDefinition();
106 G4SigmaPlus::SigmaPlusDefinition();
107 G4AntiSigmaPlus::AntiSigmaPlusDefinition();
108 G4XiMinus::XiMinusDefinition();
109 G4AntiXiMinus::AntiXiMinusDefinition();
110 G4OmegaMinus::OmegaMinusDefinition();
111 G4AntiOmegaMinus::AntiOmegaMinusDefinition();
112 G4LambdacPlus::LambdacPlusDefinition();
113 G4AntiLambdacPlus::AntiLambdacPlusDefinition();
114 G4XicPlus::XicPlusDefinition();
115 G4AntiXicPlus::AntiXicPlusDefinition();
118 G4Deuteron::Deuteron();
122 G4GenericIon::GenericIonDefinition();
130 G4MuBremsstrahlung* mub =
new G4MuBremsstrahlung();
131 G4MuPairProduction* mup =
new G4MuPairProduction();
132 G4hBremsstrahlung* pib =
new G4hBremsstrahlung();
133 G4hPairProduction* pip =
new G4hPairProduction();
134 G4hBremsstrahlung* kb =
new G4hBremsstrahlung();
135 G4hPairProduction*
kp =
new G4hPairProduction();
136 G4hBremsstrahlung* pb =
new G4hBremsstrahlung();
137 G4hPairProduction*
pp =
new G4hPairProduction();
139 G4hMultipleScattering* hmsc =
new G4hMultipleScattering(
"ionmsc");
146 aParticleIterator->reset();
147 while( (*aParticleIterator)() ){
148 G4ParticleDefinition* particle = aParticleIterator->value();
149 G4ProcessManager* pmanager = particle->GetProcessManager();
150 G4String particleName = particle->GetParticleName();
152 G4cout <<
"### " << GetPhysicsName() <<
" instantiates for "
153 << particleName <<
" at " << particle << G4endl;
155 if (particleName ==
"gamma") {
157 pmanager->AddDiscreteProcess(
new G4PhotoElectricEffect);
158 pmanager->AddDiscreteProcess(
new G4ComptonScattering);
159 pmanager->AddDiscreteProcess(
new G4GammaConversion());
161 }
else if (particleName ==
"e-") {
163 G4eIonisation* eioni =
new G4eIonisation();
164 eioni->SetStepFunction(0.8, 1.0*mm);
165 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
166 msc->SetStepLimitType(fMinimal);
169 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
171 pmanager->AddProcess(msc, -1, 1, 1);
172 pmanager->AddProcess(eioni, -1, 2, 2);
173 pmanager->AddProcess(ebrem, -1,-3, 3);
175 }
else if (particleName ==
"e+") {
177 G4eIonisation* eioni =
new G4eIonisation();
178 eioni->SetStepFunction(0.8, 1.0*mm);
179 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
180 msc->SetStepLimitType(fMinimal);
183 G4eBremsstrahlung* ebrem =
new G4eBremsstrahlung();
185 pmanager->AddProcess(msc, -1, 1, 1);
186 pmanager->AddProcess(eioni, -1, 2, 2);
187 pmanager->AddProcess(ebrem, -1,-3, 3);
188 pmanager->AddProcess(
new G4eplusAnnihilation, 0,-1, 4);
190 }
else if (particleName ==
"mu+" ||
191 particleName ==
"mu-" ) {
193 G4MuMultipleScattering* mumsc =
new G4MuMultipleScattering();
194 mumsc->AddEmModel(0,
new G4WentzelVIModel());
195 pmanager->AddProcess(mumsc, -1, 1, 1);
196 pmanager->AddProcess(
new G4MuIonisation, -1, 2, 2);
197 pmanager->AddProcess(mub, -1,-3, 3);
198 pmanager->AddProcess(mup, -1,-4, 4);
199 pmanager->AddProcess(
new G4CoulombScattering, -1,-4, 5);
201 }
else if (particleName ==
"alpha" ||
202 particleName ==
"He3" ||
203 particleName ==
"GenericIon") {
205 pmanager->AddProcess(hmsc, -1, 1, 1);
206 pmanager->AddProcess(
new G4ionIonisation, -1, 2, 2);
208 }
else if (particleName ==
"pi+" ||
209 particleName ==
"pi-" ) {
211 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
212 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
213 pmanager->AddProcess(pib, -1,-3, 3);
214 pmanager->AddProcess(pip, -1,-4, 4);
216 }
else if (particleName ==
"kaon+" ||
217 particleName ==
"kaon-" ) {
219 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
220 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
221 pmanager->AddProcess(kb, -1,-3, 3);
222 pmanager->AddProcess(kp, -1,-4, 4);
224 }
else if (particleName ==
"proton" ||
225 particleName ==
"anti_proton" ) {
227 pmanager->AddProcess(
new G4hMultipleScattering, -1, 1, 1);
228 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
229 pmanager->AddProcess(pb, -1,-3, 3);
230 pmanager->AddProcess(pp, -1,-4, 4);
232 }
else if (particleName ==
"B+" ||
233 particleName ==
"B-" ||
234 particleName ==
"D+" ||
235 particleName ==
"D-" ||
236 particleName ==
"Ds+" ||
237 particleName ==
"Ds-" ||
238 particleName ==
"anti_lambda_c+" ||
239 particleName ==
"anti_omega-" ||
240 particleName ==
"anti_sigma_c+" ||
241 particleName ==
"anti_sigma_c++" ||
242 particleName ==
"anti_sigma+" ||
243 particleName ==
"anti_sigma-" ||
244 particleName ==
"anti_xi_c+" ||
245 particleName ==
"anti_xi-" ||
246 particleName ==
"deuteron" ||
247 particleName ==
"lambda_c+" ||
248 particleName ==
"omega-" ||
249 particleName ==
"sigma_c+" ||
250 particleName ==
"sigma_c++" ||
251 particleName ==
"sigma+" ||
252 particleName ==
"sigma-" ||
253 particleName ==
"tau+" ||
254 particleName ==
"tau-" ||
255 particleName ==
"triton" ||
256 particleName ==
"xi_c+" ||
257 particleName ==
"xi-" ) {
259 pmanager->AddProcess(hmsc, -1, 1, 1);
260 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
266 G4EmProcessOptions opt;
274 opt.SetApplyCuts(
true);
virtual ~CMSEmStandardPhysicsLPM()
CMSEmStandardPhysicsLPM(const G4String &name, G4int ver)
virtual void ConstructProcess()
virtual void ConstructParticle()