Geant4  10.01.p02
G4EmElementSelector Class Reference

#include <G4EmElementSelector.hh>

+ Collaboration diagram for G4EmElementSelector:

Public Member Functions

 G4EmElementSelector (G4VEmModel *, const G4Material *, G4int bins, G4double emin, G4double emax, G4bool spline=true)
 
 ~G4EmElementSelector ()
 
void Initialise (const G4ParticleDefinition *, G4double cut=0.0)
 
void Dump (const G4ParticleDefinition *p=0)
 
const G4ElementSelectRandomAtom (G4double kineticEnergy) const
 
const G4MaterialGetMaterial () const
 

Private Member Functions

G4EmElementSelectoroperator= (const G4EmElementSelector &right)
 
 G4EmElementSelector (const G4EmElementSelector &)
 

Private Attributes

G4VEmModelmodel
 
const G4Materialmaterial
 
const G4ElementVectortheElementVector
 
G4int nElmMinusOne
 
G4int nbins
 
G4double cutEnergy
 
G4double lowEnergy
 
G4double highEnergy
 
std::vector< G4PhysicsLogVector * > xSections
 

Detailed Description

Definition at line 63 of file G4EmElementSelector.hh.

Constructor & Destructor Documentation

G4EmElementSelector::G4EmElementSelector ( G4VEmModel mod,
const G4Material mat,
G4int  bins,
G4double  emin,
G4double  emax,
G4bool  spline = true 
)

Definition at line 55 of file G4EmElementSelector.cc.

References G4Material::GetElementVector(), G4Material::GetNumberOfElements(), highEnergy, lowEnergy, material, n, nbins, nElmMinusOne, G4PhysicsVector::SetSpline(), theElementVector, and xSections.

+ Here is the call graph for this function:

G4EmElementSelector::~G4EmElementSelector ( )

Definition at line 87 of file G4EmElementSelector.cc.

References nElmMinusOne, and xSections.

G4EmElementSelector::G4EmElementSelector ( const G4EmElementSelector )
private

Member Function Documentation

void G4EmElementSelector::Dump ( const G4ParticleDefinition p = 0)

Definition at line 153 of file G4EmElementSelector.cc.

References G4cout, G4endl, G4Material::GetName(), G4VEmModel::GetName(), G4ParticleDefinition::GetParticleName(), material, model, nElmMinusOne, and xSections.

+ Here is the call graph for this function:

const G4Material * G4EmElementSelector::GetMaterial ( ) const
inline

Definition at line 121 of file G4EmElementSelector.hh.

References material.

void G4EmElementSelector::Initialise ( const G4ParticleDefinition part,
G4double  cut = 0.0 
)

Definition at line 96 of file G4EmElementSelector.cc.

References G4VEmModel::ComputeCrossSectionPerAtom(), cutEnergy, G4Material::GetVecNbOfAtomsPerVolume(), material, model, nbins, nElmMinusOne, G4VEmModel::SetupForMaterial(), theElementVector, and xSections.

+ Here is the call graph for this function:

G4EmElementSelector& G4EmElementSelector::operator= ( const G4EmElementSelector right)
private
const G4Element * G4EmElementSelector::SelectRandomAtom ( G4double  kineticEnergy) const
inline

Definition at line 106 of file G4EmElementSelector.hh.

References G4UniformRand, nElmMinusOne, and xSections.

Member Data Documentation

G4double G4EmElementSelector::cutEnergy
private

Definition at line 95 of file G4EmElementSelector.hh.

Referenced by Initialise().

G4double G4EmElementSelector::highEnergy
private

Definition at line 97 of file G4EmElementSelector.hh.

Referenced by G4EmElementSelector().

G4double G4EmElementSelector::lowEnergy
private

Definition at line 96 of file G4EmElementSelector.hh.

Referenced by G4EmElementSelector().

const G4Material* G4EmElementSelector::material
private

Definition at line 89 of file G4EmElementSelector.hh.

Referenced by Dump(), G4EmElementSelector(), GetMaterial(), and Initialise().

G4VEmModel* G4EmElementSelector::model
private

Definition at line 88 of file G4EmElementSelector.hh.

Referenced by Dump(), and Initialise().

G4int G4EmElementSelector::nbins
private

Definition at line 93 of file G4EmElementSelector.hh.

Referenced by G4EmElementSelector(), and Initialise().

G4int G4EmElementSelector::nElmMinusOne
private
const G4ElementVector* G4EmElementSelector::theElementVector
private

Definition at line 90 of file G4EmElementSelector.hh.

Referenced by G4EmElementSelector(), and Initialise().

std::vector<G4PhysicsLogVector*> G4EmElementSelector::xSections
private

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