Parent Directory
|
Revision Log
Upgraded ToF routines and output
1 | #ifndef l2tofcore_h |
2 | #define l2tofcore_h |
3 | #include <TSystem.h> |
4 | #include <TSQLServer.h> |
5 | |
6 | struct ToFInput { |
7 | Double_t al_pp[5]; |
8 | Float_t k_s11s31[24][2]; |
9 | Float_t k_s11s32[24][2]; |
10 | Float_t k_s12s31[18][2]; |
11 | Float_t k_s12s32[18][2]; |
12 | Float_t k_S21S31[6][2]; |
13 | Float_t k_S21S32[6][2]; |
14 | Float_t k_S22S31[6][2]; |
15 | Float_t k_S22S32[6][2]; |
16 | Float_t k_s11s21[16][2]; |
17 | Float_t k_s11s22[16][2]; |
18 | Float_t k_s12s21[12][2]; |
19 | Float_t k_s12s22[12][2]; |
20 | Float_t adcx11[2][8][2]; |
21 | Float_t adcx12[2][6][2]; |
22 | Float_t adcx21[2][2][2]; |
23 | Float_t adcx22[2][2][2]; |
24 | Float_t adcx31[2][3][2]; |
25 | Float_t adcx32[2][3][2]; |
26 | Float_t tw11[8][2]; |
27 | Float_t tw12[6][2]; |
28 | Float_t tw21[2][2]; |
29 | Float_t tw22[2][2]; |
30 | Float_t tw31[3][2]; |
31 | Float_t tw32[3][2]; |
32 | Float_t y_coor_lin11[2][8]; |
33 | Float_t y_coor_lin12[2][6]; |
34 | Float_t y_coor_lin21[2][2]; |
35 | Float_t y_coor_lin22[2][2]; |
36 | Float_t y_coor_lin31[2][3]; |
37 | Float_t y_coor_lin32[2][3]; |
38 | Int_t adc[12][4]; |
39 | Int_t tdc[12][4]; |
40 | Int_t patterntrig[6]; |
41 | Int_t ntrk; |
42 | }; |
43 | |
44 | struct ToFOutput { |
45 | Float_t beta_a[13]; |
46 | Float_t betatof_a[13]; |
47 | Float_t xtofpos[3]; |
48 | Float_t ytofpos[3]; |
49 | Float_t adc_c[12][4]; |
50 | Float_t adctof_c[12][4]; |
51 | Float_t tdc_c[12][4]; |
52 | Int_t tofmask[12][4]; |
53 | Int_t tof_i_flag[6]; |
54 | Int_t tof_j_flag[6]; |
55 | }; |
56 | |
57 | extern int ToFCore(ULong64_t run, TFile *file, TSQLServer *dbc, Int_t ToFargc, char *ToFargv[]); |
58 | |
59 | #endif |
ViewVC Help | |
Powered by ViewVC 1.1.23 |