Geant4.10
|
#include <G4PenelopeCrossSection.hh>
Public Member Functions | |
G4PenelopeCrossSection (size_t nOfEnergyPoints, size_t nOfShells=0) | |
~G4PenelopeCrossSection () | |
G4double | GetTotalCrossSection (G4double energy) const |
Returns total cross section at the given energy. More... | |
G4double | GetHardCrossSection (G4double energy) const |
Returns hard cross section at the given energy. More... | |
G4double | GetSoftStoppingPower (G4double energy) const |
Returns the total stopping power due to soft collisions. More... | |
G4double | GetShellCrossSection (size_t shellID, G4double energy) const |
Returns the hard cross section for the given shell (per molecule) More... | |
G4double | GetNormalizedShellCrossSection (size_t shellID, G4double energy) const |
Returns the hard cross section for the given shell (normalized to 1) More... | |
size_t | GetNumberOfShells () const |
void | AddCrossSectionPoint (size_t binNumber, G4double energy, G4double XH0, G4double XH1, G4double XH2, G4double XS0, G4double XS1, G4double XS2) |
void | AddShellCrossSectionPoint (size_t binNumber, size_t shellID, G4double energy, G4double xs) |
void | NormalizeShellCrossSections () |
Definition at line 72 of file G4PenelopeCrossSection.hh.
G4PenelopeCrossSection::G4PenelopeCrossSection | ( | size_t | nOfEnergyPoints, |
size_t | nOfShells = 0 |
||
) |
Definition at line 44 of file G4PenelopeCrossSection.cc.
References FatalException, G4endl, G4Exception(), and G4PhysicsTable::push_back().
G4PenelopeCrossSection::~G4PenelopeCrossSection | ( | ) |
Definition at line 97 of file G4PenelopeCrossSection.cc.
void G4PenelopeCrossSection::AddCrossSectionPoint | ( | size_t | binNumber, |
G4double | energy, | ||
G4double | XH0, | ||
G4double | XH1, | ||
G4double | XH2, | ||
G4double | XS0, | ||
G4double | XS1, | ||
G4double | XS2 | ||
) |
Public interface for the master thread
Definition at line 123 of file G4PenelopeCrossSection.cc.
References python.hepunit::cm2, python.hepunit::eV, G4cout, G4endl, G4INCL::Math::max(), and G4PhysicsFreeVector::PutValue().
Referenced by G4PenelopeIonisationXSHandler::BuildXSTable().
void G4PenelopeCrossSection::AddShellCrossSectionPoint | ( | size_t | binNumber, |
size_t | shellID, | ||
G4double | energy, | ||
G4double | xs | ||
) |
Definition at line 183 of file G4PenelopeCrossSection.cc.
References python.hepunit::cm2, G4cout, G4endl, G4INCL::Math::max(), and G4PhysicsFreeVector::PutValue().
Referenced by G4PenelopeIonisationXSHandler::BuildXSTable().
Returns hard cross section at the given energy.
Definition at line 268 of file G4PenelopeCrossSection.cc.
References G4cout, G4endl, G4PhysicsVector::GetVectorLength(), and G4PhysicsVector::Value().
Referenced by G4PenelopeBremsstrahlungModel::CrossSectionPerVolume(), and G4PenelopeIonisationModel::CrossSectionPerVolume().
G4double G4PenelopeCrossSection::GetNormalizedShellCrossSection | ( | size_t | shellID, |
G4double | energy | ||
) | const |
Returns the hard cross section for the given shell (normalized to 1)
Definition at line 363 of file G4PenelopeCrossSection.cc.
References G4cout, G4endl, G4PhysicsVector::GetVectorLength(), and G4PhysicsVector::Value().
|
inline |
Definition at line 94 of file G4PenelopeCrossSection.hh.
Returns the hard cross section for the given shell (per molecule)
Definition at line 327 of file G4PenelopeCrossSection.cc.
References G4cout, G4endl, G4PhysicsVector::GetVectorLength(), and G4PhysicsVector::Value().
Referenced by G4PenelopeIonisationCrossSection::CrossSection().
Returns the total stopping power due to soft collisions.
Definition at line 298 of file G4PenelopeCrossSection.cc.
References G4cout, G4endl, G4PhysicsVector::GetVectorLength(), and G4PhysicsVector::Value().
Referenced by G4PenelopeBremsstrahlungModel::ComputeDEDXPerVolume(), and G4PenelopeIonisationModel::ComputeDEDXPerVolume().
Returns total cross section at the given energy.
Definition at line 224 of file G4PenelopeCrossSection.cc.
References G4cout, G4endl, G4PhysicsVector::GetVectorLength(), and G4PhysicsVector::Value().
Referenced by G4PenelopeIonisationModel::CrossSectionPerVolume().
void G4PenelopeCrossSection::NormalizeShellCrossSections | ( | ) |
Definition at line 411 of file G4PenelopeCrossSection.cc.
References G4cout, G4endl, G4PhysicsVector::GetLowEdgeEnergy(), and G4PhysicsFreeVector::PutValue().
Referenced by G4PenelopeIonisationXSHandler::BuildXSTable().