1 |
#ifndef fevstruct_h |
2 |
#define fevstruct_h |
3 |
|
4 |
typedef struct Levels { |
5 |
Int_t file; |
6 |
} level; |
7 |
|
8 |
typedef struct Variables { |
9 |
Bool_t selex; |
10 |
Bool_t alrforc; |
11 |
Bool_t jumprog; |
12 |
Bool_t waitforever; |
13 |
Bool_t restart; |
14 |
Bool_t goon; |
15 |
Bool_t refresh; |
16 |
Bool_t fl0; |
17 |
Bool_t jumpen; |
18 |
Int_t tofraw; |
19 |
Int_t tofbest; |
20 |
Float_t sfx; // scale factor x |
21 |
Float_t sfy; // scale factor y |
22 |
Float_t xxvc; // x coordinate of the x-view |
23 |
Float_t yxvc; // y coordinate of the x-view |
24 |
Float_t xyvc; // x coordinate of the y-view |
25 |
Float_t yyvc; // y coordinate of the y-view |
26 |
Float_t xcat; // x coordinate of the cat view |
27 |
Float_t ycat; // y coordinate of the cat view |
28 |
Float_t nds4; // scaling factor for ND and S4 |
29 |
Float_t rig; // rigidity from the tracker (track number 1) |
30 |
Float_t chi2; // chi2 of the fitted track (track number 1) |
31 |
Float_t sbase[2][22][96]; // calorimeter old baselines |
32 |
Float_t DSPsig_par[12][3072]; //tracker sigma calibration data |
33 |
Float_t s4sig; // S4 calibrated signal |
34 |
Float_t beta[5]; // TOF beta infos |
35 |
Int_t bw; // black and white flag |
36 |
Int_t nosig; // flag to show only detectors and no signals |
37 |
Int_t etime; // time of the event (OBT) |
38 |
Int_t headc; // event number |
39 |
Int_t nstrip; // strip hit, info from CALO |
40 |
Int_t qtot; // total energy (MIP), info from CALO |
41 |
Int_t nclx; // number of cluster in the x view, info from TRK |
42 |
Int_t ncly; // number of cluster in the y view, info from TRK |
43 |
Int_t trup; // number of neutron upper half, info from ND |
44 |
Int_t bkup; // number of background neutron upper half, info from ND |
45 |
Int_t bkbo; // number of background neutron lower half, info from ND |
46 |
Int_t hcas; // number of hit in cas, info from AC |
47 |
Int_t hcat; // number of hit in cat, info from AC |
48 |
Int_t hcard;// number of hit in card, info from AC |
49 |
Int_t tracknds4; // flag to display the track in ND and S4 |
50 |
Int_t i; // event number |
51 |
Int_t doflag; //going forward or backward? |
52 |
Int_t jumpto; // event number to jump to |
53 |
Int_t lastevno; // last event number |
54 |
Int_t firstevno; // first event number |
55 |
Int_t SHOWDEC; |
56 |
Int_t TOF; |
57 |
Int_t AC; |
58 |
Int_t TRK; |
59 |
Int_t CALO; |
60 |
Int_t S4; |
61 |
Int_t ND; |
62 |
Int_t INFOS; |
63 |
Int_t VINFOS; |
64 |
Int_t PALETTE; |
65 |
Long64_t nevents; // number of events in the ntuple |
66 |
TString thefilename; |
67 |
TString thefilter; |
68 |
TString svas; |
69 |
} var; |
70 |
|
71 |
typedef struct Evento { |
72 |
Float_t dexy[2][22][96]; |
73 |
Float_t dexyc[2][22][96]; |
74 |
Double_t base[2][22][6]; |
75 |
} evento; |
76 |
|
77 |
typedef struct Calib { |
78 |
Int_t time[4][51]; |
79 |
Int_t ttime[4][51]; |
80 |
Int_t fcode[4][51]; |
81 |
Int_t cstwerr[4]; |
82 |
Float_t cperror[4]; |
83 |
Float_t mip[2][22][96]; |
84 |
Float_t calped[2][22][96]; |
85 |
Float_t calgood[2][22][96]; |
86 |
Float_t calthr[2][22][6]; |
87 |
Float_t calrms[2][22][96]; |
88 |
Float_t calbase[2][22][6]; |
89 |
Float_t calvar[2][22][6]; |
90 |
Float_t calpuls[2][22][96]; |
91 |
Double_t sbase[2][22][6]; |
92 |
} calib; |
93 |
|
94 |
|
95 |
#endif |