Geant4
11.2.2
Toolkit for the simulation of the passage of particles through matter
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
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
Functions
a
b
c
d
e
f
g
h
i
m
n
o
p
q
r
s
t
u
w
z
Variables
c
d
e
g
h
i
k
l
m
n
o
p
q
s
t
v
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
w
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
Classes
Class List
Class Index
Class Hierarchy
Class 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
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
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
g
k
l
m
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 Symbols
:
a
b
c
d
g
h
i
o
q
r
s
t
Files
File List
File 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
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
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
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
q
r
s
t
u
v
w
x
y
z
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
ptwX_misc.cc
Go to the documentation of this file.
1
/*
2
# <<BEGIN-copyright>>
3
# <<END-copyright>>
4
*/
5
6
#include <stdio.h>
7
#include <stdlib.h>
8
9
#include "
ptwX.h
"
10
11
#if defined __cplusplus
12
namespace
GIDI {
13
using namespace
GIDI;
14
#endif
15
16
/*
17
************************************************************
18
*/
19
void
ptwX_simpleWrite
(
ptwXPoints
const
*ptwX, FILE *f,
char
const
*format ) {
20
21
int64_t i1;
22
double
*p1 = ptwX->
points
;
23
24
for
( i1 = 0; i1 < ptwX->
length
; ++i1, ++p1 ) fprintf( f, format, *p1 );
25
}
19
void
ptwX_simpleWrite
(
ptwXPoints
const
*ptwX, FILE *f,
char
const
*format ) {
…
}
26
/*
27
************************************************************
28
*/
29
void
ptwX_simplePrint
(
ptwXPoints
const
*ptwX,
char
const
*format ) {
30
31
ptwX_simpleWrite
( ptwX, stdout, format );
32
}
29
void
ptwX_simplePrint
(
ptwXPoints
const
*ptwX,
char
const
*format ) {
…
}
33
34
#if defined __cplusplus
35
}
36
#endif
ptwX.h
ptwX_simplePrint
void ptwX_simplePrint(ptwXPoints const *ptwX, char const *format)
Definition
ptwX_misc.cc:29
ptwX_simpleWrite
void ptwX_simpleWrite(ptwXPoints const *ptwX, FILE *f, char const *format)
Definition
ptwX_misc.cc:19
ptwXPoints_s
Definition
ptwX.h:24
ptwXPoints_s::length
int64_t length
Definition
ptwX.h:26
ptwXPoints_s::points
double * points
Definition
ptwX.h:29
geant4-v11.2.2
source
processes
hadronic
models
lend
src
ptwX_misc.cc
Generated by
1.12.0