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