#include <G4empCrossSection.hh>
|
| G4empCrossSection (const G4String &nam="") |
|
virtual | ~G4empCrossSection () |
|
std::vector< G4double > | GetCrossSection (G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat) |
|
G4double | CrossSection (G4int Z, G4AtomicShellEnumerator shell, G4double incidentEnergy, G4double mass, const G4Material *mat) |
|
std::vector< G4double > | Probabilities (G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat) |
|
void | SetTotalCS (G4double) |
|
| G4VhShellCrossSection (const G4String &xname="") |
|
virtual | ~G4VhShellCrossSection () |
|
G4int | SelectRandomShell (G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat) |
|
virtual std::vector< G4double > | GetCrossSection (G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat)=0 |
|
virtual G4double | CrossSection (G4int Z, G4AtomicShellEnumerator shell, G4double incidentEnergy, G4double mass, const G4Material *mat)=0 |
|
virtual std::vector< G4double > | Probabilities (G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat)=0 |
|
virtual void | SetTotalCS (G4double) |
|
const G4String & | GetName () const |
|
Definition at line 51 of file G4empCrossSection.hh.
◆ G4empCrossSection()
G4empCrossSection::G4empCrossSection |
( |
const G4String & |
nam = "" | ) |
|
◆ ~G4empCrossSection()
G4empCrossSection::~G4empCrossSection |
( |
| ) |
|
|
virtual |
Definition at line 52 of file G4empCrossSection.cc.
53{
54
55 delete paulShellK;
56 delete orlicShellLi;
57
58}
◆ CrossSection()
Implements G4VhShellCrossSection.
Definition at line 91 of file G4empCrossSection.cc.
95{
96
97
98
103 }
104
105
106
107
108
109
111
114 }
117 }
120 }
121 }
122 return res;
123}
G4double CalculateL2CrossSection(G4int zTarget, G4double energyIncident)
G4double CalculateL1CrossSection(G4int zTarget, G4double energyIncident)
G4double CalculateL3CrossSection(G4int zTarget, G4double energyIncident)
G4double GetPDGMass() const
G4double CalculateKCrossSection(G4int zTarget, G4double massIncident, G4double energyIncident)
static G4Proton * Proton()
◆ GetCrossSection()
Implements G4VhShellCrossSection.
Definition at line 60 of file G4empCrossSection.cc.
65{
66 std::vector<G4double> crossSections;
68
70
71
72
73
74
75
80 }
81
82 else {
83 crossSections.push_back( 0. );
84 crossSections.push_back( 0. );
85 crossSections.push_back( 0. );
86 }
87 return crossSections;
88
89}
Referenced by Probabilities().
◆ Probabilities()
Implements G4VhShellCrossSection.
Definition at line 125 of file G4empCrossSection.cc.
130{
131
132 std::vector<G4double> crossSections =
GetCrossSection(Z, incidentEnergy, mass, deltaEnergy,mat);
133
134 for (size_t i=0; i<crossSections.size(); i++ ) {
135
136 if (totalCS) {
137 crossSections[i] = crossSections[i]/totalCS;
138 }
139
140 }
141
142 return crossSections;
143
144}
std::vector< G4double > GetCrossSection(G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat)
◆ SetTotalCS()
void G4empCrossSection::SetTotalCS |
( |
G4double |
val | ) |
|
|
virtual |
The documentation for this class was generated from the following files: