Geant4  10.02.p02
G4Isotope Class Reference

#include <G4Isotope.hh>

+ Collaboration diagram for G4Isotope:

Public Member Functions

 G4Isotope (const G4String &name, G4int z, G4int n, G4double a=0., G4int m=0)
 
virtual ~G4Isotope ()
 
const G4StringGetName () const
 
G4int GetZ () const
 
G4int GetN () const
 
G4double GetA () const
 
G4int Getm () const
 
size_t GetIndex () const
 
G4int operator== (const G4Isotope &) const
 
G4int operator!= (const G4Isotope &) const
 
 G4Isotope (__void__ &)
 
void SetName (const G4String &name)
 

Static Public Member Functions

static G4IsotopeGetIsotope (const G4String &name, G4bool warning=false)
 
static const G4IsotopeTableGetIsotopeTable ()
 
static size_t GetNumberOfIsotopes ()
 

Private Member Functions

 G4Isotope (G4Isotope &)
 
G4Isotopeoperator= (const G4Isotope &)
 

Private Attributes

G4String fName
 
G4int fZ
 
G4int fN
 
G4double fA
 
G4int fm
 
size_t fIndexInTable
 

Static Private Attributes

static G4IsotopeTable theIsotopeTable
 

Friends

std::ostream & operator<< (std::ostream &, const G4Isotope *)
 
std::ostream & operator<< (std::ostream &, const G4Isotope &)
 
std::ostream & operator<< (std::ostream &, G4IsotopeTable)
 

Detailed Description

Definition at line 72 of file G4Isotope.hh.

Constructor & Destructor Documentation

G4Isotope::G4Isotope ( const G4String name,
G4int  z,
G4int  n,
G4double  a = 0.,
G4int  m = 0 
)

Definition at line 59 of file G4Isotope.cc.

References fA, FatalException, fIndexInTable, g, G4endl, G4Exception(), G4NistManager::GetAtomicMass(), G4NistManager::Instance(), mole, and theIsotopeTable.

+ Here is the call graph for this function:

G4Isotope::~G4Isotope ( )
virtual

Definition at line 91 of file G4Isotope.cc.

References fIndexInTable, and theIsotopeTable.

G4Isotope::G4Isotope ( __void__ &  )

Definition at line 84 of file G4Isotope.cc.

G4Isotope::G4Isotope ( G4Isotope right)
private

Definition at line 98 of file G4Isotope.cc.

References fIndexInTable, right, and theIsotopeTable.

Member Function Documentation

G4double G4Isotope::GetA ( ) const
inline

Definition at line 97 of file G4Isotope.hh.

References fA.

Referenced by G4tgbGeometryDumper::DumpIsotope(), export_G4Isotope(), G4GDMLWriteMaterials::IsotopeWrite(), and G4tgbGeometryDumper::Same2G4Isotopes().

+ Here is the caller graph for this function:

size_t G4Isotope::GetIndex ( ) const
inline

Definition at line 113 of file G4Isotope.hh.

References fIndexInTable.

Referenced by export_G4Isotope().

+ Here is the caller graph for this function:

G4Isotope * G4Isotope::GetIsotope ( const G4String name,
G4bool  warning = false 
)
static

Definition at line 196 of file G4Isotope.cc.

References G4cout, G4endl, GetName(), and theIsotopeTable.

Referenced by export_G4Isotope(), and G4GDMLReadMaterials::GetIsotope().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4IsotopeTable * G4Isotope::GetIsotopeTable ( )
static

Definition at line 182 of file G4Isotope.cc.

References theIsotopeTable.

Referenced by export_G4Isotope(), and G4NistManager::~G4NistManager().

+ Here is the caller graph for this function:

G4int G4Isotope::Getm ( ) const
inline
const G4String& G4Isotope::GetName ( void  ) const
inline

Definition at line 88 of file G4Isotope.hh.

References fName.

Referenced by G4GDMLWriteMaterials::ElementWrite(), export_G4Isotope(), G4tgbMaterialMgr::FindOrBuildG4Isotope(), GetIsotope(), G4tgbGeometryDumper::GetIsotopeName(), and G4GDMLWriteMaterials::IsotopeWrite().

+ Here is the caller graph for this function:

size_t G4Isotope::GetNumberOfIsotopes ( )
static

Definition at line 189 of file G4Isotope.cc.

References theIsotopeTable.

Referenced by export_G4Isotope().

+ Here is the caller graph for this function:

G4int G4Isotope::GetZ ( ) const
inline

Definition at line 91 of file G4Isotope.hh.

References fZ.

Referenced by G4Element::AddIsotope(), G4Nucleus::ChooseParameters(), G4LENDModel::create_used_target_map(), G4LENDCrossSection::create_used_target_map(), G4tgbGeometryDumper::DumpIsotope(), export_G4Isotope(), G4GDMLWriteMaterials::IsotopeWrite(), G4tgbGeometryDumper::Same2G4Isotopes(), and G4Nucleus::SetIsotope().

+ Here is the caller graph for this function:

G4int G4Isotope::operator!= ( const G4Isotope right) const

Definition at line 132 of file G4Isotope.cc.

G4Isotope & G4Isotope::operator= ( const G4Isotope right)
private

Definition at line 109 of file G4Isotope.cc.

References fA, fm, fN, fName, and fZ.

G4int G4Isotope::operator== ( const G4Isotope right) const

Definition at line 125 of file G4Isotope.cc.

void G4Isotope::SetName ( const G4String name)
inline

Definition at line 134 of file G4Isotope.hh.

References fName, and name.

Referenced by export_G4Isotope().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  flux,
const G4Isotope isotope 
)
friend

Definition at line 139 of file G4Isotope.cc.

std::ostream& operator<< ( std::ostream &  flux,
const G4Isotope isotope 
)
friend

Definition at line 159 of file G4Isotope.cc.

std::ostream& operator<< ( std::ostream &  flux,
G4IsotopeTable  IsotopeTable 
)
friend

Definition at line 167 of file G4Isotope.cc.

Member Data Documentation

G4double G4Isotope::fA
private

Definition at line 148 of file G4Isotope.hh.

Referenced by G4Isotope(), GetA(), operator<<(), and operator=().

size_t G4Isotope::fIndexInTable
private

Definition at line 156 of file G4Isotope.hh.

Referenced by G4Isotope(), GetIndex(), and ~G4Isotope().

G4int G4Isotope::fm
private

Definition at line 149 of file G4Isotope.hh.

Referenced by Getm(), and operator=().

G4int G4Isotope::fN
private

Definition at line 147 of file G4Isotope.hh.

Referenced by GetN(), operator<<(), and operator=().

G4String G4Isotope::fName
private

Definition at line 145 of file G4Isotope.hh.

Referenced by GetName(), operator<<(), operator=(), and SetName().

G4int G4Isotope::fZ
private

Definition at line 146 of file G4Isotope.hh.

Referenced by GetZ(), operator<<(), and operator=().

G4IsotopeTable G4Isotope::theIsotopeTable
staticprivate

Definition at line 154 of file G4Isotope.hh.

Referenced by G4Isotope(), GetIsotope(), GetIsotopeTable(), GetNumberOfIsotopes(), and ~G4Isotope().


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