Parent Directory | Revision Log
Changed core routines to open themselves the DB connection
1 | #ifndef l2calcore_h |
2 | #define l2calcore_h |
3 | #include <TSystem.h> |
4 | #include <TSQLServer.h> |
5 | #include <GLTables.h> |
6 | |
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 | Float_t riginput; |
17 | Int_t hzn; |
18 | Int_t npla; |
19 | Int_t reverse; |
20 | }; |
21 | |
22 | struct FlCaLevel2 { |
23 | Int_t fmode[2]; |
24 | Float_t wartrig; |
25 | 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 | Float_t qtot; |
33 | Float_t ncore; |
34 | Float_t qcore; |
35 | Float_t impx; |
36 | Float_t impy; |
37 | Float_t tanx; |
38 | Float_t tany; |
39 | Float_t noint; |
40 | Float_t ncyl; |
41 | Float_t qcyl; |
42 | Float_t qtrack; |
43 | Float_t qmax; |
44 | Float_t nx22; |
45 | Float_t qx22; |
46 | Float_t qq[4]; |
47 | Float_t qtrackx; |
48 | Float_t qtracky; |
49 | Float_t dxtrack; |
50 | Float_t dytrack; |
51 | Float_t qlast; |
52 | Float_t nlast; |
53 | Float_t qpre; |
54 | Float_t npre; |
55 | Float_t qpresh; |
56 | Float_t npresh; |
57 | Float_t qlow; |
58 | Float_t nlow; |
59 | Float_t qtr; |
60 | Float_t ntr; |
61 | Float_t planetot; |
62 | Float_t qmean; |
63 | Int_t planemax[2]; |
64 | Float_t dX0l; |
65 | Float_t varcfit[2]; |
66 | Int_t npcfit[2]; |
67 | Int_t cibar[22][2]; |
68 | Int_t tibar[22][2]; |
69 | Float_t cbar[22][2]; |
70 | Float_t tbar[22][2]; |
71 | Float_t elen; |
72 | Float_t selen; |
73 | Int_t selfdelay[4][7]; |
74 | }; |
75 | |
76 | extern int CaloCore(UInt_t run, TFile *file, GL_TABLES *glt, Int_t calargc, char *calargv[]); |
77 | |
78 | #endif |
ViewVC Help | |
Powered by ViewVC 1.1.23 |