Geant4  10.02.p03
G4VIsotopeTable Class Referenceabstract

#include <G4VIsotopeTable.hh>

Inheritance diagram for G4VIsotopeTable:
Collaboration 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)=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
 

Private Attributes

G4String fName
 
G4int verboseLevel
 

Detailed Description

Definition at line 44 of file G4VIsotopeTable.hh.

Constructor & Destructor Documentation

◆ G4VIsotopeTable() [1/3]

G4VIsotopeTable::G4VIsotopeTable ( )

Definition at line 45 of file G4VIsotopeTable.cc.

46  : fName(""), verboseLevel(0)
47 {
48 }

◆ G4VIsotopeTable() [2/3]

G4VIsotopeTable::G4VIsotopeTable ( const G4String name)
explicit

Definition at line 50 of file G4VIsotopeTable.cc.

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

◆ G4VIsotopeTable() [3/3]

G4VIsotopeTable::G4VIsotopeTable ( const G4VIsotopeTable right)

Definition at line 55 of file G4VIsotopeTable.cc.

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

◆ ~G4VIsotopeTable()

G4VIsotopeTable::~G4VIsotopeTable ( )
virtual

Definition at line 69 of file G4VIsotopeTable.cc.

70 {
71 }

Member Function Documentation

◆ DumpTable()

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 }
int G4int
Definition: G4Types.hh:78
double A(double temperature)
virtual G4IsotopeProperty * GetIsotope(G4int Z, G4int A, G4double E)=0
Float_t Z
int Zmin
int Zmax
Here is the call graph for this function:

◆ GetIsotope()

virtual G4IsotopeProperty* G4VIsotopeTable::GetIsotope ( G4int  Z,
G4int  A,
G4double  E 
)
pure virtual

Implemented in G4NuclideTable, G4RIsotopeTable, and G4IsotopeMagneticMomentTable.

Here is the caller graph for this function:

◆ GetIsotopeByIsoLvl()

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 }
double A(double temperature)
virtual G4IsotopeProperty * GetIsotope(G4int Z, G4int A, G4double E)=0
Float_t Z
Here is the call graph for this function:

◆ GetName()

const G4String & G4VIsotopeTable::GetName ( void  ) const
inline

Definition at line 99 of file G4VIsotopeTable.hh.

100 {
101  return fName;
102 }
Here is the caller graph for this function:

◆ GetVerboseLevel()

G4int G4VIsotopeTable::GetVerboseLevel ( ) const
inline

Definition at line 105 of file G4VIsotopeTable.hh.

106 {
107  return verboseLevel;
108 }

◆ operator=()

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 }

◆ SetVerboseLevel()

void G4VIsotopeTable::SetVerboseLevel ( G4int  level)
inline

Definition at line 111 of file G4VIsotopeTable.hh.

112 {
113  verboseLevel = level;
114 }

Member Data Documentation

◆ fName

G4String G4VIsotopeTable::fName
private

Definition at line 94 of file G4VIsotopeTable.hh.

◆ verboseLevel

G4int G4VIsotopeTable::verboseLevel
private

Definition at line 95 of file G4VIsotopeTable.hh.


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