Geant4  10.01.p03
G4LossTableBuilder Class Reference

#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)
 
G4PhysicsTableBuildTableForModel (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 ()
 
G4LossTableBuilderoperator= (const G4LossTableBuilder &right)
 
 G4LossTableBuilder (const G4LossTableBuilder &)
 

Private Attributes

G4bool splineFlag
 
G4bool isInitialized
 
std::vector< G4double > * theDensityFactor
 
std::vector< G4int > * theDensityIdx
 
std::vector< G4bool > * theFlag
 

Detailed Description

Definition at line 61 of file G4LossTableBuilder.hh.

Constructor & Destructor Documentation

G4LossTableBuilder::G4LossTableBuilder ( )

Definition at line 72 of file G4LossTableBuilder.cc.

References isInitialized, splineFlag, theDensityFactor, theDensityIdx, and theFlag.

G4LossTableBuilder::~G4LossTableBuilder ( )
virtual

Definition at line 84 of file G4LossTableBuilder.cc.

References theDensityFactor, theDensityIdx, and theFlag.

G4LossTableBuilder::G4LossTableBuilder ( const G4LossTableBuilder )
private

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4PhysicsTable * G4LossTableBuilder::BuildTableForModel ( G4PhysicsTable table,
G4VEmModel model,
const G4ParticleDefinition part,
G4double  emin,
G4double  emax,
G4bool  spline 
)
const std::vector< G4int > * G4LossTableBuilder::GetCoupleIndexes ( )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::vector< G4double > * G4LossTableBuilder::GetDensityFactors ( )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4LossTableBuilder::GetFlag ( size_t  idx) const
inline

Definition at line 136 of file G4LossTableBuilder.hh.

References theFlag.

Referenced by G4VEnergyLossProcess::BuildDEDXTable(), G4VEnergyLossProcess::BuildLambdaTable(), G4VEmProcess::BuildLambdaTable(), and BuildTableForModel().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LossTableBuilder::InitialiseCouples ( )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4LossTableBuilder& G4LossTableBuilder::operator= ( const G4LossTableBuilder right)
private
void G4LossTableBuilder::SetInitialisationFlag ( G4bool  flag)
inline

Definition at line 146 of file G4LossTableBuilder.hh.

References isInitialized.

Referenced by G4LossTableManager::ResetParameters().

+ Here is the caller graph for this function:

void G4LossTableBuilder::SetSplineFlag ( G4bool  flag)
inline

Definition at line 141 of file G4LossTableBuilder.hh.

References splineFlag.

Referenced by G4LossTableManager::ResetParameters().

+ Here is the caller graph for this function:

Member Data Documentation

G4bool G4LossTableBuilder::isInitialized
private
G4bool G4LossTableBuilder::splineFlag
private
std::vector<G4double>* G4LossTableBuilder::theDensityFactor
private
std::vector<G4int>* G4LossTableBuilder::theDensityIdx
private
std::vector<G4bool>* G4LossTableBuilder::theFlag
private

The documentation for this class was generated from the following files: