Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4EmStandardPhysicsSS.cc
이 파일의 문서화 페이지로 가기
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 // $Id: G4EmStandardPhysics.cc 78932 2014-02-04 12:30:52Z vnivanch $
27 //
28 //---------------------------------------------------------------------------
29 //
30 // ClassName: G4EmStandardPhysicsSS
31 //
32 // Author: V.Ivanchenko 09.11.2005
33 //
34 // Modified:
35 // 05.12.2005 V.Ivanchenko add controlled verbosity
36 // 13.11.2006 V.Ivanchenko use G4hMultipleScattering
37 // 23.11.2006 V.Ivanchenko remove mscStepLimit option and improve cout
38 // 13.02.2007 V.Ivanchenko use G4hMultipleScattering for muons
39 // 13.02.2007 V.Ivanchenko set skin=0.0
40 // 21.04.2008 V.Ivanchenko add long-lived D and B mesons
41 //
42 //----------------------------------------------------------------------------
43 //
44 
45 #include "G4EmStandardPhysicsSS.hh"
46 #include "G4SystemOfUnits.hh"
47 #include "G4ParticleDefinition.hh"
48 #include "G4EmParameters.hh"
49 #include "G4LossTableManager.hh"
50 
51 #include "G4ComptonScattering.hh"
52 #include "G4GammaConversion.hh"
53 #include "G4PhotoElectricEffect.hh"
54 #include "G4RayleighScattering.hh"
55 
56 #include "G4KleinNishinaModel.hh"
58 #include "G4eMultipleScattering.hh"
60 #include "G4hMultipleScattering.hh"
61 #include "G4CoulombScattering.hh"
64 #include "G4WentzelVIModel.hh"
65 #include "G4UrbanMscModel.hh"
66 
72 
73 #include "G4eIonisation.hh"
74 #include "G4eBremsstrahlung.hh"
75 #include "G4eplusAnnihilation.hh"
76 #include "G4UAtomicDeexcitation.hh"
77 
78 #include "G4MuIonisation.hh"
79 #include "G4MuBremsstrahlung.hh"
80 #include "G4MuPairProduction.hh"
81 #include "G4hBremsstrahlung.hh"
82 #include "G4hPairProduction.hh"
83 
84 #include "G4hIonisation.hh"
85 #include "G4ionIonisation.hh"
86 #include "G4alphaIonisation.hh"
87 
88 #include "G4ParticleTable.hh"
89 #include "G4Gamma.hh"
90 #include "G4Electron.hh"
91 #include "G4Positron.hh"
92 #include "G4MuonPlus.hh"
93 #include "G4MuonMinus.hh"
94 #include "G4PionPlus.hh"
95 #include "G4PionMinus.hh"
96 #include "G4KaonPlus.hh"
97 #include "G4KaonMinus.hh"
98 #include "G4Proton.hh"
99 #include "G4AntiProton.hh"
100 #include "G4Deuteron.hh"
101 #include "G4Triton.hh"
102 #include "G4He3.hh"
103 #include "G4Alpha.hh"
104 #include "G4GenericIon.hh"
105 
106 #include "G4PhysicsListHelper.hh"
107 #include "G4BuilderType.hh"
108 #include "G4EmModelActivator.hh"
109 
110 // factory
112 //
114 
115 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
116 
118  : G4VPhysicsConstructor("G4EmStandardSS"), verbose(ver)
119 {
121  param->SetDefaults();
122  param->SetVerbose(verbose);
123  param->SetLowestElectronEnergy(10*eV);
124  param->SetMscThetaLimit(0.0);
125  param->SetAugerCascade(true);
126  param->SetPixe(true);
128 }
129 
130 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
131 
133 {}
134 
135 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
136 
138 {
139  // gamma
140  G4Gamma::Gamma();
141 
142  // leptons
147 
148  // mesons
153 
154  // barions
157 
158  // ions
161  G4He3::He3();
162  G4Alpha::Alpha();
164 }
165 
166 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
167 
169 {
170  if(verbose > 1) {
171  G4cout << "### " << GetPhysicsName() << " Construct Processes " << G4endl;
172  }
174 
175  // muon & hadron bremsstrahlung and pair production
184 
185  // muon & hadron scattering
192 
193  // Add standard EM Processes
195  for(const auto& particleName : partList.PartNames()) {
196  G4ParticleDefinition* particle = table->FindParticle(particleName);
197  if (!particle) { continue; }
198  if (particleName == "gamma") {
199 
202 
204  cs->SetEmModel(new G4KleinNishinaModel());
205 
206  ph->RegisterProcess(pee, particle);
207  ph->RegisterProcess(cs, particle);
208  ph->RegisterProcess(new G4GammaConversion(), particle);
209  ph->RegisterProcess(new G4RayleighScattering(), particle);
210 
211  } else if (particleName == "e-") {
212 
214  if(G4EmParameters::Instance()->UseMottCorrection()) {
216  }
217 
218  ph->RegisterProcess(new G4eIonisation(), particle);
219  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
220  ph->RegisterProcess(ss, particle);
221 
222  } else if (particleName == "e+") {
223 
225 
226  ph->RegisterProcess(new G4eIonisation(), particle);
227  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
228  ph->RegisterProcess(new G4eplusAnnihilation(), particle);
229  ph->RegisterProcess(ss, particle);
230 
231  } else if (particleName == "mu+" ||
232  particleName == "mu-" ) {
233 
234  ph->RegisterProcess(new G4MuIonisation(), particle);
235  ph->RegisterProcess(mub, particle);
236  ph->RegisterProcess(mup, particle);
237  ph->RegisterProcess(muss, particle);
238 
239  } else if (particleName == "alpha" ||
240  particleName == "He3") {
241 
242  ph->RegisterProcess(new G4ionIonisation(), particle);
243  ph->RegisterProcess(new G4CoulombScattering(), particle);
244 
245  } else if (particleName == "GenericIon") {
246 
247  ph->RegisterProcess(new G4ionIonisation(), particle);
248  ph->RegisterProcess(new G4CoulombScattering(), particle);
249 
250  } else if (particleName == "pi+" ||
251  particleName == "pi-" ) {
252 
253  ph->RegisterProcess(new G4hIonisation(), particle);
254  ph->RegisterProcess(pib, particle);
255  ph->RegisterProcess(pip, particle);
256  ph->RegisterProcess(piss, particle);
257 
258  } else if (particleName == "kaon+" ||
259  particleName == "kaon-" ) {
260 
261  ph->RegisterProcess(new G4hIonisation(), particle);
262  ph->RegisterProcess(kb, particle);
263  ph->RegisterProcess(kp, particle);
264  ph->RegisterProcess(kss, particle);
265 
266  } else if (particleName == "proton" ||
267  particleName == "anti_proton") {
268 
271 
272  ph->RegisterProcess(new G4hIonisation(), particle);
273  ph->RegisterProcess(pb, particle);
274  ph->RegisterProcess(pp, particle);
275  ph->RegisterProcess(pss, particle);
276 
277  } else if (particleName == "B+" ||
278  particleName == "B-" ||
279  particleName == "D+" ||
280  particleName == "D-" ||
281  particleName == "Ds+" ||
282  particleName == "Ds-" ||
283  particleName == "anti_He3" ||
284  particleName == "anti_alpha" ||
285  particleName == "anti_deuteron" ||
286  particleName == "anti_lambda_c+" ||
287  particleName == "anti_omega-" ||
288  particleName == "anti_sigma_c+" ||
289  particleName == "anti_sigma_c++" ||
290  particleName == "anti_sigma+" ||
291  particleName == "anti_sigma-" ||
292  particleName == "anti_triton" ||
293  particleName == "anti_xi_c+" ||
294  particleName == "anti_xi-" ||
295  particleName == "deuteron" ||
296  particleName == "lambda_c+" ||
297  particleName == "omega-" ||
298  particleName == "sigma_c+" ||
299  particleName == "sigma_c++" ||
300  particleName == "sigma+" ||
301  particleName == "sigma-" ||
302  particleName == "tau+" ||
303  particleName == "tau-" ||
304  particleName == "triton" ||
305  particleName == "xi_c+" ||
306  particleName == "xi-" ) {
307 
308  ph->RegisterProcess(new G4hIonisation(), particle);
309  ph->RegisterProcess(new G4CoulombScattering(), particle);
310  }
311  }
312 
313  // Deexcitation
314  //
317 
319 }
320 
321 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)
static G4He3 * He3()
Definition: G4He3.cc:94
const std::vector< G4String > & PartNames() const
static G4ParticleTable * GetParticleTable()
#define G4endl
Definition: G4ios.hh:61
static G4AntiProton * AntiProton()
Definition: G4AntiProton.cc:93
void SetVerbose(G4int val)
static G4MuonMinus * MuonMinus()
Definition: G4MuonMinus.cc:100
static G4Proton * Proton()
Definition: G4Proton.cc:93
static G4PionPlus * PionPlusDefinition()
Definition: G4PionPlus.cc:93
static G4Deuteron * Deuteron()
Definition: G4Deuteron.cc:94
static G4Gamma * Gamma()
Definition: G4Gamma.cc:86
void SetMscThetaLimit(G4double val)
void SetEmModel(G4VEmModel *, G4int index=0)
void SetLowestElectronEnergy(G4double val)
const G4String & GetPhysicsName() const
static G4Alpha * Alpha()
Definition: G4Alpha.cc:89
static G4Positron * Positron()
Definition: G4Positron.cc:94
static constexpr double eV
Definition: G4SIunits.hh:215
void SetPixe(G4bool val)
static G4PionMinus * PionMinusDefinition()
Definition: G4PionMinus.cc:93
static G4Electron * Electron()
Definition: G4Electron.cc:94
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4KaonMinus * KaonMinusDefinition()
Definition: G4KaonMinus.cc:108
void SetAugerCascade(G4bool val)
static G4GenericIon * GenericIonDefinition()
Definition: G4GenericIon.cc:88
static G4PhysicsListHelper * GetPhysicsListHelper()
int G4int
Definition: G4Types.hh:78
static G4Triton * Triton()
Definition: G4Triton.cc:95
static G4MuonPlus * MuonPlus()
Definition: G4MuonPlus.cc:99
G4GLOB_DLL std::ostream G4cout
static G4LossTableManager * Instance()
void SetAtomDeexcitation(G4VAtomDeexcitation *)
static G4KaonPlus * KaonPlusDefinition()
Definition: G4KaonPlus.cc:108
static G4EmParameters * Instance()