Geant4
10.01.p02
|
#include <G4LossTableBuilder.hh>
Public Member Functions | |
G4LossTableBuilder () | |
virtual | ~G4LossTableBuilder () |
void | BuildDEDXTable (G4PhysicsTable *dedxTable, const std::vector< G4PhysicsTable * > &) |
void | BuildRangeTable (const G4PhysicsTable *dedxTable, G4PhysicsTable *rangeTable, G4bool isIonisation=false) |
void | BuildInverseRangeTable (const G4PhysicsTable *rangeTable, G4PhysicsTable *invRangeTable, G4bool isIonisation=false) |
G4PhysicsTable * | BuildTableForModel (G4PhysicsTable *table, G4VEmModel *model, const G4ParticleDefinition *, G4double emin, G4double emax, G4bool spline) |
void | InitialiseBaseMaterials (G4PhysicsTable *table) |
const std::vector< G4int > * | GetCoupleIndexes () |
const std::vector< G4double > * | GetDensityFactors () |
G4bool | GetFlag (size_t idx) const |
void | SetSplineFlag (G4bool flag) |
void | SetInitialisationFlag (G4bool flag) |
Private Member Functions | |
void | InitialiseCouples () |
G4LossTableBuilder & | operator= (const G4LossTableBuilder &right) |
G4LossTableBuilder (const G4LossTableBuilder &) | |
Private Attributes | |
G4bool | splineFlag |
G4bool | isInitialized |
std::vector< G4double > * | theDensityFactor |
std::vector< G4int > * | theDensityIdx |
std::vector< G4bool > * | theFlag |
Definition at line 61 of file G4LossTableBuilder.hh.
G4LossTableBuilder::G4LossTableBuilder | ( | ) |
Definition at line 72 of file G4LossTableBuilder.cc.
References isInitialized, splineFlag, theDensityFactor, theDensityIdx, and theFlag.
|
virtual |
Definition at line 84 of file G4LossTableBuilder.cc.
References theDensityFactor, theDensityIdx, and theFlag.
|
private |
void G4LossTableBuilder::BuildDEDXTable | ( | G4PhysicsTable * | dedxTable, |
const std::vector< G4PhysicsTable * > & | list | ||
) |
Definition at line 94 of file G4LossTableBuilder.cc.
References G4PhysicsVector::FillSecondDerivatives(), G4PhysicsVector::GetVectorLength(), G4PhysicsVector::PutValue(), G4PhysicsTableHelper::SetPhysicsVector(), G4PhysicsVector::SetSpline(), and splineFlag.
Referenced by G4LossTableManager::BuildTables().
void G4LossTableBuilder::BuildInverseRangeTable | ( | const G4PhysicsTable * | rangeTable, |
G4PhysicsTable * | invRangeTable, | ||
G4bool | isIonisation = false |
||
) |
Definition at line 221 of file G4LossTableBuilder.cc.
References G4PhysicsVector::Energy(), G4PhysicsVector::FillSecondDerivatives(), G4PhysicsVector::GetVectorLength(), G4LPhysicsFreeVector::PutValues(), G4PhysicsTableHelper::SetPhysicsVector(), G4PhysicsVector::SetSpline(), splineFlag, and theFlag.
Referenced by G4LossTableManager::BuildTables(), and G4TablesForExtrapolator::Initialisation().
void G4LossTableBuilder::BuildRangeTable | ( | const G4PhysicsTable * | dedxTable, |
G4PhysicsTable * | rangeTable, | ||
G4bool | isIonisation = false |
||
) |
Definition at line 134 of file G4LossTableBuilder.cc.
References G4INCL::KinematicsUtils::energy(), G4PhysicsVector::Energy(), G4PhysicsVector::FillSecondDerivatives(), G4PhysicsVector::GetVectorLength(), n, G4PhysicsVector::PutValue(), G4PhysicsTableHelper::SetPhysicsVector(), G4PhysicsVector::SetSpline(), splineFlag, theFlag, and G4PhysicsVector::Value().
Referenced by G4LossTableManager::BuildTables(), and G4TablesForExtrapolator::Initialisation().
G4PhysicsTable * G4LossTableBuilder::BuildTableForModel | ( | G4PhysicsTable * | table, |
G4VEmModel * | model, | ||
const G4ParticleDefinition * | part, | ||
G4double | emin, | ||
G4double | emax, | ||
G4bool | spline | ||
) |
Definition at line 410 of file G4LossTableBuilder.cc.
References G4PhysicsTable::clearAndDestroy(), G4PhysicsVector::Energy(), eV, G4PhysicsVector::FillSecondDerivatives(), GetFlag(), G4MaterialCutsCouple::GetMaterial(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4LossTableManager::GetNumberOfBinsPerDecade(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), InitialiseBaseMaterials(), G4LossTableManager::Instance(), G4INCL::Math::max(), G4VEmModel::MinPrimaryEnergy(), n, G4PhysicsTableHelper::PreparePhysicsTable(), G4PhysicsVector::PutValue(), G4PhysicsTableHelper::SetPhysicsVector(), G4PhysicsVector::SetSpline(), and G4VEmModel::Value().
Referenced by G4VMscModel::GetParticleChangeForMSC().
|
inline |
Definition at line 123 of file G4LossTableBuilder.hh.
References InitialiseCouples(), and theDensityIdx.
Referenced by G4VEnergyLossProcess::BuildLambdaTable(), G4VEmProcess::BuildPhysicsTable(), G4VEnergyLossProcess::BuildPhysicsTable(), G4VMscModel::GetParticleChangeForMSC(), G4VEnergyLossProcess::SetDEDXTable(), and G4VEnergyLossProcess::SetLambdaTable().
|
inline |
Definition at line 130 of file G4LossTableBuilder.hh.
References InitialiseCouples(), theDensityFactor, and theDensityIdx.
Referenced by G4VEnergyLossProcess::BuildLambdaTable(), G4VEmProcess::BuildPhysicsTable(), G4VEnergyLossProcess::BuildPhysicsTable(), G4VMscModel::GetParticleChangeForMSC(), G4VEnergyLossProcess::SetDEDXTable(), and G4VEnergyLossProcess::SetLambdaTable().
|
inline |
Definition at line 136 of file G4LossTableBuilder.hh.
References theFlag.
Referenced by G4VEnergyLossProcess::BuildDEDXTable(), G4VEnergyLossProcess::BuildLambdaTable(), G4VEmProcess::BuildLambdaTable(), and BuildTableForModel().
void G4LossTableBuilder::InitialiseBaseMaterials | ( | G4PhysicsTable * | table | ) |
Definition at line 257 of file G4LossTableBuilder.cc.
References G4Material::GetBaseMaterial(), G4Material::GetDensity(), G4PhysicsTable::GetFlag(), G4MaterialCutsCouple::GetMaterial(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4MaterialCutsCouple::GetProductionCuts(), G4ProductionCutsTable::GetProductionCutsTable(), isInitialized, theDensityFactor, theDensityIdx, and theFlag.
Referenced by G4VEmProcess::BuildPhysicsTable(), G4VEnergyLossProcess::BuildPhysicsTable(), BuildTableForModel(), G4VEmProcess::PreparePhysicsTable(), and G4VEnergyLossProcess::PreparePhysicsTable().
|
private |
Definition at line 343 of file G4LossTableBuilder.cc.
References G4Material::GetBaseMaterial(), G4Material::GetDensity(), G4MaterialCutsCouple::GetMaterial(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4MaterialCutsCouple::GetProductionCuts(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), isInitialized, theDensityFactor, theDensityIdx, and theFlag.
Referenced by GetCoupleIndexes(), and GetDensityFactors().
|
private |
|
inline |
Definition at line 146 of file G4LossTableBuilder.hh.
References isInitialized.
Referenced by G4LossTableManager::ResetParameters().
|
inline |
Definition at line 141 of file G4LossTableBuilder.hh.
References splineFlag.
Referenced by G4LossTableManager::ResetParameters().
|
private |
Definition at line 114 of file G4LossTableBuilder.hh.
Referenced by G4LossTableBuilder(), InitialiseBaseMaterials(), InitialiseCouples(), and SetInitialisationFlag().
|
private |
Definition at line 113 of file G4LossTableBuilder.hh.
Referenced by BuildDEDXTable(), BuildInverseRangeTable(), BuildRangeTable(), G4LossTableBuilder(), and SetSplineFlag().
|
private |
Definition at line 116 of file G4LossTableBuilder.hh.
Referenced by G4LossTableBuilder(), GetDensityFactors(), InitialiseBaseMaterials(), InitialiseCouples(), and ~G4LossTableBuilder().
|
private |
Definition at line 117 of file G4LossTableBuilder.hh.
Referenced by G4LossTableBuilder(), GetCoupleIndexes(), GetDensityFactors(), InitialiseBaseMaterials(), InitialiseCouples(), and ~G4LossTableBuilder().
|
private |
Definition at line 118 of file G4LossTableBuilder.hh.
Referenced by BuildInverseRangeTable(), BuildRangeTable(), G4LossTableBuilder(), GetFlag(), InitialiseBaseMaterials(), InitialiseCouples(), and ~G4LossTableBuilder().