#include <G4VhShellCrossSection.hh>
|
| 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 60 of file G4VhShellCrossSection.hh.
◆ G4VhShellCrossSection() [1/2]
G4VhShellCrossSection::G4VhShellCrossSection |
( |
const G4String & |
xname = "" | ) |
|
|
explicit |
◆ ~G4VhShellCrossSection()
G4VhShellCrossSection::~G4VhShellCrossSection |
( |
| ) |
|
|
virtual |
◆ G4VhShellCrossSection() [2/2]
◆ CrossSection()
◆ GetCrossSection()
◆ GetName()
const G4String & G4VhShellCrossSection::GetName |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ Probabilities()
◆ SelectRandomShell()
Definition at line 63 of file G4VhShellCrossSection.cc.
70{
71 std::vector<G4double> p =
76 for (
G4int i=0; i<nShells; ++i) {
77
78 if (p[i] >= q) {
79 shell = i;
80 break;
81 }
82 q -= p[i];
83 }
84 return shell;
85}
virtual std::vector< G4double > Probabilities(G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat)=0
◆ SetTotalCS()
void G4VhShellCrossSection::SetTotalCS |
( |
G4double |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: