1 |
mocchiut |
1.1 |
typedef struct Levels { |
2 |
|
|
Int_t calo; |
3 |
|
|
Int_t calol2; |
4 |
|
|
Int_t tof; |
5 |
|
|
Int_t track; |
6 |
|
|
Int_t track2; |
7 |
|
|
Int_t s4; |
8 |
|
|
Int_t ac; |
9 |
|
|
Int_t nd; |
10 |
|
|
} level; |
11 |
|
|
|
12 |
|
|
typedef struct Variables { |
13 |
|
|
Bool_t selex; |
14 |
|
|
Bool_t alrforc; |
15 |
|
|
Bool_t jumprog; |
16 |
|
|
Bool_t waitforever; |
17 |
|
|
Bool_t restart; |
18 |
|
|
Bool_t goon; |
19 |
|
|
Bool_t refresh; |
20 |
|
|
Bool_t fl0; |
21 |
|
|
Bool_t jumpen; |
22 |
|
|
Float_t sfx; // scale factor x |
23 |
|
|
Float_t sfy; // scale factor y |
24 |
|
|
Float_t xxvc; // x coordinate of the x-view |
25 |
|
|
Float_t yxvc; // y coordinate of the x-view |
26 |
|
|
Float_t xyvc; // x coordinate of the y-view |
27 |
|
|
Float_t yyvc; // y coordinate of the y-view |
28 |
|
|
Float_t xcat; // x coordinate of the cat view |
29 |
|
|
Float_t ycat; // y coordinate of the cat view |
30 |
|
|
Float_t nds4; // scaling factor for ND and S4 |
31 |
|
|
Float_t rig; // rigidity from the tracker (track number 1) |
32 |
|
|
Float_t chi2; // chi2 of the fitted track (track number 1) |
33 |
|
|
Float_t sbase[2][22][96]; // calorimeter old baselines |
34 |
|
|
Float_t DSPsig_par[12][3072]; //tracker sigma calibration data |
35 |
|
|
Float_t s4sig; // S4 calibrated signal |
36 |
|
|
Float_t beta[5]; // TOF beta infos |
37 |
|
|
Int_t bw; // black and white flag |
38 |
|
|
Int_t nosig; // flag to show only detectors and no signals |
39 |
|
|
Int_t etime; // time of the event (OBT) |
40 |
|
|
Int_t headc; // event number |
41 |
|
|
Int_t nstrip; // strip hit, info from CALO |
42 |
|
|
Int_t qtot; // total energy (MIP), info from CALO |
43 |
|
|
Int_t nclx; // number of cluster in the x view, info from TRK |
44 |
|
|
Int_t ncly; // number of cluster in the y view, info from TRK |
45 |
|
|
Int_t trup; // number of neutron upper half, info from ND |
46 |
|
|
Int_t bkup; // number of background neutron upper half, info from ND |
47 |
|
|
Int_t bkbo; // number of background neutron lower half, info from ND |
48 |
|
|
Int_t hcas; // number of hit in cas, info from AC |
49 |
|
|
Int_t hcat; // number of hit in cat, info from AC |
50 |
|
|
Int_t hcard;// number of hit in card, info from AC |
51 |
|
|
Int_t tracknds4; // flag to display the track in ND and S4 |
52 |
|
|
Int_t i; // event number |
53 |
|
|
Int_t doflag; //going forward or backward? |
54 |
|
|
Int_t jumpto; // event number to jump to |
55 |
|
|
Int_t lastevno; // last event number |
56 |
|
|
Int_t firstevno; // first event number |
57 |
|
|
Int_t SHOWDEC; |
58 |
|
|
Int_t TOF; |
59 |
|
|
Int_t AC; |
60 |
|
|
Int_t TRK; |
61 |
|
|
Int_t CALO; |
62 |
|
|
Int_t S4; |
63 |
|
|
Int_t ND; |
64 |
|
|
Int_t INFOS; |
65 |
|
|
Int_t VINFOS; |
66 |
|
|
Int_t PALETTE; |
67 |
|
|
Long64_t nevents; // number of events in the ntuple |
68 |
|
|
TString thefilename; |
69 |
|
|
TString thefilter; |
70 |
|
|
TString svas; |
71 |
|
|
} var; |
72 |
|
|
|