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 |
UInt_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 RUN; |
57 |
Int_t TOF; |
58 |
Int_t AC; |
59 |
Int_t TRK; |
60 |
Int_t CALO; |
61 |
Int_t CALOT; |
62 |
Int_t ORB; |
63 |
Int_t TRG; |
64 |
Int_t S4; |
65 |
Int_t ND; |
66 |
Int_t INFOS; |
67 |
Int_t VINFOS; |
68 |
Int_t PALETTE; |
69 |
Long64_t nevents; // number of events in the ntuple |
70 |
TString thefilename; |
71 |
TString thefilter; |
72 |
TString svas; |
73 |
UInt_t idrun; |
74 |
UInt_t idroot; |
75 |
UInt_t EVF; |
76 |
} var; |
77 |
|
78 |
typedef struct Evento { |
79 |
Float_t dexy[2][22][96]; |
80 |
Float_t dexyc[2][22][96]; |
81 |
Double_t base[2][22][6]; |
82 |
} evento; |
83 |
|
84 |
typedef struct Calib { |
85 |
UInt_t time[4][51]; |
86 |
UInt_t ttime[4][51]; |
87 |
Int_t fcode[4][51]; |
88 |
Int_t cstwerr[4]; |
89 |
Float_t cperror[4]; |
90 |
Float_t mip[2][22][96]; |
91 |
Float_t calped[2][22][96]; |
92 |
Float_t calgood[2][22][96]; |
93 |
Float_t calthr[2][22][6]; |
94 |
Float_t calrms[2][22][96]; |
95 |
Float_t calbase[2][22][6]; |
96 |
Float_t calvar[2][22][6]; |
97 |
Float_t calpuls[2][22][96]; |
98 |
Double_t sbase[2][22][6]; |
99 |
} calib; |
100 |
|
101 |
|
102 |
#endif |