Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4IsotopeMagneticMomentTable.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#ifndef G4IsotopeMagneticMomentTable_h
27#define G4IsotopeMagneticMomentTable_h 1
28// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
29//
30// MODULE: G4IsotopeMagneticMomentTable.hh
31//
32// Date: 16/03/07
33// Author: H.Kurashige
34//
35// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
36//
37// HISTORY
38////////////////////////////////////////////////////////////////////////////////
39//
40#include "globals.hh"
41#include "G4IsotopeProperty.hh"
42#include "G4VIsotopeTable.hh"
43#include "G4Ions.hh"
44#include "G4ParticleTable.hh"
45#include "G4IonTable.hh"
46#include "G4DecayTable.hh"
47
48#include <vector>
49
50////////////////////////////////////////////////////////////////////////////////
51//
53{
54 // class description
55 // G4IsotopeMagneticMomentTable is the table of pointers to G4IsotopeProperty,
56 // which has magnetic moment and spin.
57 // Data File name is given by G4IONMAGNETICMOMENT
58 //
59public:
60 //
61 typedef std::vector<G4IsotopeProperty*> G4IsotopeList;
62 typedef std::vector<G4String> G4IsotopeNameList;
63
64public:
65 // constructor
66 //
68
69protected:
70 // hide copy construictor and assignment operator as protected
73
74public:
75 // destructor
77
78public:
79 // with description
80 //
81 virtual G4bool FindIsotope(G4IsotopeProperty* property);
82 // The FindIsotope function will replace the pure virtual one defined in the
83 // abstract base class G4VIstopeTable. We don't use this fuction in this
84 // implementation, instead we use the next function.
85 //
87 //
88 // again it will replace the pure virtual one in the abstract base class.
89 //
90 // Z: Atomic Number
91 // A: Atomic Mass
92 // E: Excitaion energy
93
94private:
95 G4int GetVerboseLevel() const;
96 // get Verbose Level defined in G4ParticleTable
97
98private:
99
100 G4IsotopeList fIsotopeList;
101
102 static const G4double levelTolerance;
103 static const G4double nuclearMagneton;
104};
105
106
107inline
108 G4int G4IsotopeMagneticMomentTable::GetVerboseLevel() const
109{
111}
112
113#endif
114
115
116
117
118
119
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
bool G4bool
Definition: G4Types.hh:67
std::vector< G4IsotopeProperty * > G4IsotopeList
virtual G4bool FindIsotope(G4IsotopeProperty *property)
G4IsotopeMagneticMomentTable & operator=(const G4IsotopeMagneticMomentTable &right)
virtual G4IsotopeProperty * GetIsotope(G4int Z, G4int A, G4double E)
G4int GetVerboseLevel() const
static G4ParticleTable * GetParticleTable()