Geant4  10.00.p02
G4tgrElementFromIsotopes Class Reference

#include <G4tgrElementFromIsotopes.hh>

+ Inheritance diagram for G4tgrElementFromIsotopes:
+ Collaboration diagram for G4tgrElementFromIsotopes:

Public Member Functions

 G4tgrElementFromIsotopes ()
 
 ~G4tgrElementFromIsotopes ()
 
 G4tgrElementFromIsotopes (const std::vector< G4String > &wl)
 
G4int GetNumberOfIsotopes () const
 
const G4StringGetComponent (G4int n) const
 
G4double GetAbundance (G4int n) const
 
- Public Member Functions inherited from G4tgrElement
 G4tgrElement ()
 
virtual ~G4tgrElement ()
 
const G4StringGetName () const
 
const G4StringGetSymbol () const
 
const G4StringGetType () const
 

Private Attributes

G4int theNoIsotopes
 
std::vector< G4StringtheComponents
 
std::vector< G4doubletheAbundances
 

Friends

std::ostream & operator<< (std::ostream &, const G4tgrElementFromIsotopes &)
 

Additional Inherited Members

- Protected Attributes inherited from G4tgrElement
G4String theName
 
G4String theSymbol
 
G4String theType
 

Detailed Description

Definition at line 49 of file G4tgrElementFromIsotopes.hh.

Constructor & Destructor Documentation

G4tgrElementFromIsotopes::G4tgrElementFromIsotopes ( )

Definition at line 42 of file G4tgrElementFromIsotopes.cc.

G4tgrElementFromIsotopes::~G4tgrElementFromIsotopes ( )

Definition at line 48 of file G4tgrElementFromIsotopes.cc.

G4tgrElementFromIsotopes::G4tgrElementFromIsotopes ( const std::vector< G4String > &  wl)

Definition at line 54 of file G4tgrElementFromIsotopes.cc.

References G4tgrUtils::CheckWLsize(), G4cout, G4endl, G4tgrUtils::GetDouble(), G4tgrUtils::GetInt(), G4tgrUtils::GetString(), G4tgrMessenger::GetVerboseLevel(), theAbundances, theComponents, G4tgrElement::theName, theNoIsotopes, G4tgrElement::theSymbol, G4tgrElement::theType, and WLSIZE_GE.

+ Here is the call graph for this function:

Member Function Documentation

G4double G4tgrElementFromIsotopes::GetAbundance ( G4int  n) const
inline

Definition at line 62 of file G4tgrElementFromIsotopes.hh.

References n, and theAbundances.

Referenced by G4tgbElement::BuildG4ElementFromIsotopes().

+ Here is the caller graph for this function:

const G4String& G4tgrElementFromIsotopes::GetComponent ( G4int  n) const
inline

Definition at line 61 of file G4tgrElementFromIsotopes.hh.

References n, and theComponents.

Referenced by G4tgbElement::BuildG4ElementFromIsotopes().

+ Here is the caller graph for this function:

G4int G4tgrElementFromIsotopes::GetNumberOfIsotopes ( ) const
inline

Definition at line 60 of file G4tgrElementFromIsotopes.hh.

References theNoIsotopes.

Referenced by G4tgbElement::BuildG4ElementFromIsotopes().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4tgrElementFromIsotopes obj 
)
friend

Definition at line 82 of file G4tgrElementFromIsotopes.cc.

Member Data Documentation

std::vector<G4double> G4tgrElementFromIsotopes::theAbundances
private

Definition at line 70 of file G4tgrElementFromIsotopes.hh.

Referenced by G4tgrElementFromIsotopes(), GetAbundance(), and operator<<().

std::vector<G4String> G4tgrElementFromIsotopes::theComponents
private

Definition at line 69 of file G4tgrElementFromIsotopes.hh.

Referenced by G4tgrElementFromIsotopes(), GetComponent(), and operator<<().

G4int G4tgrElementFromIsotopes::theNoIsotopes
private

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