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
processes
electromagnetic
standard
include
G4IonICRU73Data.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
#ifndef G4IonICRU73Data_h
28
#define G4IonICRU73Data_h 1
29
30
//---------------------------------------------------------------------------
31
//
32
// ClassName: G4IonICRU73Data
33
//
34
// Description: Data on stopping power
35
//
36
// Author: Vladimir Ivanchenko
37
//
38
// Creation date: 23.10.2021
39
//
40
// Class Description:
41
//
42
// Container for parameterised data on ion stopping power
43
//
44
45
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
46
47
#include <vector>
48
#include <iostream>
49
#include "
globals.hh
"
50
51
class
G4PhysicsLogVector
;
52
class
G4PhysicsFreeVector
;
53
class
G4Material
;
54
55
class
G4IonICRU73Data
56
{
57
public
:
58
59
explicit
G4IonICRU73Data
();
60
61
~G4IonICRU73Data
();
62
63
// should be called before each run
64
void
Initialise
();
65
66
// Z - atomic number of the projectile
67
// e - energy per nucleon, loge = log(e)
68
G4double
GetDEDX
(
const
G4Material
*,
const
G4int
Z
,
69
const
G4double
e,
const
G4double
loge)
const
;
70
71
// hide assignment operator
72
G4IonICRU73Data
&
operator =
(
const
G4IonICRU73Data
&right) =
delete
;
73
G4IonICRU73Data
(
const
G4IonICRU73Data
&) =
delete
;
74
75
private
:
76
77
void
ReadMaterialData
(
const
G4String
&
name
,
G4bool
type);
78
79
void
ReadElementData
(
const
G4Material
* mat,
G4bool
type);
80
81
G4PhysicsLogVector
*
FindOrBuildElementData
(
const
G4int
Z
,
82
const
G4int
Z1
,
83
G4bool
useICRU90);
84
85
G4PhysicsLogVector
*
RetrieveVector
(std::ostringstream& in,
86
G4bool
warn);
87
88
G4double
fEmin
;
89
G4double
fEmax
;
90
91
std::vector<G4int>
fMatIndex
;
92
std::vector<G4PhysicsLogVector*>*
fMatData
[81] = {
nullptr
};
93
G4PhysicsLogVector
*
fElmData
[81][81] = {{
nullptr
}};
94
G4PhysicsFreeVector
*
fVector
=
nullptr
;
95
96
G4int
fNmat
= 0;
97
G4int
fNbins
= 0;
98
G4int
fNbinsPerDecade
= 10;
99
G4int
fVerbose
= 0;
100
G4bool
fSpline
=
false
;
101
G4String
fDataDirectory
=
""
;
102
};
103
104
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
105
106
#endif
G4double
double G4double
Definition:
G4Types.hh:83
G4bool
bool G4bool
Definition:
G4Types.hh:86
G4int
int G4int
Definition:
G4Types.hh:85
Z
const G4int Z[17]
Definition:
G4WaterStopping.cc:51
G4IonICRU73Data
Definition:
G4IonICRU73Data.hh:56
G4IonICRU73Data::fVector
G4PhysicsFreeVector * fVector
Definition:
G4IonICRU73Data.hh:94
G4IonICRU73Data::fMatData
std::vector< G4PhysicsLogVector * > * fMatData[81]
Definition:
G4IonICRU73Data.hh:92
G4IonICRU73Data::fVerbose
G4int fVerbose
Definition:
G4IonICRU73Data.hh:99
G4IonICRU73Data::RetrieveVector
G4PhysicsLogVector * RetrieveVector(std::ostringstream &in, G4bool warn)
Definition:
G4IonICRU73Data.cc:286
G4IonICRU73Data::fMatIndex
std::vector< G4int > fMatIndex
Definition:
G4IonICRU73Data.hh:91
G4IonICRU73Data::G4IonICRU73Data
G4IonICRU73Data(const G4IonICRU73Data &)=delete
G4IonICRU73Data::fElmData
G4PhysicsLogVector * fElmData[81][81]
Definition:
G4IonICRU73Data.hh:93
G4IonICRU73Data::GetDEDX
G4double GetDEDX(const G4Material *, const G4int Z, const G4double e, const G4double loge) const
Definition:
G4IonICRU73Data.cc:118
G4IonICRU73Data::ReadElementData
void ReadElementData(const G4Material *mat, G4bool type)
Definition:
G4IonICRU73Data.cc:223
G4IonICRU73Data::Initialise
void Initialise()
Definition:
G4IonICRU73Data.cc:139
G4IonICRU73Data::fNmat
G4int fNmat
Definition:
G4IonICRU73Data.hh:96
G4IonICRU73Data::fEmin
G4double fEmin
Definition:
G4IonICRU73Data.hh:88
G4IonICRU73Data::fNbinsPerDecade
G4int fNbinsPerDecade
Definition:
G4IonICRU73Data.hh:98
G4IonICRU73Data::G4IonICRU73Data
G4IonICRU73Data()
Definition:
G4IonICRU73Data.cc:90
G4IonICRU73Data::fEmax
G4double fEmax
Definition:
G4IonICRU73Data.hh:89
G4IonICRU73Data::fNbins
G4int fNbins
Definition:
G4IonICRU73Data.hh:97
G4IonICRU73Data::fSpline
G4bool fSpline
Definition:
G4IonICRU73Data.hh:100
G4IonICRU73Data::fDataDirectory
G4String fDataDirectory
Definition:
G4IonICRU73Data.hh:101
G4IonICRU73Data::~G4IonICRU73Data
~G4IonICRU73Data()
Definition:
G4IonICRU73Data.cc:103
G4IonICRU73Data::ReadMaterialData
void ReadMaterialData(const G4String &name, G4bool type)
Definition:
G4IonICRU73Data.cc:208
G4IonICRU73Data::operator=
G4IonICRU73Data & operator=(const G4IonICRU73Data &right)=delete
G4IonICRU73Data::FindOrBuildElementData
G4PhysicsLogVector * FindOrBuildElementData(const G4int Z, const G4int Z1, G4bool useICRU90)
Definition:
G4IonICRU73Data.cc:262
G4Material
Definition:
G4Material.hh:118
G4PhysicsFreeVector
Definition:
G4PhysicsFreeVector.hh:54
G4PhysicsLogVector
Definition:
G4PhysicsLogVector.hh:48
G4String
Definition:
G4String.hh:62
globals.hh
G4InuclParticleNames::name
const char * name(G4int ptype)
Definition:
G4InuclParticleNames.hh:76
anonymous_namespace{paraMaker.cc}::Z1
static const G4double Z1[5]
Definition:
paraMaker.cc:41
Generated by
1.9.3