Geant4-11
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
w
y
Enumerations
a
b
c
d
e
f
g
l
m
p
r
s
t
v
y
z
Enumerator
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
:
a
b
c
d
g
h
i
o
q
r
s
t
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Enumerations
b
c
d
e
f
g
i
j
l
m
n
p
r
s
t
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
source
particles
management
src
G4VIsotopeTable.cc
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
// G4VIsotopeTable
27
//
28
// Author: H.Kurashige, 5 October 1999
29
// --------------------------------------------------------------------
30
31
#include "
G4VIsotopeTable.hh
"
32
33
// ######################################################################
34
// ### IsotopeTable ###
35
// ######################################################################
36
37
#include "
G4IsotopeProperty.hh
"
38
#include "
G4VIsotopeTable.hh
"
39
40
// --------------------------------------------------------------------
41
G4VIsotopeTable::G4VIsotopeTable
()
42
{
43
}
44
45
// --------------------------------------------------------------------
46
G4VIsotopeTable::G4VIsotopeTable
(
const
G4String
&
name
)
47
: fName(
name
)
48
{
49
}
50
51
// --------------------------------------------------------------------
52
G4VIsotopeTable::G4VIsotopeTable
(
const
G4VIsotopeTable
& right)
53
: fName(right.fName), verboseLevel(right.verboseLevel)
54
{
55
}
56
57
// --------------------------------------------------------------------
58
G4VIsotopeTable
&
G4VIsotopeTable::operator=
(
const
G4VIsotopeTable
& right)
59
{
60
if
(
this
!= &right)
61
{
62
fName
= right.
fName
;
63
verboseLevel
= right.
verboseLevel
;
64
}
65
return
*
this
;
66
}
67
68
// --------------------------------------------------------------------
69
G4VIsotopeTable::~G4VIsotopeTable
()
70
{
71
}
72
73
// --------------------------------------------------------------------
74
G4IsotopeProperty
*
75
G4VIsotopeTable::GetIsotopeByIsoLvl
(
G4int
Z
,
G4int
A
,
G4int
level)
76
{
77
// temporal implementation
78
if
(level==0)
return
GetIsotope
(
Z
,
A
, 0.0);
79
else
return
nullptr
;
80
}
81
82
// --------------------------------------------------------------------
83
void
G4VIsotopeTable::DumpTable
(
G4int
Zmin,
G4int
Zmax)
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
}
G4IsotopeProperty.hh
G4int
int G4int
Definition:
G4Types.hh:85
G4VIsotopeTable.hh
Z
const G4int Z[17]
Definition:
G4WaterStopping.cc:51
A
const G4double A[17]
Definition:
G4WaterStopping.cc:53
G4IsotopeProperty
Definition:
G4IsotopeProperty.hh:42
G4IsotopeProperty::DumpInfo
void DumpInfo() const
Definition:
G4IsotopeProperty.cc:105
G4String
Definition:
G4String.hh:62
G4VIsotopeTable
Definition:
G4VIsotopeTable.hh:45
G4VIsotopeTable::GetIsotopeByIsoLvl
virtual G4IsotopeProperty * GetIsotopeByIsoLvl(G4int Z, G4int A, G4int level=0)
Definition:
G4VIsotopeTable.cc:75
G4VIsotopeTable::G4VIsotopeTable
G4VIsotopeTable()
Definition:
G4VIsotopeTable.cc:41
G4VIsotopeTable::verboseLevel
G4int verboseLevel
Definition:
G4VIsotopeTable.hh:93
G4VIsotopeTable::fName
G4String fName
Definition:
G4VIsotopeTable.hh:92
G4VIsotopeTable::~G4VIsotopeTable
virtual ~G4VIsotopeTable()
Definition:
G4VIsotopeTable.cc:69
G4VIsotopeTable::operator=
G4VIsotopeTable & operator=(const G4VIsotopeTable &)
Definition:
G4VIsotopeTable.cc:58
G4VIsotopeTable::GetIsotope
virtual G4IsotopeProperty * GetIsotope(G4int Z, G4int A, G4double E, G4Ions::G4FloatLevelBase flb=G4Ions::G4FloatLevelBase::no_Float)=0
G4VIsotopeTable::DumpTable
void DumpTable(G4int Zmin=1, G4int Zmax=118)
Definition:
G4VIsotopeTable.cc:83
G4InuclParticleNames::name
const char * name(G4int ptype)
Definition:
G4InuclParticleNames.hh:76
Generated by
1.9.3