Geant4.10
|
#include <G4PenelopeIonisationXSHandler.hh>
Public Member Functions | |
G4PenelopeIonisationXSHandler (size_t nBins=200) | |
virtual | ~G4PenelopeIonisationXSHandler () |
Destructor. Clean all tables. More... | |
G4double | GetDensityCorrection (const G4Material *, const G4double energy) const |
Returns the density coeection for the material at the given energy. More... | |
const G4PenelopeCrossSection * | GetCrossSectionTableForCouple (const G4ParticleDefinition *, const G4Material *, const G4double cut) const |
void | SetVerboseLevel (G4int vl) |
Setter for the verbosity level. More... | |
void | BuildXSTable (const G4Material *, G4double cut, const G4ParticleDefinition *, G4bool isMaster=true) |
This can be inkoved only by the master. More... | |
Definition at line 60 of file G4PenelopeIonisationXSHandler.hh.
G4PenelopeIonisationXSHandler::G4PenelopeIonisationXSHandler | ( | size_t | nBins = 200 | ) |
Constructor. nBins is the number of intervals in the energy grid. By default the energy grid goes from 100 eV to 100 GeV.
Definition at line 47 of file G4PenelopeIonisationXSHandler.cc.
References python.hepunit::eV, G4PenelopeOscillatorManager::GetOscillatorManager(), and python.hepunit::GeV.
|
virtual |
Destructor. Clean all tables.
Definition at line 70 of file G4PenelopeIonisationXSHandler.cc.
References G4cout, G4endl, and tab().
void G4PenelopeIonisationXSHandler::BuildXSTable | ( | const G4Material * | mat, |
G4double | cut, | ||
const G4ParticleDefinition * | part, | ||
G4bool | isMaster = true |
||
) |
This can be inkoved only by the master.
Definition at line 166 of file G4PenelopeIonisationXSHandler.cc.
References G4PenelopeCrossSection::AddCrossSectionPoint(), G4PenelopeCrossSection::AddShellCrossSectionPoint(), plottest35::bin, G4Electron::Electron(), energy(), FatalException, G4cout, G4endl, G4Exception(), GetDensityCorrection(), G4PhysicsVector::GetLowEdgeEnergy(), G4Material::GetName(), G4PenelopeOscillator::GetOscillatorStrength(), G4PenelopeOscillatorManager::GetOscillatorTableIonisation(), G4ParticleDefinition::GetParticleName(), G4PhysicsVector::GetVectorLength(), python.hepunit::keV, G4PenelopeCrossSection::NormalizeShellCrossSections(), and G4Positron::Positron().
Referenced by G4PenelopeIonisationModel::ComputeDEDXPerVolume(), G4PenelopeIonisationCrossSection::CrossSection(), G4PenelopeIonisationModel::CrossSectionPerVolume(), and G4PenelopeIonisationModel::Initialise().
const G4PenelopeCrossSection * G4PenelopeIonisationXSHandler::GetCrossSectionTableForCouple | ( | const G4ParticleDefinition * | part, |
const G4Material * | mat, | ||
const G4double | cut | ||
) | const |
Returns the table of cross sections for the given particle, given material and given cut as a G4PenelopeCrossSection* pointer.
Definition at line 117 of file G4PenelopeIonisationXSHandler.cc.
References G4Electron::Electron(), FatalException, G4endl, G4Exception(), G4ParticleDefinition::GetParticleName(), and G4Positron::Positron().
Referenced by G4PenelopeIonisationModel::ComputeDEDXPerVolume(), G4PenelopeIonisationCrossSection::CrossSection(), and G4PenelopeIonisationModel::CrossSectionPerVolume().
G4double G4PenelopeIonisationXSHandler::GetDensityCorrection | ( | const G4Material * | mat, |
const G4double | energy | ||
) | const |
Returns the density coeection for the material at the given energy.
Definition at line 292 of file G4PenelopeIonisationXSHandler.cc.
References python.hepunit::eV, FatalException, G4cout, G4endl, G4Exception(), G4Material::GetName(), and G4PhysicsVector::Value().
Referenced by BuildXSTable().
Setter for the verbosity level.
Definition at line 79 of file G4PenelopeIonisationXSHandler.hh.
Referenced by G4PenelopeIonisationModel::Initialise().