Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
PhysListEm19DStandard.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: $
27 //
28 //---------------------------------------------------------------------------
29 //
30 // ClassName: PhysListEm19DStandard
31 //
32 // Author: Jose Luis Rodriguez 18.04.2018
33 //
34 // Modified:
35 // 18.04.2018 Created from PhysListEm5DStandard
36 //
37 //----------------------------------------------------------------------------
38 //
39 
40 #include "PhysListEm19DStandard.hh"
41 #include "G4SystemOfUnits.hh"
42 #include "G4ParticleDefinition.hh"
43 #include "G4EmParameters.hh"
44 #include "G4LossTableManager.hh"
45 
46 #include "G4ComptonScattering.hh"
47 #include "G4GammaConversion.hh"
48 #include "G4PhotoElectricEffect.hh"
49 #include "G4RayleighScattering.hh"
50 #include "G4BetheHeitler5DModel.hh"
51 
52 #include "G4eMultipleScattering.hh"
54 #include "G4hMultipleScattering.hh"
55 #include "G4CoulombScattering.hh"
57 #include "G4WentzelVIModel.hh"
58 #include "G4UrbanMscModel.hh"
59 #include "G4BraggIonModel.hh"
60 
65 
66 #include "G4eIonisation.hh"
67 #include "G4eBremsstrahlung.hh"
68 #include "G4eplusAnnihilation.hh"
69 #include "G4UAtomicDeexcitation.hh"
70 
71 #include "G4MuIonisation.hh"
72 #include "G4MuBremsstrahlung.hh"
73 #include "G4MuPairProduction.hh"
74 #include "G4hBremsstrahlung.hh"
75 #include "G4hPairProduction.hh"
76 
77 #include "G4hIonisation.hh"
78 #include "G4ionIonisation.hh"
79 #include "G4alphaIonisation.hh"
81 #include "G4AtimaFluctuations.hh"
82 
83 #include "G4Gamma.hh"
84 #include "G4Electron.hh"
85 #include "G4Positron.hh"
86 #include "G4MuonPlus.hh"
87 #include "G4MuonMinus.hh"
88 #include "G4PionPlus.hh"
89 #include "G4PionMinus.hh"
90 #include "G4KaonPlus.hh"
91 #include "G4KaonMinus.hh"
92 #include "G4Proton.hh"
93 #include "G4AntiProton.hh"
94 #include "G4Deuteron.hh"
95 #include "G4Triton.hh"
96 #include "G4He3.hh"
97 #include "G4Alpha.hh"
98 #include "G4GenericIon.hh"
99 
100 #include "G4PhysicsListHelper.hh"
101 #include "G4BuilderType.hh"
102 
103 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
104 
106  : G4VPhysicsConstructor("G4EmStandard_ATIMA"), verbose(ver)
107 {
109  param->SetDefaults();
110  param->SetVerbose(verbose);
111  param->SetNumberOfBinsPerDecade(10);
113  param->SetLateralDisplacementAlg96(false);
114  param->SetFluo(true);
116 }
117 
118 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
119 
121 {}
122 
123 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
124 
126 {
127  // gamma
128  G4Gamma::Gamma();
129 
130  // leptons
135 
136  // mesons
141 
142  // barions
145 
146  // ions
149  G4He3::He3();
150  G4Alpha::Alpha();
152 }
153 
154 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
155 
157 {
158  if(verbose > 1) {
159  G4cout << "### " << GetPhysicsName() << " Construct Processes " << G4endl;
160  }
162 
163  // muon & hadron bremsstrahlung and pair production
172 
173  // muon & hadron multiple scattering
175  mumsc->AddEmModel(0, new G4WentzelVIModel());
177 
179  pimsc->AddEmModel(0, new G4WentzelVIModel());
181 
183  kmsc->AddEmModel(0, new G4WentzelVIModel());
185 
186  G4hMultipleScattering* hmsc = new G4hMultipleScattering("ionmsc");
187 
188  // high energy limit for e+- scattering models
189  G4double highEnergyLimit = 100*MeV;
190 
191  // Add standard EM Processes
192  auto myParticleIterator=GetParticleIterator();
193  myParticleIterator->reset();
194  while( (*myParticleIterator)() ){
195  G4ParticleDefinition* particle = myParticleIterator->value();
196  G4String particleName = particle->GetParticleName();
197 
198  if (particleName == "gamma") {
199 
200  // photo-effect and Compton
201  ph->RegisterProcess(new G4PhotoElectricEffect(), particle);
202  ph->RegisterProcess(new G4ComptonScattering(), particle);
203 
204  // Gamma conversion
206  G4VEmModel* theGC5DModel = new G4BetheHeitler5DModel();
207  gc->SetEmModel(theGC5DModel);
208  ph->RegisterProcess(gc, particle);
209 
210  // Rayleigh scattering
211  ph->RegisterProcess(new G4RayleighScattering(), particle);
212 
213  } else if (particleName == "e-") {
214 
216  G4UrbanMscModel* msc1 = new G4UrbanMscModel();
217  G4WentzelVIModel* msc2 = new G4WentzelVIModel();
218  msc1->SetHighEnergyLimit(highEnergyLimit);
219  msc2->SetLowEnergyLimit(highEnergyLimit);
220  msc->AddEmModel(0, msc1);
221  msc->AddEmModel(0, msc2);
222 
225  ss->SetEmModel(ssm, 1);
226  ss->SetMinKinEnergy(highEnergyLimit);
227  ssm->SetLowEnergyLimit(highEnergyLimit);
228  ssm->SetActivationLowEnergyLimit(highEnergyLimit);
229 
230  ph->RegisterProcess(msc, particle);
231  ph->RegisterProcess(new G4eIonisation(), particle);
232  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
233  ph->RegisterProcess(ss, particle);
234 
235  } else if (particleName == "e+") {
236 
238  G4UrbanMscModel* msc1 = new G4UrbanMscModel();
239  G4WentzelVIModel* msc2 = new G4WentzelVIModel();
240  msc1->SetHighEnergyLimit(highEnergyLimit);
241  msc2->SetLowEnergyLimit(highEnergyLimit);
242  msc->AddEmModel(0, msc1);
243  msc->AddEmModel(0, msc2);
244 
247  ss->SetEmModel(ssm, 1);
248  ss->SetMinKinEnergy(highEnergyLimit);
249  ssm->SetLowEnergyLimit(highEnergyLimit);
250  ssm->SetActivationLowEnergyLimit(highEnergyLimit);
251 
252  ph->RegisterProcess(msc, particle);
253  ph->RegisterProcess(new G4eIonisation(), particle);
254  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
255  ph->RegisterProcess(new G4eplusAnnihilation(), particle);
256  ph->RegisterProcess(ss, particle);
257 
258  } else if (particleName == "mu+" ||
259  particleName == "mu-" ) {
260 
261  ph->RegisterProcess(mumsc, particle);
262  ph->RegisterProcess(new G4MuIonisation(), particle);
263  ph->RegisterProcess(mub, particle);
264  ph->RegisterProcess(mup, particle);
265  ph->RegisterProcess(muss, particle);
266 
267  } else if (particleName == "alpha" ||
268  particleName == "He3") {
269 
270  ph->RegisterProcess(new G4hMultipleScattering(), particle);
271  ph->RegisterProcess(new G4ionIonisation(), particle);
272 
273  } else if (particleName == "GenericIon") {
274 
275  G4ionIonisation* ionIoni = new G4ionIonisation();
276  ionIoni->SetEmModel(new G4BraggIonModel(),0);
277  ionIoni->SetEmModel(new G4AtimaEnergyLossModel(),1);
278  ionIoni->SetFluctModel(new G4AtimaFluctuations());
279 
280  ph->RegisterProcess(hmsc, particle);
281  ph->RegisterProcess(ionIoni, particle);
282 
283  } else if (particleName == "pi+" ||
284  particleName == "pi-" ) {
285 
286  ph->RegisterProcess(pimsc, particle);
287  ph->RegisterProcess(new G4hIonisation(), particle);
288  ph->RegisterProcess(pib, particle);
289  ph->RegisterProcess(pip, particle);
290  ph->RegisterProcess(piss, particle);
291 
292  } else if (particleName == "kaon+" ||
293  particleName == "kaon-" ) {
294 
295  ph->RegisterProcess(kmsc, particle);
296  ph->RegisterProcess(new G4hIonisation(), particle);
297  ph->RegisterProcess(kb, particle);
298  ph->RegisterProcess(kp, particle);
299  ph->RegisterProcess(kss, particle);
300 
301  } else if (particleName == "proton" ||
302  particleName == "anti_proton") {
303 
305  pmsc->SetEmModel(new G4WentzelVIModel());
306  G4hIonisation* hIoni = new G4hIonisation();
307  hIoni->SetStepFunction(0.1, 10*um);
308 
309  ph->RegisterProcess(pmsc, particle);
310  ph->RegisterProcess(hIoni, particle);
311  ph->RegisterProcess(pb, particle);
312  ph->RegisterProcess(pp, particle);
313  ph->RegisterProcess(new G4CoulombScattering(), particle);
314 
315  } else if (particleName == "B+" ||
316  particleName == "B-" ||
317  particleName == "D+" ||
318  particleName == "D-" ||
319  particleName == "Ds+" ||
320  particleName == "Ds-" ||
321  particleName == "anti_He3" ||
322  particleName == "anti_alpha" ||
323  particleName == "anti_deuteron" ||
324  particleName == "anti_lambda_c+" ||
325  particleName == "anti_omega-" ||
326  particleName == "anti_sigma_c+" ||
327  particleName == "anti_sigma_c++" ||
328  particleName == "anti_sigma+" ||
329  particleName == "anti_sigma-" ||
330  particleName == "anti_triton" ||
331  particleName == "anti_xi_c+" ||
332  particleName == "anti_xi-" ||
333  particleName == "deuteron" ||
334  particleName == "lambda_c+" ||
335  particleName == "omega-" ||
336  particleName == "sigma_c+" ||
337  particleName == "sigma_c++" ||
338  particleName == "sigma+" ||
339  particleName == "sigma-" ||
340  particleName == "tau+" ||
341  particleName == "tau-" ||
342  particleName == "triton" ||
343  particleName == "xi_c+" ||
344  particleName == "xi-" ) {
345 
346  ph->RegisterProcess(hmsc, particle);
347  ph->RegisterProcess(new G4hIonisation(), particle);
348  }
349  }
350 
351  // Deexcitation
352  //
355 }
356 
357 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
static G4He3 * He3()
Definition: G4He3.cc:94
void SetStepFunction(G4double v1, G4double v2, G4bool lock=true)
void SetEmModel(G4VEmModel *, G4int index=0)
static constexpr double MeV
Definition: G4SIunits.hh:214
void SetHighEnergyLimit(G4double)
Definition: G4VEmModel.hh:707
void SetMinKinEnergy(G4double e)
#define G4endl
Definition: G4ios.hh:61
static G4AntiProton * AntiProton()
Definition: G4AntiProton.cc:93
const G4String & GetParticleName() const
void SetVerbose(G4int val)
PhysListEm19DStandard(G4int ver=0, const G4String &name="")
static G4MuonMinus * MuonMinus()
Definition: G4MuonMinus.cc:100
static G4Proton * Proton()
Definition: G4Proton.cc:93
static G4PionPlus * PionPlusDefinition()
Definition: G4PionPlus.cc:93
static constexpr double um
Definition: G4SIunits.hh:113
static G4Deuteron * Deuteron()
Definition: G4Deuteron.cc:94
static G4Gamma * Gamma()
Definition: G4Gamma.cc:86
double G4double
Definition: G4Types.hh:76
void SetActivationLowEnergyLimit(G4double)
Definition: G4VEmModel.hh:728
void SetEmModel(G4VEmModel *, G4int index=0)
const G4String & GetPhysicsName() const
void SetFluo(G4bool val)
static G4Alpha * Alpha()
Definition: G4Alpha.cc:89
static G4Positron * Positron()
Definition: G4Positron.cc:94
void SetNumberOfBinsPerDecade(G4int val)
static G4PionMinus * PionMinusDefinition()
Definition: G4PionMinus.cc:93
static G4Electron * Electron()
Definition: G4Electron.cc:94
void SetFluctModel(G4VEmFluctuationModel *)
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4KaonMinus * KaonMinusDefinition()
Definition: G4KaonMinus.cc:108
void SetMscStepLimitType(G4MscStepLimitType val)
static G4GenericIon * GenericIonDefinition()
Definition: G4GenericIon.cc:88
static G4PhysicsListHelper * GetPhysicsListHelper()
int G4int
Definition: G4Types.hh:78
static G4Triton * Triton()
Definition: G4Triton.cc:95
void SetEmModel(G4VMscModel *, size_t index=0)
void SetLowEnergyLimit(G4double)
Definition: G4VEmModel.hh:714
static G4MuonPlus * MuonPlus()
Definition: G4MuonPlus.cc:99
G4GLOB_DLL std::ostream G4cout
static G4LossTableManager * Instance()
void SetAtomDeexcitation(G4VAtomDeexcitation *)
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
void AddEmModel(G4int order, G4VEmModel *, const G4Region *region=nullptr)
static G4KaonPlus * KaonPlusDefinition()
Definition: G4KaonPlus.cc:108
void SetLateralDisplacementAlg96(G4bool val)
static G4EmParameters * Instance()