Geant4  10.03
G4TablesForExtrapolator Class Reference

#include <G4TablesForExtrapolator.hh>

+ Collaboration diagram for G4TablesForExtrapolator:

Public Member Functions

 G4TablesForExtrapolator (G4int verb, G4int bins, G4double e1, G4double e2)
 
 ~G4TablesForExtrapolator ()
 
const G4PhysicsTable * GetPhysicsTable (ExtTableType type) const
 

Private Member Functions

void Initialisation ()
 
G4PhysicsTable * PrepareTable ()
 
void ComputeElectronDEDX (const G4ParticleDefinition *part, G4PhysicsTable *table)
 
void ComputeMuonDEDX (const G4ParticleDefinition *part, G4PhysicsTable *table)
 
void ComputeProtonDEDX (const G4ParticleDefinition *part, G4PhysicsTable *table)
 
void ComputeTrasportXS (const G4ParticleDefinition *part, G4PhysicsTable *table)
 
G4TablesForExtrapolator & operator= (const G4TablesForExtrapolator &right)=delete
 
 G4TablesForExtrapolator (const G4TablesForExtrapolator &)=delete
 

Private Attributes

const G4ParticleDefinition * currentParticle
 
const G4ParticleDefinition * electron
 
const G4ParticleDefinition * positron
 
const G4ParticleDefinition * muonPlus
 
const G4ParticleDefinition * muonMinus
 
const G4ParticleDefinition * proton
 
G4DataVector cuts
 
G4ProductionCuts * pcuts
 
std::vector< const
G4MaterialCutsCouple * > 
couples
 
G4PhysicsTable * dedxElectron
 
G4PhysicsTable * dedxPositron
 
G4PhysicsTable * dedxMuon
 
G4PhysicsTable * dedxProton
 
G4PhysicsTable * rangeElectron
 
G4PhysicsTable * rangePositron
 
G4PhysicsTable * rangeMuon
 
G4PhysicsTable * rangeProton
 
G4PhysicsTable * invRangeElectron
 
G4PhysicsTable * invRangePositron
 
G4PhysicsTable * invRangeMuon
 
G4PhysicsTable * invRangeProton
 
G4PhysicsTable * mscElectron
 
G4int verbose
 
G4int nbins
 
G4int nmat
 
G4double emin
 
G4double emax
 
G4double mass
 
G4double charge2
 
G4bool splineFlag
 

Detailed Description

Definition at line 75 of file G4TablesForExtrapolator.hh.

Constructor & Destructor Documentation

G4TablesForExtrapolator::G4TablesForExtrapolator ( G4int  verb,
G4int  bins,
G4double  e1,
G4double  e2 
)
explicit

Definition at line 74 of file G4TablesForExtrapolator.cc.

References Initialisation().

+ Here is the call graph for this function:

G4TablesForExtrapolator::~G4TablesForExtrapolator ( )

Definition at line 83 of file G4TablesForExtrapolator.cc.

References G4PhysicsTable::clearAndDestroy(), couples, dedxElectron, dedxMuon, dedxPositron, dedxProton, invRangeElectron, invRangeMuon, invRangePositron, invRangeProton, mscElectron, nmat, pcuts, rangeElectron, rangeMuon, rangePositron, and rangeProton.

+ Here is the call graph for this function:

G4TablesForExtrapolator::G4TablesForExtrapolator ( const G4TablesForExtrapolator &  )
privatedelete

Member Function Documentation

void G4TablesForExtrapolator::ComputeElectronDEDX ( const G4ParticleDefinition *  part,
G4PhysicsTable *  table 
)
private

Definition at line 271 of file G4TablesForExtrapolator.cc.

References charge2, cm, cm2, G4VEmModel::ComputeDEDX(), couples, currentParticle, cuts, G4PhysicsVector::Energy(), G4PhysicsVector::FillSecondDerivatives(), g, G4cout, G4endl, G4Material::GetDensity(), G4Material::GetMaterialTable(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), G4eBremsstrahlungRelModel::Initialise(), G4MollerBhabhaModel::Initialise(), mass, MeV, nbins, nmat, G4PhysicsVector::PutValue(), splineFlag, and verbose.

Referenced by Initialisation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4TablesForExtrapolator::ComputeMuonDEDX ( const G4ParticleDefinition *  part,
G4PhysicsTable *  table 
)
private

Definition at line 323 of file G4TablesForExtrapolator.cc.

References charge2, cm, cm2, G4VEmModel::ComputeDEDX(), couples, currentParticle, cuts, G4PhysicsVector::Energy(), G4PhysicsVector::FillSecondDerivatives(), g, G4cout, G4endl, G4Material::GetDensity(), G4Material::GetMaterialTable(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGMass(), G4MuPairProductionModel::Initialise(), G4BetheBlochModel::Initialise(), G4MuBremsstrahlungModel::Initialise(), mass, MeV, nbins, nmat, G4PhysicsVector::PutValue(), splineFlag, and verbose.

Referenced by Initialisation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4TablesForExtrapolator::ComputeProtonDEDX ( const G4ParticleDefinition *  part,
G4PhysicsTable *  table 
)
private

Definition at line 377 of file G4TablesForExtrapolator.cc.

References charge2, cm, cm2, G4VEmModel::ComputeDEDX(), couples, currentParticle, cuts, G4PhysicsVector::Energy(), G4PhysicsVector::FillSecondDerivatives(), g, G4cout, G4endl, G4Material::GetDensity(), G4Material::GetMaterialTable(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGMass(), G4BetheBlochModel::Initialise(), mass, MeV, nbins, nmat, G4PhysicsVector::PutValue(), splineFlag, and verbose.

Referenced by Initialisation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4TablesForExtrapolator::ComputeTrasportXS ( const G4ParticleDefinition *  part,
G4PhysicsTable *  table 
)
private

Definition at line 423 of file G4TablesForExtrapolator.cc.

References charge2, couples, G4VEmModel::CrossSectionPerVolume(), currentParticle, cuts, G4PhysicsVector::Energy(), G4PhysicsVector::FillSecondDerivatives(), G4cout, G4endl, G4Material::GetMaterialTable(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGMass(), G4WentzelVIModel::Initialise(), mass, MeV, mm, nbins, nmat, pi, G4PhysicsVector::PutValue(), G4VEmModel::SetCurrentCouple(), G4VEmModel::SetPolarAngleLimit(), splineFlag, and verbose.

Referenced by Initialisation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4PhysicsTable * G4TablesForExtrapolator::GetPhysicsTable ( ExtTableType  type) const
void G4TablesForExtrapolator::Initialisation ( )
private
G4TablesForExtrapolator& G4TablesForExtrapolator::operator= ( const G4TablesForExtrapolator &  right)
privatedelete
G4PhysicsTable * G4TablesForExtrapolator::PrepareTable ( )
private

Definition at line 256 of file G4TablesForExtrapolator.cc.

References emax, emin, nbins, nmat, G4PhysicsTable::push_back(), G4PhysicsVector::SetSpline(), and splineFlag.

Referenced by Initialisation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4TablesForExtrapolator::charge2
private
std::vector<const G4MaterialCutsCouple*> G4TablesForExtrapolator::couples
private
const G4ParticleDefinition* G4TablesForExtrapolator::currentParticle
private
G4DataVector G4TablesForExtrapolator::cuts
private
G4PhysicsTable* G4TablesForExtrapolator::dedxElectron
private
G4PhysicsTable* G4TablesForExtrapolator::dedxMuon
private
G4PhysicsTable* G4TablesForExtrapolator::dedxPositron
private
G4PhysicsTable* G4TablesForExtrapolator::dedxProton
private
const G4ParticleDefinition* G4TablesForExtrapolator::electron
private

Definition at line 108 of file G4TablesForExtrapolator.hh.

Referenced by Initialisation().

G4double G4TablesForExtrapolator::emax
private

Definition at line 138 of file G4TablesForExtrapolator.hh.

Referenced by PrepareTable().

G4double G4TablesForExtrapolator::emin
private

Definition at line 137 of file G4TablesForExtrapolator.hh.

Referenced by PrepareTable().

G4PhysicsTable* G4TablesForExtrapolator::invRangeElectron
private
G4PhysicsTable* G4TablesForExtrapolator::invRangeMuon
private
G4PhysicsTable* G4TablesForExtrapolator::invRangePositron
private
G4PhysicsTable* G4TablesForExtrapolator::invRangeProton
private
G4double G4TablesForExtrapolator::mass
private
G4PhysicsTable* G4TablesForExtrapolator::mscElectron
private
const G4ParticleDefinition* G4TablesForExtrapolator::muonMinus
private

Definition at line 111 of file G4TablesForExtrapolator.hh.

Referenced by Initialisation().

const G4ParticleDefinition* G4TablesForExtrapolator::muonPlus
private

Definition at line 110 of file G4TablesForExtrapolator.hh.

Referenced by Initialisation().

G4int G4TablesForExtrapolator::nbins
private
G4ProductionCuts* G4TablesForExtrapolator::pcuts
private

Definition at line 116 of file G4TablesForExtrapolator.hh.

Referenced by Initialisation(), and ~G4TablesForExtrapolator().

const G4ParticleDefinition* G4TablesForExtrapolator::positron
private

Definition at line 109 of file G4TablesForExtrapolator.hh.

Referenced by Initialisation().

const G4ParticleDefinition* G4TablesForExtrapolator::proton
private

Definition at line 112 of file G4TablesForExtrapolator.hh.

Referenced by Initialisation().

G4PhysicsTable* G4TablesForExtrapolator::rangeElectron
private
G4PhysicsTable* G4TablesForExtrapolator::rangeMuon
private
G4PhysicsTable* G4TablesForExtrapolator::rangePositron
private
G4PhysicsTable* G4TablesForExtrapolator::rangeProton
private
G4bool G4TablesForExtrapolator::splineFlag
private
G4int G4TablesForExtrapolator::verbose
private

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