Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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 44 of file G4VIsotopeTable.hh.

Constructor & Destructor Documentation

◆ G4VIsotopeTable() [1/3]

G4VIsotopeTable::G4VIsotopeTable ( )

Definition at line 41 of file G4VIsotopeTable.cc.

42{
43}

◆ G4VIsotopeTable() [2/3]

G4VIsotopeTable::G4VIsotopeTable ( const G4String name)
explicit

Definition at line 46 of file G4VIsotopeTable.cc.

47 : fName(name)
48{
49}

◆ G4VIsotopeTable() [3/3]

G4VIsotopeTable::G4VIsotopeTable ( const G4VIsotopeTable right)

Definition at line 52 of file G4VIsotopeTable.cc.

53 : fName(right.fName), verboseLevel(right.verboseLevel)
54{
55}

◆ ~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 83 of file G4VIsotopeTable.cc.

84{
85 G4int Z, A;
86 G4int lvl;
87 const G4int MAX_LVL=9;
88 for ( Z =Zmin; Z<=Zmax; ++Z )
89 {
90 for ( A= Z; A<=3*Z; ++A )
91 {
92 for ( lvl=0; lvl<=MAX_LVL; ++lvl )
93 {
94 G4IsotopeProperty* ptr = GetIsotope(Z,A,lvl);
95 if (ptr!=nullptr) ptr->DumpInfo();
96 }
97 }
98 }
99}
int G4int
Definition: G4Types.hh:85
const G4int Z[17]
const G4double A[17]
virtual G4IsotopeProperty * GetIsotope(G4int Z, G4int A, G4double E, G4Ions::G4FloatLevelBase flb=G4Ions::G4FloatLevelBase::no_Float)=0

◆ GetIsotope()

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

◆ GetIsotopeByIsoLvl()

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

Reimplemented in G4NuclideTable, and G4IsotopeMagneticMomentTable.

Definition at line 75 of file G4VIsotopeTable.cc.

76{
77 // temporal implementation
78 if (level==0) return GetIsotope(Z, A, 0.0);
79 else return nullptr;
80}

◆ GetName()

const G4String & G4VIsotopeTable::GetName ( ) const
inline

Definition at line 101 of file G4VIsotopeTable.hh.

102{
103 return fName;
104}

Referenced by G4IonTable::RegisterIsotopeTable().

◆ GetVerboseLevel()

G4int G4VIsotopeTable::GetVerboseLevel ( ) const
inline

Definition at line 107 of file G4VIsotopeTable.hh.

108{
109 return verboseLevel;
110}

◆ operator=()

G4VIsotopeTable & G4VIsotopeTable::operator= ( const G4VIsotopeTable right)

Definition at line 58 of file G4VIsotopeTable.cc.

59{
60 if (this != &right)
61 {
62 fName = right.fName;
63 verboseLevel = right.verboseLevel;
64 }
65 return *this;
66}

◆ SetVerboseLevel()

void G4VIsotopeTable::SetVerboseLevel ( G4int  level)
inline

Definition at line 113 of file G4VIsotopeTable.hh.

114{
115 verboseLevel = level;
116}

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