source: trunk/source/particles/management/include/G4VIsotopeTable.hh

Last change on this file was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 3.7 KB
Line 
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,v 1.6 2006/06/29 19:24:52 gunter Exp $
28// GEANT4 tag $Name: geant4-09-04-beta-01 $
29//
30//
31// ------------------------------------------------------------
32//      GEANT 4 class header file
33//
34//----------------------------------------------------------
35//      New design                               5 Oct. 99 H.Kurashige
36#ifndef G4VIsotopeTable_h
37#define G4VIsotopeTable_h 1
38
39#include "G4ios.hh"
40#include "globals.hh"
41#include "G4IsotopeProperty.hh"
42class G4VIsotopeTable
43{
44 // Class Description
45 //  G4VIsotopeTable is the virtual class for acsess to an isotpe table
46 //  which contains "stable" isotopes with their properties.
47 //
48
49 public:
50  // constructor
51  G4VIsotopeTable(const G4String& name = "");
52
53 public:
54  // destructor
55  virtual ~G4VIsotopeTable();
56
57 public: // With Description
58  // pure virtual method
59  virtual G4bool FindIsotope(G4IsotopeProperty* property) = 0; 
60  virtual G4IsotopeProperty* GetIsotope(G4int Z, G4int A, G4double E) = 0;
61  // Search the isotope in the G4VIsotopeTable.
62  // The isotope is desingated by
63  //    G4int    Z:  number of proton (Atomic number)
64  //    G4int    A:  number of nucleon (Atomic mass)
65  //      and
66  //    G4double E:  excited energy
67  // in the given G4IsotopeProperty.
68  // If corresopnding isotope exist in the table, this method returns
69  // 'true' as well as fills other properties such as spin, lifetime,
70  // ,decay modes and precise excited energy in the given G4IsotopeProperty.
71  // This method returns 'false' if no corresponding isotope is found
72  // without modification of property.
73  //   
74
75  // Set/Get verbose level
76  G4int                GetVerboseLevel() const;
77  void                 SetVerboseLevel(G4int level); 
78
79 private:
80  G4String             fName;
81  G4int                verboseLevel;
82};
83
84inline
85 G4VIsotopeTable::G4VIsotopeTable(const G4String& name)
86  : fName(name), verboseLevel(0)
87{
88}
89
90inline
91 G4VIsotopeTable::~G4VIsotopeTable()
92{
93}
94
95inline 
96 G4int G4VIsotopeTable::GetVerboseLevel() const
97{
98  return verboseLevel;
99}
100
101inline 
102 void G4VIsotopeTable::SetVerboseLevel(G4int level)
103{
104  verboseLevel = level;
105}
106
107#endif
Note: See TracBrowser for help on using the repository browser.