ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ptwX_misc.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ptwX_misc.cc
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
}
26
/*
27
************************************************************
28
*/
29
void
ptwX_simplePrint
(
ptwXPoints
const
*ptwX,
char
const
*format ) {
30
31
ptwX_simpleWrite
( ptwX, stdout, format );
32
}
33
34
#if defined __cplusplus
35
}
36
#endif
geant4
tree
geant4-10.6-release
source
processes
hadronic
models
lend
src
ptwX_misc.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:46
using
1.8.2 with
ECCE GitHub integration