Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VIsotopeTable Class Referenceabstract

#include <G4VIsotopeTable.hh>

Inheritance diagram for G4VIsotopeTable:

Public Member Functions

 G4VIsotopeTable ()
 
 G4VIsotopeTable (const G4String &)
 
 G4VIsotopeTable (const G4VIsotopeTable &)
 
G4VIsotopeTableoperator= (const G4VIsotopeTable &)
 
virtual ~G4VIsotopeTable ()
 
virtual G4IsotopePropertyGetIsotope (G4int Z, G4int A, G4double E, G4Ions::G4FloatLevelBase flb=G4Ions::G4FloatLevelBase::no_Float)=0
 
virtual G4IsotopePropertyGetIsotopeByIsoLvl (G4int Z, G4int A, G4int level=0)
 
G4int GetVerboseLevel () const
 
void SetVerboseLevel (G4int level)
 
void DumpTable (G4int Zmin=1, G4int Zmax=118)
 
const G4StringGetName () const
 

Detailed Description

Definition at line 45 of file G4VIsotopeTable.hh.

Constructor & Destructor Documentation

G4VIsotopeTable::G4VIsotopeTable ( )

Definition at line 45 of file G4VIsotopeTable.cc.

46  : fName(""), verboseLevel(0)
47 {
48 }
G4VIsotopeTable::G4VIsotopeTable ( const G4String name)
explicit

Definition at line 50 of file G4VIsotopeTable.cc.

51  : fName(name), verboseLevel(0)
52 {
53 }
G4VIsotopeTable::G4VIsotopeTable ( const G4VIsotopeTable right)

Definition at line 55 of file G4VIsotopeTable.cc.

56  : fName(right.fName), verboseLevel(right.verboseLevel)
57 {
58 }
G4VIsotopeTable::~G4VIsotopeTable ( )
virtual

Definition at line 69 of file G4VIsotopeTable.cc.

70 {
71 }

Member Function Documentation

void G4VIsotopeTable::DumpTable ( G4int  Zmin = 1,
G4int  Zmax = 118 
)

Definition at line 81 of file G4VIsotopeTable.cc.

82 {
83  G4int Z, A;
84  G4int lvl;
85  const G4int MAX_LVL=9;
86  for ( Z =Zmin; Z<=Zmax; Z++){
87  for ( A= Z; A<=3*Z; A++){
88  for ( lvl=0; lvl<=MAX_LVL; lvl++){
89  G4IsotopeProperty* ptr = GetIsotope(Z,A,lvl);
90  if (ptr!=0) ptr->DumpInfo();
91  }
92  }
93  }
94 }
void DumpInfo() const
int G4int
Definition: G4Types.hh:78
virtual G4IsotopeProperty * GetIsotope(G4int Z, G4int A, G4double E, G4Ions::G4FloatLevelBase flb=G4Ions::G4FloatLevelBase::no_Float)=0
double A(double temperature)

Here is the call graph for this function:

virtual G4IsotopeProperty* G4VIsotopeTable::GetIsotope ( G4int  Z,
G4int  A,
G4double  E,
G4Ions::G4FloatLevelBase  flb = G4Ions::G4FloatLevelBase::no_Float 
)
pure virtual

Implemented in G4NuclideTable, and G4IsotopeMagneticMomentTable.

Here is the caller graph for this function:

G4IsotopeProperty * G4VIsotopeTable::GetIsotopeByIsoLvl ( G4int  Z,
G4int  A,
G4int  level = 0 
)
virtual

Reimplemented in G4NuclideTable, and G4IsotopeMagneticMomentTable.

Definition at line 73 of file G4VIsotopeTable.cc.

74 {
75  // temporal implementation
76  if (level==0) return GetIsotope(Z, A, 0.0);
77  else return 0;
78 }
virtual G4IsotopeProperty * GetIsotope(G4int Z, G4int A, G4double E, G4Ions::G4FloatLevelBase flb=G4Ions::G4FloatLevelBase::no_Float)=0
double A(double temperature)

Here is the call graph for this function:

const G4String & G4VIsotopeTable::GetName ( ) const
inline

Definition at line 102 of file G4VIsotopeTable.hh.

103 {
104  return fName;
105 }

Here is the caller graph for this function:

G4int G4VIsotopeTable::GetVerboseLevel ( ) const
inline

Definition at line 108 of file G4VIsotopeTable.hh.

109 {
110  return verboseLevel;
111 }
G4VIsotopeTable & G4VIsotopeTable::operator= ( const G4VIsotopeTable right)

Definition at line 60 of file G4VIsotopeTable.cc.

61 {
62  if (this != &right){
63  fName = right.fName;
64  verboseLevel = right.verboseLevel;
65  }
66  return *this;
67 }
void G4VIsotopeTable::SetVerboseLevel ( G4int  level)
inline

Definition at line 114 of file G4VIsotopeTable.hh.

115 {
116  verboseLevel = level;
117 }

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