4 #include "G4ParticleDefinition.hh"
5 #include "G4LossTableManager.hh"
6 #include "G4EmProcessOptions.hh"
8 #include "G4ComptonScattering.hh"
9 #include "G4GammaConversion.hh"
10 #include "G4PhotoElectricEffect.hh"
11 #include "G4LivermorePhotoElectricModel.hh"
12 #include "G4KleinNishinaModel.hh"
14 #include "G4hMultipleScattering.hh"
15 #include "G4eMultipleScattering.hh"
16 #include "G4MuMultipleScattering.hh"
17 #include "G4CoulombScattering.hh"
18 #include "G4eCoulombScatteringModel.hh"
19 #include "G4WentzelVIModel.hh"
21 #include "G4eIonisation.hh"
22 #include "G4eBremsstrahlung.hh"
23 #include "G4eplusAnnihilation.hh"
25 #include "G4MuIonisation.hh"
26 #include "G4MuBremsstrahlung.hh"
27 #include "G4MuPairProduction.hh"
29 #include "G4hIonisation.hh"
30 #include "G4ionIonisation.hh"
31 #include "G4hBremsstrahlung.hh"
32 #include "G4hPairProduction.hh"
35 #include "G4Electron.hh"
36 #include "G4Positron.hh"
37 #include "G4MuonPlus.hh"
38 #include "G4MuonMinus.hh"
39 #include "G4TauMinus.hh"
40 #include "G4TauPlus.hh"
41 #include "G4PionPlus.hh"
42 #include "G4PionMinus.hh"
43 #include "G4KaonPlus.hh"
44 #include "G4KaonMinus.hh"
45 #include "G4BMesonMinus.hh"
46 #include "G4BMesonPlus.hh"
47 #include "G4DMesonMinus.hh"
48 #include "G4DMesonPlus.hh"
49 #include "G4Proton.hh"
50 #include "G4AntiProton.hh"
51 #include "G4SigmaMinus.hh"
52 #include "G4AntiSigmaMinus.hh"
53 #include "G4SigmaPlus.hh"
54 #include "G4AntiSigmaPlus.hh"
55 #include "G4XiMinus.hh"
56 #include "G4AntiXiMinus.hh"
57 #include "G4OmegaMinus.hh"
58 #include "G4AntiOmegaMinus.hh"
59 #include "G4LambdacPlus.hh"
60 #include "G4AntiLambdacPlus.hh"
61 #include "G4XicPlus.hh"
62 #include "G4AntiXicPlus.hh"
63 #include "G4Deuteron.hh"
64 #include "G4Triton.hh"
67 #include "G4GenericIon.hh"
69 #include "G4PhysicsListHelper.hh"
70 #include "G4BuilderType.hh"
72 #include "G4SystemOfUnits.hh"
75 G4VPhysicsConstructor(
"CMSEmStandardXS_opt1"),
verbose(ver) {
76 G4LossTableManager::Instance();
77 SetPhysicsType(bElectromagnetic);
87 G4Electron::Electron();
88 G4Positron::Positron();
89 G4MuonPlus::MuonPlus();
90 G4MuonMinus::MuonMinus();
91 G4TauMinus::TauMinusDefinition();
92 G4TauPlus::TauPlusDefinition();
95 G4PionPlus::PionPlusDefinition();
96 G4PionMinus::PionMinusDefinition();
97 G4KaonPlus::KaonPlusDefinition();
98 G4KaonMinus::KaonMinusDefinition();
99 G4DMesonMinus::DMesonMinusDefinition();
100 G4DMesonPlus::DMesonPlusDefinition();
101 G4BMesonMinus::BMesonMinusDefinition();
102 G4BMesonPlus::BMesonPlusDefinition();
106 G4AntiProton::AntiProton();
107 G4SigmaMinus::SigmaMinusDefinition();
108 G4AntiSigmaMinus::AntiSigmaMinusDefinition();
109 G4SigmaPlus::SigmaPlusDefinition();
110 G4AntiSigmaPlus::AntiSigmaPlusDefinition();
111 G4XiMinus::XiMinusDefinition();
112 G4AntiXiMinus::AntiXiMinusDefinition();
113 G4OmegaMinus::OmegaMinusDefinition();
114 G4AntiOmegaMinus::AntiOmegaMinusDefinition();
115 G4LambdacPlus::LambdacPlusDefinition();
116 G4AntiLambdacPlus::AntiLambdacPlusDefinition();
117 G4XicPlus::XicPlusDefinition();
118 G4AntiXicPlus::AntiXicPlusDefinition();
121 G4Deuteron::Deuteron();
125 G4GenericIon::GenericIonDefinition();
131 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
138 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
141 G4MuBremsstrahlung* mub =
new G4MuBremsstrahlung();
142 G4MuPairProduction* mup =
new G4MuPairProduction();
143 G4hBremsstrahlung* pib =
new G4hBremsstrahlung();
144 G4hPairProduction* pip =
new G4hPairProduction();
145 G4hBremsstrahlung* kb =
new G4hBremsstrahlung();
146 G4hPairProduction*
kp =
new G4hPairProduction();
147 G4hBremsstrahlung* pb =
new G4hBremsstrahlung();
148 G4hPairProduction*
pp =
new G4hPairProduction();
151 G4MuMultipleScattering* mumsc =
new G4MuMultipleScattering();
152 mumsc->AddEmModel(0,
new G4WentzelVIModel());
153 G4MuMultipleScattering* pimsc =
new G4MuMultipleScattering();
154 pimsc->AddEmModel(0,
new G4WentzelVIModel());
155 G4MuMultipleScattering* kmsc =
new G4MuMultipleScattering();
156 kmsc->AddEmModel(0,
new G4WentzelVIModel());
157 G4MuMultipleScattering* pmsc =
new G4MuMultipleScattering();
158 pmsc->AddEmModel(0,
new G4WentzelVIModel());
159 G4hMultipleScattering* hmsc =
new G4hMultipleScattering(
"ionmsc");
162 G4double highEnergyLimit = 100*
MeV;
164 aParticleIterator->reset();
165 while( (*aParticleIterator)() ){
166 G4ParticleDefinition* particle = aParticleIterator->value();
167 G4String particleName = particle->GetParticleName();
169 if (particleName ==
"gamma") {
171 G4PhotoElectricEffect* photo =
new G4PhotoElectricEffect();
172 photo->SetEmModel(
new G4LivermorePhotoElectricModel(),1);
173 ph->RegisterProcess(photo, particle);
174 G4ComptonScattering* compt =
new G4ComptonScattering();
175 compt->SetEmModel(
new G4KleinNishinaModel(), 1);
176 ph->RegisterProcess(compt, particle);
177 ph->RegisterProcess(
new G4GammaConversion(), particle);
179 }
else if (particleName ==
"e-") {
181 G4eIonisation* eioni =
new G4eIonisation();
182 eioni->SetStepFunction(0.8, 1.0*mm);
184 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
185 msc->SetStepLimitType(fMinimal);
187 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
188 msc1->SetHighEnergyLimit(highEnergyLimit);
189 msc2->SetLowEnergyLimit(highEnergyLimit);
190 msc->AddEmModel(0, msc1);
191 msc->AddEmModel(0, msc2);
193 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
194 G4CoulombScattering*
ss =
new G4CoulombScattering();
195 ss->SetEmModel(ssm, 1);
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);
205 }
else if (particleName ==
"e+") {
207 G4eIonisation* eioni =
new G4eIonisation();
208 eioni->SetStepFunction(0.8, 1.0*mm);
210 G4eMultipleScattering*
msc =
new G4eMultipleScattering;
211 msc->SetStepLimitType(fMinimal);
213 G4WentzelVIModel* msc2 =
new G4WentzelVIModel();
214 msc1->SetHighEnergyLimit(highEnergyLimit);
215 msc2->SetLowEnergyLimit(highEnergyLimit);
216 msc->AddEmModel(0, msc1);
217 msc->AddEmModel(0, msc2);
219 G4eCoulombScatteringModel* ssm =
new G4eCoulombScatteringModel();
220 G4CoulombScattering*
ss =
new G4CoulombScattering();
221 ss->SetEmModel(ssm, 1);
222 ss->SetMinKinEnergy(highEnergyLimit);
223 ssm->SetLowEnergyLimit(highEnergyLimit);
224 ssm->SetActivationLowEnergyLimit(highEnergyLimit);
226 ph->RegisterProcess(msc, particle);
227 ph->RegisterProcess(eioni, particle);
228 ph->RegisterProcess(
new G4eBremsstrahlung(), particle);
229 ph->RegisterProcess(
new G4eplusAnnihilation(), particle);
230 ph->RegisterProcess(ss, particle);
232 }
else if (particleName ==
"mu+" ||
233 particleName ==
"mu-" ) {
235 ph->RegisterProcess(mumsc, particle);
236 ph->RegisterProcess(
new G4MuIonisation(), particle);
237 ph->RegisterProcess(mub, particle);
238 ph->RegisterProcess(mup, particle);
239 ph->RegisterProcess(
new G4CoulombScattering(), particle);
241 }
else if (particleName ==
"alpha" ||
242 particleName ==
"He3" ) {
245 ph->RegisterProcess(
new G4hMultipleScattering(), particle);
246 ph->RegisterProcess(
new G4ionIonisation(), particle);
248 }
else if (particleName ==
"GenericIon") {
250 ph->RegisterProcess(hmsc, particle);
251 ph->RegisterProcess(
new G4ionIonisation(), particle);
253 }
else if (particleName ==
"pi+" ||
254 particleName ==
"pi-" ) {
257 ph->RegisterProcess(pimsc, particle);
258 ph->RegisterProcess(
new G4hIonisation(), particle);
259 ph->RegisterProcess(pib, particle);
260 ph->RegisterProcess(pip, particle);
261 ph->RegisterProcess(
new G4CoulombScattering(), particle);
263 }
else if (particleName ==
"kaon+" ||
264 particleName ==
"kaon-" ) {
267 ph->RegisterProcess(kmsc, particle);
268 ph->RegisterProcess(
new G4hIonisation(), particle);
269 ph->RegisterProcess(kb, particle);
270 ph->RegisterProcess(kp, particle);
271 ph->RegisterProcess(
new G4CoulombScattering(), particle);
274 }
else if (particleName ==
"proton" ||
275 particleName ==
"anti_proton") {
278 ph->RegisterProcess(pmsc, particle);
279 ph->RegisterProcess(
new G4hIonisation(), particle);
280 ph->RegisterProcess(pb, particle);
281 ph->RegisterProcess(pp, particle);
282 ph->RegisterProcess(
new G4CoulombScattering(), particle);
284 }
else if (particleName ==
"B+" ||
285 particleName ==
"B-" ||
286 particleName ==
"D+" ||
287 particleName ==
"D-" ||
288 particleName ==
"Ds+" ||
289 particleName ==
"Ds-" ||
290 particleName ==
"anti_He3" ||
291 particleName ==
"anti_alpha" ||
292 particleName ==
"anti_deuteron" ||
293 particleName ==
"anti_lambda_c+" ||
294 particleName ==
"anti_omega-" ||
295 particleName ==
"anti_sigma_c+" ||
296 particleName ==
"anti_sigma_c++" ||
297 particleName ==
"anti_sigma+" ||
298 particleName ==
"anti_sigma-" ||
299 particleName ==
"anti_triton" ||
300 particleName ==
"anti_xi_c+" ||
301 particleName ==
"anti_xi-" ||
302 particleName ==
"deuteron" ||
303 particleName ==
"lambda_c+" ||
304 particleName ==
"omega-" ||
305 particleName ==
"sigma_c+" ||
306 particleName ==
"sigma_c++" ||
307 particleName ==
"sigma+" ||
308 particleName ==
"sigma-" ||
309 particleName ==
"tau+" ||
310 particleName ==
"tau-" ||
311 particleName ==
"triton" ||
312 particleName ==
"xi_c+" ||
313 particleName ==
"xi-" ) {
315 ph->RegisterProcess(hmsc, particle);
316 ph->RegisterProcess(
new G4hIonisation(), particle);
319 G4EmProcessOptions opt;
322 opt.SetApplyCuts(
true);
virtual void ConstructProcess()
virtual ~CMSEmStandardPhysicsXS()
virtual void ConstructParticle()
CMSEmStandardPhysicsXS(G4int ver)