1 |
mocchiut |
1.1 |
#ifndef l2calcore_h |
2 |
|
|
#define l2calcore_h |
3 |
|
|
#include <TSystem.h> |
4 |
|
|
#include <TSQLServer.h> |
5 |
mocchiut |
1.8 |
#include <GLTables.h> |
6 |
mocchiut |
1.1 |
|
7 |
|
|
struct FlCaLevel1 { |
8 |
|
|
Double_t al_p[5][2]; |
9 |
|
|
Float_t estrip[96][22][2]; |
10 |
|
|
Int_t good2; |
11 |
|
|
Int_t trkchi2; |
12 |
|
|
Float_t xalig; |
13 |
|
|
Float_t yalig; |
14 |
|
|
Float_t zalig; |
15 |
|
|
Float_t emin; |
16 |
mocchiut |
1.3 |
Float_t riginput; |
17 |
|
|
Int_t hzn; |
18 |
mocchiut |
1.6 |
Int_t npla; |
19 |
|
|
Int_t reverse; |
20 |
mocchiut |
1.1 |
}; |
21 |
|
|
|
22 |
|
|
struct FlCaLevel2 { |
23 |
mocchiut |
1.5 |
Int_t fmode[2]; |
24 |
mocchiut |
1.4 |
Float_t wartrig; |
25 |
mocchiut |
1.1 |
Float_t trigty; |
26 |
|
|
Int_t good; |
27 |
|
|
Int_t perr[4]; |
28 |
|
|
Int_t swerr[4]; |
29 |
|
|
Int_t crc[4]; |
30 |
|
|
Int_t selftrigger; |
31 |
|
|
Float_t nstrip; |
32 |
mocchiut |
1.9 |
Float_t nsatstrip; |
33 |
mocchiut |
1.1 |
Float_t qtot; |
34 |
|
|
Float_t ncore; |
35 |
|
|
Float_t qcore; |
36 |
|
|
Float_t impx; |
37 |
|
|
Float_t impy; |
38 |
|
|
Float_t tanx; |
39 |
|
|
Float_t tany; |
40 |
|
|
Float_t noint; |
41 |
|
|
Float_t ncyl; |
42 |
|
|
Float_t qcyl; |
43 |
|
|
Float_t qtrack; |
44 |
|
|
Float_t qmax; |
45 |
|
|
Float_t nx22; |
46 |
|
|
Float_t qx22; |
47 |
|
|
Float_t qq[4]; |
48 |
|
|
Float_t qtrackx; |
49 |
|
|
Float_t qtracky; |
50 |
|
|
Float_t dxtrack; |
51 |
|
|
Float_t dytrack; |
52 |
|
|
Float_t qlast; |
53 |
|
|
Float_t nlast; |
54 |
|
|
Float_t qpre; |
55 |
|
|
Float_t npre; |
56 |
|
|
Float_t qpresh; |
57 |
|
|
Float_t npresh; |
58 |
|
|
Float_t qlow; |
59 |
|
|
Float_t nlow; |
60 |
|
|
Float_t qtr; |
61 |
|
|
Float_t ntr; |
62 |
|
|
Float_t planetot; |
63 |
|
|
Float_t qmean; |
64 |
|
|
Int_t planemax[2]; |
65 |
|
|
Float_t dX0l; |
66 |
|
|
Float_t varcfit[2]; |
67 |
|
|
Int_t npcfit[2]; |
68 |
|
|
Int_t cibar[22][2]; |
69 |
|
|
Int_t tibar[22][2]; |
70 |
|
|
Float_t cbar[22][2]; |
71 |
|
|
Float_t tbar[22][2]; |
72 |
|
|
Float_t elen; |
73 |
|
|
Float_t selen; |
74 |
mocchiut |
1.7 |
Int_t selfdelay[4][7]; |
75 |
mocchiut |
1.1 |
}; |
76 |
|
|
|
77 |
mocchiut |
1.10 |
/* struct FlEventi{ */ |
78 |
|
|
/* Float_t dexy[96][22][2]; */ |
79 |
|
|
/* }; */ |
80 |
|
|
|
81 |
|
|
/* struct FlGruppo{ */ |
82 |
|
|
/* Float_t clus[96][22][2]; */ |
83 |
|
|
/* Int_t ncl[22][2]; */ |
84 |
|
|
/* }; */ |
85 |
|
|
|
86 |
|
|
/* struct FlGruppo2{ */ |
87 |
|
|
/* Float_t clus2[96][22][2]; */ |
88 |
|
|
/* Int_t ncl2[22][2]; */ |
89 |
|
|
/* }; */ |
90 |
|
|
|
91 |
|
|
/* struct FlGruppo4{ */ |
92 |
|
|
/* Float_t clus4[96][22][2]; */ |
93 |
|
|
/* Int_t ncl4[22][2]; */ |
94 |
|
|
/* }; */ |
95 |
|
|
|
96 |
|
|
/* struct FlTaglioen{ */ |
97 |
|
|
/* Float_t einf; */ |
98 |
|
|
/* Float_t esup; */ |
99 |
|
|
/* Float_t ener[2]; */ |
100 |
|
|
/* }; */ |
101 |
|
|
|
102 |
|
|
/* struct FlAngolo{ */ |
103 |
|
|
/* Float_t bar[22][2]; */ |
104 |
|
|
/* Int_t ibar[22][2]; */ |
105 |
|
|
/* }; */ |
106 |
|
|
|
107 |
|
|
/* struct FlWhere{ */ |
108 |
|
|
/* Float_t cx; */ |
109 |
|
|
/* Float_t cy; */ |
110 |
|
|
/* Float_t piano[22]; */ |
111 |
|
|
/* }; */ |
112 |
|
|
|
113 |
|
|
/* struct FlGeneral{ */ |
114 |
|
|
/* Float_t rig; */ |
115 |
|
|
/* Float_t rmass; */ |
116 |
|
|
/* }; */ |
117 |
|
|
|
118 |
|
|
/* struct FlCh{ */ |
119 |
|
|
/* Float_t check; */ |
120 |
|
|
/* }; */ |
121 |
|
|
|
122 |
|
|
/* struct FlCalofit{ */ |
123 |
|
|
/* Float_t varfit[2]; */ |
124 |
|
|
/* Int_t npfit[2]; */ |
125 |
|
|
/* Int_t iwpl[2]; */ |
126 |
|
|
/* Int_t chtrack; */ |
127 |
|
|
/* }; */ |
128 |
|
|
|
129 |
|
|
/* struct FlPawcd{ */ |
130 |
|
|
/* Float_t hmemor[9000000]; */ |
131 |
|
|
/* }; */ |
132 |
|
|
|
133 |
|
|
/* struct FlQuestd{ */ |
134 |
|
|
/* Int_t iquest[100]; */ |
135 |
|
|
/* }; */ |
136 |
|
|
|
137 |
mocchiut |
1.8 |
extern int CaloCore(UInt_t run, TFile *file, GL_TABLES *glt, Int_t calargc, char *calargv[]); |
138 |
mocchiut |
1.1 |
|
139 |
|
|
#endif |