#include <G4LivermoreIonisationCrossSection.hh>
|
| G4LivermoreIonisationCrossSection (const G4String &nam="LivermorePIXE") |
|
virtual | ~G4LivermoreIonisationCrossSection () |
|
void | Initialise () |
|
G4double | CrossSection (G4int Z, G4AtomicShellEnumerator shell, G4double incidentEnergy, G4double mass=0.0, const G4Material *mat=0) override |
|
std::vector< G4double > | GetCrossSection (G4int Z, G4double incidentEnergy, G4double mass=0.0, G4double deltaEnergy=0.0, const G4Material *mat=0) override |
|
std::vector< G4double > | Probabilities (G4int Z, G4double incidentEnergy, G4double mass=0.0, G4double deltaEnergy=0, const G4Material *mat=0) override |
|
G4LivermoreIonisationCrossSection & | operator= (const G4LivermoreIonisationCrossSection &right)=delete |
|
| G4LivermoreIonisationCrossSection (const G4LivermoreIonisationCrossSection &)=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 |
|
◆ G4LivermoreIonisationCrossSection() [1/2]
G4LivermoreIonisationCrossSection::G4LivermoreIonisationCrossSection |
( |
const G4String & |
nam = "LivermorePIXE" | ) |
|
|
explicit |
Definition at line 46 of file G4LivermoreIonisationCrossSection.cc.
48{
49 fLowEnergyLimit = 10.0*eV;
50 fHighEnergyLimit = 100.0*GeV;
51
53 verboseLevel = 0;
54
56}
static G4AtomicTransitionManager * Instance()
◆ ~G4LivermoreIonisationCrossSection()
G4LivermoreIonisationCrossSection::~G4LivermoreIonisationCrossSection |
( |
| ) |
|
|
virtual |
◆ G4LivermoreIonisationCrossSection() [2/2]
◆ CrossSection()
◆ GetCrossSection()
◆ Initialise()
void G4LivermoreIonisationCrossSection::Initialise |
( |
| ) |
|
Definition at line 67 of file G4LivermoreIonisationCrossSection.cc.
68{
69 const G4int binForFluo = 20;
70 G4int nbin =
G4int(std::log10(fHighEnergyLimit/fLowEnergyLimit) + 0.5);
71 if(nbin <= 0) { nbin = 1; }
72 nbin *= binForFluo;
73
74
75 if (crossSectionHandler) {
76 crossSectionHandler->
Clear();
77 delete crossSectionHandler;
78 }
79
81 crossSectionHandler =
84
85}
void LoadShellData(const G4String &dataFile)
Referenced by G4LivermoreIonisationCrossSection().
◆ operator=()
◆ Probabilities()
Implements G4VhShellCrossSection.
Definition at line 121 of file G4LivermoreIonisationCrossSection.cc.
126{
128 size_t n = vec.size();
129 size_t i;
131 for(i=0; i<
n; ++i) { sum += vec[i]; }
132 if(sum > 0.0) {
133 sum = 1.0/sum;
134 for(i=0; i<
n; ++i) { vec[i] = vec[i]*sum; }
135 }
136 return vec;
137}
std::vector< G4double > GetCrossSection(G4int Z, G4double incidentEnergy, G4double mass=0.0, G4double deltaEnergy=0.0, const G4Material *mat=0) override
The documentation for this class was generated from the following files: