Geant4  10.00.p02
G4ElementSelector Class Reference

#include <G4ElementSelector.hh>

Public Member Functions

 G4ElementSelector ()
 
virtual ~G4ElementSelector ()
 
virtual G4ElementSelectZandA (const G4Track &track, G4Nucleus *)
 

Private Member Functions

G4ElementSelectoroperator= (const G4ElementSelector &right)
 
 G4ElementSelector (const G4ElementSelector &)
 

Private Attributes

std::vector< G4doubleprob
 

Detailed Description

Definition at line 61 of file G4ElementSelector.hh.

Constructor & Destructor Documentation

G4ElementSelector::G4ElementSelector ( )

Definition at line 49 of file G4ElementSelector.cc.

G4ElementSelector::~G4ElementSelector ( )
virtual

Definition at line 54 of file G4ElementSelector.cc.

G4ElementSelector::G4ElementSelector ( const G4ElementSelector )
private

Member Function Documentation

G4ElementSelector& G4ElementSelector::operator= ( const G4ElementSelector right)
private
G4Element * G4ElementSelector::SelectZandA ( const G4Track track,
G4Nucleus target 
)
virtual

Definition at line 60 of file G4ElementSelector.cc.

References A, ab, G4lrint(), G4UniformRand, G4Material::GetAtomicNumDensityVector(), G4Material::GetElementVector(), G4Element::GetIsotope(), G4Element::GetIsotopeVector(), G4Track::GetMaterial(), G4Isotope::GetN(), G4Material::GetNumberOfElements(), G4Element::GetRelativeAbundanceVector(), G4Element::GetZ(), prob, and G4Nucleus::SetParameters().

Referenced by G4HadronStoppingProcess::AtRestDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<G4double> G4ElementSelector::prob
private

Definition at line 77 of file G4ElementSelector.hh.

Referenced by SelectZandA().


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