COSMOS v7.655
COSMOSv7655
(AirShowerMC)
Zobsv.h
Go to the documentation of this file.
1
// *************this may better come after Zobsp.h (see NoOfSites2)
2
/*
3
c need Zcoord.h Zobs.h Zpos.h Zmagfield.h
4
integer NoOfSites ! No of particle observation sites
5
integer NoOfASSites
6
c
7
real*8 CosLatitude ! oos of Latitude of deepest obs. site
8
real*8 SinLatitude ! sin
9
real*8 CosLongitude ! cos of Longitude
10
real*8 SinLongitude ! sin of ..
11
12
record /coord/ DetZaxis ! detector's Z axis in 'xyz' system
13
record /coord/ DetXaxis ! // X //
14
15
record /coord/ Xprimary ! primary system x axis in 'xyz'
16
record /coord/ Yprimary ! primary system y axis in 'xyz'
17
record /coord/ Zprimary ! primary system z axis in 'xyz'
18
! these are computed in cprimxyz in
19
! ciniTracking in ceventLoop
20
21
record /coord/ PolarInjPos ! polar angle of the injection point in xyz.
22
23
record /magfield/ MagfieldNED ! mag in 'ned' at deepest obs. site
24
record /magfield/ MagfieldHVA ! mag in 'hva' at //. both in T.
25
record /magfield/ MagfieldXYZ ! mag in 'xyz' at //. both in T.
26
27
structure /site/
28
record /position/pos
29
real*8 zpl ! z value in 1ry system
30
real*8 mu
31
real*8 minitime
32
end structure
33
structure /assite/
34
record /position/pos
35
real*8 zpl
36
real*8 mu ! Moliere Unit
37
real*8 esize ! electron size
38
real*8 age ! size weighted age
39
end structure
40
41
record /site/ ObsSites(0:maxNoOfSites+1)
42
record /assite/ ASObsSites(maxNoOfASSites)
43
c to store Ne, age of a component shower for an electron
44
real*8 CompASNe(maxNoOfASSites), CompASAge(maxNoOfASSites)
45
*/
46
47
struct
site
{
48
struct
position
pos
;
49
double
zpl
;
50
double
mu
;
51
double
minitime
;
52
};
53
54
struct
assite
{
55
struct
position
pos
;
56
double
zpl
;
57
double
mu
;
58
double
esize
;
59
double
age
;
60
};
61
62
63
extern
struct
zobsvc
{
64
struct
assite
asobssites[
maxnoofassites
];
65
struct
site
obssites[
maxnoofsites
+2];
66
struct
magfield
magfieldned;
67
struct
magfield
magfieldhva;
68
struct
magfield
magfieldxyz;
69
double
compasne[
maxnoofassites
];
70
double
compasage[
maxnoofassites
];
71
struct
coord
detzaxis;
72
struct
coord
detxaxis;
73
struct
coord
xprimary;
74
struct
coord
yprimary;
75
struct
coord
zprimary;
76
struct
coord
polarinjpos;
77
double
coslatitude
;
78
double
sinlatitude
;
79
double
coslongitude
;
80
double
sinlongitude
;
81
int
noofsites
;
82
int
noofassites
;
83
}
zobsvc_
;
84
85
86
87
#define ASObsSites zobsvc_.asobssites
88
#define ObsSites zobsvc_.obssites
89
#define MagfieldNED zobsvc_.magfieldned
90
#define MagfieldHVA zobsvc_.magfieldhva
91
#define MagfieldXYZ zobsvc_.magfieldxyz
92
#define CompASNe zobsvc_.compasne
93
#define CompASAge zobsvc_.compasage
94
#define DetZaxis zobsvc_.detzaxis
95
#define DetXaxis zobsvc_.detxaxis
96
#define Xprimary zobsvc_.xprimary
97
#define Yprimary zobsvc_.yprimary
98
#define Zprimary zobsvc_.zprimary
99
#define PolarInjPos zobsvc_.polarinjpos
100
#define CosLatitude zobsvc_.coslatitude
101
#define SinLatitude zobsvc_.sinlatitude
102
#define CosLongitude zobsvc_.coslongitude
103
#define SinLongitude zobsvc_.sinlongitude
104
#define NoOfSites zobsvc_.noofsites
105
#define NoOfASSites zobsvc_.noofassites
106
107
108
109
110
111
112
site
Definition:
Zobsv.h:47
maxnoofsites
const int maxnoofsites
Definition:
Zobs.h:7
zobsvc::coslongitude
double coslongitude
Definition:
Zobsv.h:79
assite
Definition:
Zobsv.h:54
assite::zpl
double zpl
Definition:
Zobsv.h:56
assite::mu
double mu
Definition:
Zobsv.h:57
site::pos
struct position pos
Definition:
Zobsv.h:48
zobsvc
Definition:
Zobsv.h:63
maxnoofassites
const int maxnoofassites
Definition:
Zobs.h:12
site::mu
double mu
Definition:
Zobsv.h:50
site::zpl
double zpl
Definition:
Zobsv.h:49
zobsvc::sinlatitude
double sinlatitude
Definition:
Zobsv.h:78
site::minitime
double minitime
Definition:
Zobsv.h:51
zobsvc_
struct zobsvc zobsvc_
zobsvc::coslatitude
double coslatitude
Definition:
Zobsv.h:77
zobsvc::noofsites
int noofsites
Definition:
Zobsv.h:81
position
Definition:
Zpos.h:16
zobsvc::noofassites
int noofassites
Definition:
Zobsv.h:82
assite::age
double age
Definition:
Zobsv.h:59
coord
Definition:
Zcoord.h:43
assite::esize
double esize
Definition:
Zobsv.h:58
zobsvc::sinlongitude
double sinlongitude
Definition:
Zobsv.h:80
magfield
Definition:
Zmagfield.h:39
include
Zobsv.h
Generated by
1.8.13