Geant4-11
G4EmDNAPhysics.cc
Go to the documentation of this file.
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// add elastic scattering processes of proton, hydrogen, helium, alpha+, alpha++
27
28#include "G4EmDNAPhysics.hh"
29
30#include "G4SystemOfUnits.hh"
31
32// *** Processes and models for Geant4-DNA
34#include "G4DNAElastic.hh"
38
39#include "G4DNAExcitation.hh"
40#include "G4DNAAttachment.hh"
41#include "G4DNAVibExcitation.hh"
42#include "G4DNAIonisation.hh"
45
46// particles
47#include "G4Electron.hh"
48#include "G4Proton.hh"
49#include "G4Alpha.hh"
50#include "G4GenericIon.hh"
52
53// e+
54#include "G4Positron.hh"
56#include "G4eIonisation.hh"
57#include "G4eBremsstrahlung.hh"
59
60// gamma
61#include "G4Gamma.hh"
66#include "G4GammaConversion.hh"
69
70// utilities
71#include "G4EmParameters.hh"
73#include "G4BuilderType.hh"
74#include "G4EmBuilder.hh"
75
76// factory
78//
80
81//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
82
85{
86 // parameters for DNA and for option3 EM physics
87 SetVerboseLevel(ver);
89 param->SetDefaults();
90 param->SetMinEnergy(10*CLHEP::eV);
92 param->SetNumberOfBinsPerDecade(20);
93 param->SetStepFunction(0.2, 100*CLHEP::um);
95 param->SetLateralDisplacementAlg96(true);
96 param->SetFluo(true);
97 param->SetAuger(true);
98 param->SetDeexcitationIgnoreCut(true);
99 param->ActivateDNA();
100
102}
103
104//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
105
107{}
108
109//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
110
112{
113 // bosons
115
116 // leptons
119
120 // baryons
122
125
126 G4DNAGenericIonsManager* genericIonsManager
128 //genericIonsManager->GetIon("alpha++");
129 genericIonsManager->GetIon("alpha+");
130 genericIonsManager->GetIon("helium");
131 genericIonsManager->GetIon("hydrogen");
132 //genericIonsManager->GetIon("carbon");
133 //genericIonsManager->GetIon("nitrogen");
134 //genericIonsManager->GetIon("oxygen");
135 //genericIonsManager->GetIon("iron");
136}
137
138//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
139
141{
142 if(verboseLevel > 1) {
143 G4cout << "### " << GetPhysicsName()
144 << " Construct Processes " << G4endl;
145 }
147
148 G4PhysicsListHelper* helper =
150 G4DNAGenericIonsManager* genericIonsManager
152
153 // e-
155
156 // *** Solvation ***
157 G4DNAElectronSolvation* pSolvation =
158 new G4DNAElectronSolvation("e-_G4DNAElectronSolvation");
160 pSolvationModel->SetHighEnergyLimit(7.4*eV); // limit of the Champion's model
161 pSolvation->SetEmModel(pSolvationModel);
162 helper->RegisterProcess(pSolvation, part);
163
164 // *** Elastic scattering ***
165 G4DNAElastic* pElasticProcess = new G4DNAElastic("e-_G4DNAElastic");
166 pElasticProcess->SetEmModel(new G4DNAChampionElasticModel());
167 helper->RegisterProcess(pElasticProcess, part);
168
169 // *** Excitation ***
170 helper->RegisterProcess(new G4DNAExcitation("e-_G4DNAExcitation"), part);
171
172 // *** Ionisation ***
173 helper->RegisterProcess(new G4DNAIonisation("e-_G4DNAIonisation"), part);
174
175 // *** Vibrational excitation ***
176 helper->RegisterProcess(new G4DNAVibExcitation("e-_G4DNAVibExcitation"), part);
177
178 // *** Attachment ***
179 helper->RegisterProcess(new G4DNAAttachment("e-_G4DNAAttachment"), part);
180
181 // proton
182 part = G4Proton::Proton();
183
184 helper->RegisterProcess(new G4DNAElastic("proton_G4DNAElastic"), part);
185 helper->RegisterProcess(new G4DNAExcitation("proton_G4DNAExcitation"), part);
186 helper->RegisterProcess(new G4DNAIonisation("proton_G4DNAIonisation"), part);
187 helper->RegisterProcess(new G4DNAChargeDecrease("proton_G4DNAChargeDecrease"), part);
188
189 // hydrogen
190 part = genericIonsManager->GetIon("hydrogen");
191
192 helper->RegisterProcess(new G4DNAElastic("hydrogen_G4DNAElastic"), part);
193 helper->RegisterProcess(new G4DNAExcitation("hydrogen_G4DNAExcitation"), part);
194 helper->RegisterProcess(new G4DNAIonisation("hydrogen_G4DNAIonisation"), part);
195 helper->RegisterProcess(new G4DNAChargeIncrease("hydrogen_G4DNAChargeIncrease"), part);
196
197 // alpha++
198 part = G4Alpha::Alpha();
199
200 helper->RegisterProcess(new G4DNAElastic("alpha_G4DNAElastic"), part);
201 helper->RegisterProcess(new G4DNAExcitation("alpha_G4DNAExcitation"), part);
202 helper->RegisterProcess(new G4DNAIonisation("alpha_G4DNAIonisation"), part);
203 helper->RegisterProcess(new G4DNAChargeDecrease("alpha_G4DNAChargeDecrease"), part);
204
205 // alpha+
206 part = genericIonsManager->GetIon("alpha+");
207
208 helper->RegisterProcess(new G4DNAElastic("alpha+_G4DNAElastic"), part);
209 helper->RegisterProcess(new G4DNAExcitation("alpha+_G4DNAExcitation"), part);
210 helper->RegisterProcess(new G4DNAIonisation("alpha+_G4DNAIonisation"), part);
211 helper->RegisterProcess(new G4DNAChargeDecrease("alpha+_G4DNAChargeDecrease"), part);
212 helper->RegisterProcess(new G4DNAChargeIncrease("alpha+_G4DNAChargeIncrease"), part);
213
214 // helium
215 part = genericIonsManager->GetIon("helium");
216
217 helper->RegisterProcess(new G4DNAElastic("helium_G4DNAElastic"), part);
218 helper->RegisterProcess(new G4DNAExcitation("helium_G4DNAExcitation"), part);
219 helper->RegisterProcess(new G4DNAIonisation("helium_G4DNAIonisation"), part);
220 helper->RegisterProcess(new G4DNAChargeIncrease("helium_G4DNAChargeIncrease"), part);
221
222 // other ions
224
225 helper->RegisterProcess(new G4DNAIonisation("GenericIon_G4DNAIonisation"), part);
226}
227
229{
230 // this construction is based on G4EmStandardPhysics_option3
232
235
236 // photoelectric effect - Livermore model
237 G4PhotoElectricEffect* thePEEffect = new G4PhotoElectricEffect();
238 thePEEffect->SetEmModel(new G4LivermorePhotoElectricModel());
239 helper->RegisterProcess(thePEEffect, part);
240
241 // Compton scattering - Klein-Nishina
242 G4ComptonScattering* theComptonScattering = new G4ComptonScattering();
243 theComptonScattering->SetEmModel(new G4KleinNishinaModel());
244 helper->RegisterProcess(theComptonScattering, part);
245
246 // gamma conversion - 5D model
247 G4GammaConversion* theGammaConversion = new G4GammaConversion();
248 theGammaConversion->SetEmModel(new G4BetheHeitler5DModel());
249 helper->RegisterProcess(theGammaConversion, part);
250
251 // Rayleigh scattering - Livermore model
252 G4RayleighScattering* theRayleigh = new G4RayleighScattering();
253 helper->RegisterProcess(theRayleigh, part);
254
255 part = G4Positron::Positron();
256
257 helper->RegisterProcess(new G4eMultipleScattering(), part);
258 helper->RegisterProcess(new G4eIonisation(), part);
259 helper->RegisterProcess(new G4eBremsstrahlung(), part);
260 helper->RegisterProcess(new G4eplusAnnihilation(), part);
261}
262
263//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@ bElectromagnetic
G4_DECLARE_PHYSCONSTR_FACTORY(G4EmDNAPhysics)
@ fUseDistanceToBoundary
static constexpr double eV
Definition: G4SIunits.hh:201
int G4int
Definition: G4Types.hh:85
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
static G4Alpha * Alpha()
Definition: G4Alpha.cc:88
static G4DNAGenericIonsManager * Instance(void)
G4ParticleDefinition * GetIon(const G4String &name)
static G4VEmModel * GetMacroDefinedModel()
One step thermalization model can be chosen via macro using /process/dna/e-SolvationSubType Ritchie19...
static G4Electron * Electron()
Definition: G4Electron.cc:93
static void PrepareEMPhysics()
Definition: G4EmBuilder.cc:375
G4EmDNAPhysics(G4int ver=1, const G4String &name="G4EmDNAPhysics")
void ConstructParticle() override
virtual void ConstructGammaPositronProcesses()
void ConstructProcess() override
virtual ~G4EmDNAPhysics()
void SetMinEnergy(G4double val)
void SetLowestElectronEnergy(G4double val)
void SetNumberOfBinsPerDecade(G4int val)
static G4EmParameters * Instance()
void SetLateralDisplacementAlg96(G4bool val)
void SetStepFunction(G4double v1, G4double v2)
void SetDeexcitationIgnoreCut(G4bool val)
void SetFluo(G4bool val)
void SetMscStepLimitType(G4MscStepLimitType val)
void SetAuger(G4bool val)
static G4Gamma * Gamma()
Definition: G4Gamma.cc:85
static G4GenericIon * GenericIonDefinition()
Definition: G4GenericIon.cc:87
static G4GenericIon * GenericIon()
Definition: G4GenericIon.cc:92
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4PhysicsListHelper * GetPhysicsListHelper()
static G4Positron * Positron()
Definition: G4Positron.cc:93
static G4Proton * Proton()
Definition: G4Proton.cc:92
void SetEmModel(G4VEmModel *, G4int index=0)
const G4String & GetPhysicsName() const
void SetVerboseLevel(G4int value)
static constexpr double um
Definition: SystemOfUnits.h:94
static constexpr double eV
const char * name(G4int ptype)