Geant4  10.03
G4VIsotopeTable.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 //
27 // $Id: G4VIsotopeTable.hh 98732 2016-08-09 10:50:57Z gcosmo $
28 //
29 //
30 // ------------------------------------------------------------
31 // GEANT 4 class header file
32 //
33 //----------------------------------------------------------
34 // New design 5 Oct. 99 H.Kurashige
35 // Add additinal GetIsotope method 30 Apr. 2013 H.Kurashige
36 #ifndef G4VIsotopeTable_h
37 #define G4VIsotopeTable_h 1
38 
39 #include "G4ios.hh"
40 #include "globals.hh"
41 #include "G4Ions.hh"
42 
43 class G4IsotopeProperty;
44 
46 {
47  // Class Description
48  // G4VIsotopeTable is the virtual class for acsess to an isotpe table
49  // which contains "stable" isotopes with their properties.
50  //
51 
52  public:
53  // constructor
55  explicit G4VIsotopeTable(const G4String& );
56 
59 
60  public:
61  // destructor
62  virtual ~G4VIsotopeTable();
63 
64  public: // With Description
65  // pure virtual method
68  virtual G4IsotopeProperty* GetIsotopeByIsoLvl(G4int Z, G4int A, G4int level=0);
69  // Search the isotope in the G4VIsotopeTable.
70  // The isotope is desingated by
71  // G4int Z: number of proton (Atomic number)
72  // G4int A: number of nucleon (Atomic mass)
73  // and
74  // G4double E: excited energy
75  // G4Ions::G4FloatLevelBase flb: floating level base (enum defined in G4Ions.hh)
76  // or
77  // G4int level: isomer level
78  // in the given G4IsotopeProperty.
79  // If corresopnding isotope exist in the table, this method returns
80  // 'true' as well as fills other properties such as spin, lifetime,
81  // ,decay modes and precise excited energy in the given G4IsotopeProperty.
82  // This method returns 'false' if no corresponding isotope is found
83  // without modification of property.
84  //
85 
86  // Set/Get verbose level
87  G4int GetVerboseLevel() const;
88  void SetVerboseLevel(G4int level);
89 
90  // Dump table
91  void DumpTable(G4int Zmin=1, G4int Zmax=118);
92 
93  //
94  const G4String& GetName() const;
95 
96  private:
99 };
100 
101 inline
103 {
104  return fName;
105 }
106 
107 inline
109 {
110  return verboseLevel;
111 }
112 
113 inline
115 {
116  verboseLevel = level;
117 }
118 
119 #endif
const G4String & GetName() const
virtual G4IsotopeProperty * GetIsotopeByIsoLvl(G4int Z, G4int A, G4int level=0)
int G4int
Definition: G4Types.hh:78
void DumpTable(G4int Zmin=1, G4int Zmax=118)
virtual ~G4VIsotopeTable()
virtual G4IsotopeProperty * GetIsotope(G4int Z, G4int A, G4double E, G4Ions::G4FloatLevelBase flb=G4Ions::G4FloatLevelBase::no_Float)=0
double A(double temperature)
G4int GetVerboseLevel() const
G4VIsotopeTable & operator=(const G4VIsotopeTable &)
double G4double
Definition: G4Types.hh:76
void SetVerboseLevel(G4int level)
G4FloatLevelBase
Definition: G4Ions.hh:95