Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
source
particles
utils
include
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
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
51
//
52
class
G4IsotopeMagneticMomentTable
:
public
G4VIsotopeTable
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
//
59
public
:
60
//
61
typedef
std::vector<G4IsotopeProperty*>
G4IsotopeList
;
62
typedef
std::vector<G4String>
G4IsotopeNameList
;
63
64
public
:
65
// constructor
66
//
67
G4IsotopeMagneticMomentTable
();
68
69
protected
:
70
// hide copy construictor and assignment operator as protected
71
G4IsotopeMagneticMomentTable
(
const
G4IsotopeMagneticMomentTable
&
right
);
72
G4IsotopeMagneticMomentTable
&
operator=
(
const
G4IsotopeMagneticMomentTable
&
right
);
73
74
public
:
75
// destructor
76
virtual
~G4IsotopeMagneticMomentTable
();
77
78
public
:
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
//
86
virtual
G4IsotopeProperty
*
GetIsotope
(
G4int
Z
,
G4int
A,
G4double
E);
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
94
private
:
95
G4int
GetVerboseLevel()
const
;
96
// get Verbose Level defined in G4ParticleTable
97
98
private
:
99
100
G4IsotopeList
fIsotopeList;
101
102
static
const
G4double
levelTolerance;
103
static
const
G4double
nuclearMagneton;
104
};
105
106
107
inline
108
G4int
G4IsotopeMagneticMomentTable::GetVerboseLevel()
const
109
{
110
return
G4ParticleTable::GetParticleTable
()->
GetVerboseLevel
();
111
}
112
113
#endif
114
115
116
117
118
119
Generated on Sat May 25 2013 14:33:24 for Geant4 by
1.8.4