Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4DNARuddIonisationDynamicModel.hh
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// Created 11.02.2025 V.Ivanchenko & M. Vologzhin
27// on base of previous Rudd models
28//
29// Rudd model of ion ionisation using dynamic mass and charge of an ion
30//
31
32#ifndef G4DNARuddIonisationDynamicModel_h
33#define G4DNARuddIonisationDynamicModel_h 1
34
35#include "G4VEmModel.hh"
36#include "G4VSIntegration.hh"
38
40#include <vector>
41
45class G4Pow;
46class G4EmCorrections;
47
49{
50public:
51
52 explicit G4DNARuddIonisationDynamicModel(const G4ParticleDefinition* p = nullptr,
53 const G4String& nam = "DNARuddIonisationDynamicModel");
54
56
57 void Initialise(const G4ParticleDefinition*, const G4DataVector&) override;
58
60
62 const G4ParticleDefinition* p,
63 G4double ekin,
64 G4double emin,
65 G4double emax) override;
66
67 void SampleSecondaries(std::vector<G4DynamicParticle*>*,
69 const G4DynamicParticle*,
70 G4double tmin,
71 G4double maxEnergy) override;
72
73 void StartTracking(G4Track*) override;
74
76 (const G4DNARuddIonisationDynamicModel &right) = delete;
78
79private:
80
81 void LoadData();
82
83 void SetParticle(const G4ParticleDefinition*);
84
85 G4int SelectShell();
86
87 G4double MaxEnergy();
88
89 G4double SampleElectronEnergy();
90
91 G4double CorrectionFactor();
92
93 G4double S_1s(G4double t,
94 G4double energyTransferred,
95 G4double slaterEffectiveChg,
96 G4double shellNumber);
97
98 G4double S_2s(G4double t,
99 G4double energyTransferred,
100 G4double slaterEffectiveChg,
101 G4double shellNumber);
102
103
104 G4double S_2p(G4double t,
105 G4double energyTransferred,
106 G4double slaterEffectiveChg,
107 G4double shellNumber);
108
109 G4double Rh(G4double t,
110 G4double energyTransferred,
111 G4double slaterEffectiveChg,
112 G4double shellNumber);
113
114protected:
115
117
118private:
119
120 // Water density table
121 static const std::vector<G4double>* fpWaterDensity;
122
123 // cross section data
124 static G4ExtendedPhysicsVector* xsdata_alpha;
125 static G4ExtendedPhysicsVector* xsdata_alphap;
126 static G4ExtendedPhysicsVector* xsdata_hydrogen;
127 static G4ExtendedPhysicsVector* xsdata_helium;
128 static G4ExtendedPhysicsVector* xsdata_p;
129
130 // run time data
131 G4ExtendedPhysicsVector* xsdata{nullptr};
132
133 const G4ParticleDefinition* fParticle{nullptr};
134 const G4Track* fTrack{nullptr};
135
136 G4DNAChemistryManager* fChemistry{nullptr};
137 G4EmCorrections* fEmCorrections;
138 G4Pow* fGpow;
139
140 //deexcitation manager to produce fluo photons and e-
141 G4VAtomDeexcitation* fAtomDeexcitation{nullptr};
142
143 // low-energy limit of proton x-section table
144 G4double fLowestEnergy{0.0};
145
146 // tracking cut
147 G4double fAbsorptionEnergy{0.0};
148
149 G4double fMass{0.0};
150 G4double fMassRate{1.0};
151 G4double fScaledEnergy{0.0};
152
153 G4double slaterEffectiveCharge[3] = {0.0};
154 G4double sCoefficient[3] = {0.0};
155
156 G4double F1{0.0};
157 G4double F2{0.0};
158 G4double alphaConst{0.0};
159 G4double bEnergy{0.0};
160 G4double u{0.0};
161 G4double v{0.0};
162 G4double wc{0.0};
163
164 G4int fSelectedShell{0};
165 G4int verbose{0};
166 std::size_t idx{0};
167
168 G4bool isFirst{false};
169 G4bool isInitialised{false};
170 G4bool isIon{false};
171 G4bool isHelium{false};
172 G4bool statCode{false};
173 G4bool useDNAWaterStructure{true};
174
175 // energy levels of water molecule
176 G4DNAWaterIonisationStructure waterStructure;
177};
178
179//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
180
181#endif
double G4double
Definition G4Types.hh:83
bool G4bool
Definition G4Types.hh:86
int G4int
Definition G4Types.hh:85
G4DNARuddIonisationDynamicModel(const G4ParticleDefinition *p=nullptr, const G4String &nam="DNARuddIonisationDynamicModel")
G4double CrossSectionPerVolume(const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double emin, G4double emax) override
void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) override
void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
G4DNARuddIonisationDynamicModel(const G4DNARuddIonisationDynamicModel &)=delete
G4double ProbabilityDensityFunction(G4double ekin) override
Definition G4Pow.hh:49
G4VEmModel(const G4String &nam)
Definition G4VEmModel.cc:67
G4VSIntegration()=default