Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
G4VIsotopeTable Class Referenceabstract

#include <G4VIsotopeTable.hh>

Inheritance diagram for G4VIsotopeTable:
G4IsomerTable G4IsotopeMagneticMomentTable G4NuclideTable G4RIsotopeTable

Public Member Functions

 G4VIsotopeTable ()
 
 G4VIsotopeTable (const G4String &)
 
 G4VIsotopeTable (const G4VIsotopeTable &)
 
G4VIsotopeTableoperator= (const G4VIsotopeTable &)
 
virtual ~G4VIsotopeTable ()
 
virtual G4IsotopePropertyGetIsotope (G4int Z, G4int A, G4double E)=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 44 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.

References G4IsotopeProperty::DumpInfo(), and GetIsotope().

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

Reimplemented in G4NuclideTable, G4IsotopeMagneticMomentTable, and G4IsomerTable.

Definition at line 73 of file G4VIsotopeTable.cc.

References GetIsotope().

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)=0
const G4String & G4VIsotopeTable::GetName ( void  ) const
inline

Definition at line 99 of file G4VIsotopeTable.hh.

Referenced by G4IonTable::RegisterIsotopeTable().

100 {
101  return fName;
102 }
G4int G4VIsotopeTable::GetVerboseLevel ( ) const
inline

Definition at line 105 of file G4VIsotopeTable.hh.

Referenced by G4IsomerTable::G4IsomerTable().

106 {
107  return verboseLevel;
108 }
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 111 of file G4VIsotopeTable.hh.

Referenced by G4IsomerTable::G4IsomerTable().

112 {
113  verboseLevel = level;
114 }

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