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