COSMOS v7.655
COSMOSv7655
(AirShowerMC)
Ztrack.h
Go to the documentation of this file.
1
/*
2
c structure used when tracking a particle
3
c *************************
4
*/
5
#include "
Zcondc.h
"
6
#include "
Zptcl.h
"
7
#include "
Zcoord.h
"
8
#include "
Zpos.h
"
9
#include "
Zdirec.h
"
10
#include "
Zmagfield.h
"
11
12
/*
13
c ---------------------
14
structure /track/ ! full particle attributes in Cosmos
15
16
record /ptcl/ p ! basic ptcl attributes
17
18
c position and time
19
record /position/ pos
20
real*8 t ! time in length/beta (m)
21
record /direc/ vec
22
real*4 wgt ! weight for thin sampling
23
integer*2 where ! current obsSite no. (0 is initial value)
24
integer*2 asflag ! non 0, if As has been generated from this
25
c ptcl (only for electrons)
26
real*8 user ! user use
27
#if LABELING > 0
28
integer label ! put a label (1,2,...) on each particle.
29
! There is a global label_counter which
30
! is cleared at the start of 1 event generation.
31
! it is counted up when a particle is poped up from the
32
! stack. The label_counter is given to the label of
33
! the poped up particle. This may be needed to judge
34
! if the same particle crosses a given observation place
35
! more than once.
36
integer info ! for each particle, when a particle is born
37
! this is initialized to 0. If the ptcl goes higher than
38
! 380km, 1 is added. This is for AMS observation.
39
#endif
40
end structure
41
42
*/
43
44
struct
track
{
45
struct
ptcl
p
;
46
struct
position
pos
;
47
double
t
;
48
struct
direc
vec
;
49
float
wgt
;
50
short
int
where
;
51
short
int
asflag
;
52
double
user
;
53
#if LABELING > 0
54
int
label;
55
int
info;
56
#endif
57
};
58
59
60
61
Zcondc.h
track::wgt
float wgt
Definition:
Ztrack.h:49
track
Definition:
Ztrack.h:44
Zptcl.h
track::pos
struct position pos
Definition:
Ztrack.h:46
track::user
double user
Definition:
Ztrack.h:52
track::vec
struct direc vec
Definition:
Ztrack.h:48
track::asflag
short int asflag
Definition:
Ztrack.h:51
direc
Definition:
Zdirec.h:16
track::where
short int where
Definition:
Ztrack.h:50
Zpos.h
track::p
struct ptcl p
Definition:
Ztrack.h:45
position
Definition:
Zpos.h:16
Zdirec.h
ptcl
Definition:
Zptcl.h:75
track::t
double t
Definition:
Ztrack.h:47
Zmagfield.h
Zcoord.h
include
Ztrack.h
Generated by
1.8.13