#include <G4empCrossSection.hh>
|
| G4empCrossSection (const G4String &nam="") |
|
virtual | ~G4empCrossSection () |
|
std::vector< G4double > | GetCrossSection (G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat) override |
|
G4double | CrossSection (G4int Z, G4AtomicShellEnumerator shell, G4double incidentEnergy, G4double mass, const G4Material *mat) override |
|
std::vector< G4double > | Probabilities (G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat) override |
|
void | SetTotalCS (G4double) override |
|
| G4empCrossSection (const G4empCrossSection &)=delete |
|
G4empCrossSection & | operator= (const G4empCrossSection &right)=delete |
|
| 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 |
|
| G4VhShellCrossSection (const G4VhShellCrossSection &)=delete |
|
G4VhShellCrossSection & | operator= (const G4VhShellCrossSection &right)=delete |
|
Definition at line 49 of file G4empCrossSection.hh.
◆ G4empCrossSection() [1/2]
G4empCrossSection::G4empCrossSection |
( |
const G4String & |
nam = "" | ) |
|
|
explicit |
Definition at line 40 of file G4empCrossSection.cc.
42{
43 if (nam == "Empirical")
44 {
47 flag=0;
48 }
49 else
50 {
51 G4cout <<
"G4empCrossSection::G4empCrossSection: "
52 << "ERROR in G4empCrossSection name; Paul+Orlic is selected."
56 flag=0;
57 }
58}
G4GLOB_DLL std::ostream G4cout
◆ ~G4empCrossSection()
G4empCrossSection::~G4empCrossSection |
( |
| ) |
|
|
virtual |
◆ G4empCrossSection() [2/2]
◆ CrossSection()
Implements G4VhShellCrossSection.
Definition at line 107 of file G4empCrossSection.cc.
111{
114
117 }
118
119
120
121
122
124
127 }
130 }
133 }
134 }
135 return res;
136}
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 70 of file G4empCrossSection.cc.
75{
76 std::vector<G4double> crossSections;
78
80
81
82
83
84
85
87
88 if (flag==0)
89 {
93 }
94
95 }
96 else {
97 crossSections.push_back( 0. );
98 crossSections.push_back( 0. );
99 crossSections.push_back( 0. );
100 }
101 return crossSections;
102
103}
Referenced by Probabilities().
◆ operator=()
◆ Probabilities()
Implements G4VhShellCrossSection.
Definition at line 140 of file G4empCrossSection.cc.
145{
146 std::vector<G4double> crossSections =
GetCrossSection(
Z, incidentEnergy, mass, deltaEnergy,mat);
147
148 for (size_t i=0; i<crossSections.size(); i++ ) {
149
150 if (totalCS) {
151 crossSections[i] = crossSections[i]/totalCS;
152 }
153
154 }
155 return crossSections;
156}
std::vector< G4double > GetCrossSection(G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat) override
◆ SetTotalCS()
void G4empCrossSection::SetTotalCS |
( |
G4double |
val | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: