Geant4.10
|
#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) |
Definition at line 61 of file G4LossTableBuilder.hh.
G4LossTableBuilder::G4LossTableBuilder | ( | ) |
Definition at line 72 of file G4LossTableBuilder.cc.
|
virtual |
Definition at line 84 of file G4LossTableBuilder.cc.
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(), and G4PhysicsVector::SetSpline().
void G4LossTableBuilder::BuildInverseRangeTable | ( | const G4PhysicsTable * | rangeTable, |
G4PhysicsTable * | invRangeTable, | ||
G4bool | isIonisation = false |
||
) |
Definition at line 217 of file G4LossTableBuilder.cc.
References G4PhysicsVector::Energy(), G4PhysicsVector::FillSecondDerivatives(), G4PhysicsVector::GetVectorLength(), G4LPhysicsFreeVector::PutValues(), G4PhysicsTableHelper::SetPhysicsVector(), G4PhysicsVector::SetSpline(), and test::v.
void G4LossTableBuilder::BuildRangeTable | ( | const G4PhysicsTable * | dedxTable, |
G4PhysicsTable * | rangeTable, | ||
G4bool | isIonisation = false |
||
) |
Definition at line 132 of file G4LossTableBuilder.cc.
References energy(), G4PhysicsVector::Energy(), G4PhysicsVector::FillSecondDerivatives(), G4PhysicsVector::GetVectorLength(), n, G4PhysicsVector::PutValue(), G4PhysicsTableHelper::SetPhysicsVector(), G4PhysicsVector::SetSpline(), test::v, and G4PhysicsVector::Value().
G4PhysicsTable * G4LossTableBuilder::BuildTableForModel | ( | G4PhysicsTable * | table, |
G4VEmModel * | model, | ||
const G4ParticleDefinition * | part, | ||
G4double | emin, | ||
G4double | emax, | ||
G4bool | spline | ||
) |
Definition at line 404 of file G4LossTableBuilder.cc.
References G4PhysicsTable::clearAndDestroy(), G4PhysicsVector::Energy(), python.hepunit::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.
Referenced by G4VEnergyLossProcess::BuildLambdaTable(), G4VEmProcess::BuildPhysicsTable(), G4VEnergyLossProcess::BuildPhysicsTable(), G4VMscModel::GetParticleChangeForMSC(), and G4VEnergyLossProcess::SetLambdaTable().
|
inline |
Definition at line 130 of file G4LossTableBuilder.hh.
Referenced by G4VEnergyLossProcess::BuildLambdaTable(), G4VEmProcess::BuildPhysicsTable(), G4VEnergyLossProcess::BuildPhysicsTable(), G4VMscModel::GetParticleChangeForMSC(), and G4VEnergyLossProcess::SetLambdaTable().
|
inline |
Definition at line 136 of file G4LossTableBuilder.hh.
Referenced by G4VEnergyLossProcess::BuildDEDXTable(), G4VEnergyLossProcess::BuildLambdaTable(), and BuildTableForModel().
void G4LossTableBuilder::InitialiseBaseMaterials | ( | G4PhysicsTable * | table | ) |
Definition at line 253 of file G4LossTableBuilder.cc.
References G4Material::GetBaseMaterial(), G4Material::GetDensity(), G4PhysicsTable::GetFlag(), G4MaterialCutsCouple::GetMaterial(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4MaterialCutsCouple::GetProductionCuts(), and G4ProductionCutsTable::GetProductionCutsTable().
Referenced by G4VEmProcess::BuildPhysicsTable(), G4VEnergyLossProcess::BuildPhysicsTable(), BuildTableForModel(), G4VEmProcess::PreparePhysicsTable(), and G4VEnergyLossProcess::PreparePhysicsTable().
Definition at line 146 of file G4LossTableBuilder.hh.
Referenced by G4EmManager::PreparePhysicsTable(), and G4LossTableManager::PreparePhysicsTable().
Definition at line 141 of file G4LossTableBuilder.hh.
Referenced by G4EmManager::SetSplineFlag(), and G4LossTableManager::SetSplineFlag().