Parent Directory
|
Revision Log
Convert tracker output from software v3r02. Some small bugs fixed
| 1 | mocchiut | 1.1 | // |
| 2 | // Written by Emiliano Mocchiutti | ||
| 3 | // | ||
| 4 | |||
| 5 | struct Tracklev1 { | ||
| 6 | Bool_t good1; | ||
| 7 | Int_t nev1; | ||
| 8 | mocchiut | 1.2 | Int_t whic_calib1; |
| 9 | Int_t swcode1; | ||
| 10 | // Bool_t crc1[12]; | ||
| 11 | Int_t crc1[12]; | ||
| 12 | mocchiut | 1.1 | Int_t pkt_type1; |
| 13 | Int_t pkt_num1; | ||
| 14 | Int_t obt1; | ||
| 15 | mocchiut | 1.2 | Bool_t cpu_crc1; |
| 16 | mocchiut | 1.1 | Int_t nclstr1; |
| 17 | Int_t view[500]; | ||
| 18 | Int_t ladder[500]; | ||
| 19 | Int_t maxs[500]; | ||
| 20 | Int_t mult[500]; | ||
| 21 | Float_t dedx[500]; | ||
| 22 | Int_t indstart[500]; | ||
| 23 | Int_t indmax[500]; | ||
| 24 | Int_t totcllength; | ||
| 25 | Float_t clsignal[8500]; | ||
| 26 | Float_t cnev[24][12]; | ||
| 27 | }; | ||
| 28 | |||
| 29 | struct CTracklev1 { | ||
| 30 | Bool_t good1; | ||
| 31 | Int_t nev1; | ||
| 32 | mocchiut | 1.2 | Int_t whic_calib1; |
| 33 | Int_t swcode1; | ||
| 34 | // Bool_t crc1[12]; | ||
| 35 | Int_t crc1[12]; | ||
| 36 | mocchiut | 1.1 | Int_t pkt_type1; |
| 37 | Int_t pkt_num1; | ||
| 38 | Int_t obt1; | ||
| 39 | mocchiut | 1.2 | Bool_t cpu_crc1; |
| 40 | mocchiut | 1.1 | Int_t nclstr1; |
| 41 | Int_t view[500]; | ||
| 42 | Int_t ladder[500]; | ||
| 43 | Int_t maxs[500]; | ||
| 44 | Int_t mult[500]; | ||
| 45 | Float_t dedx[500]; | ||
| 46 | Int_t indstart[500]; | ||
| 47 | Int_t indmax[500]; | ||
| 48 | Int_t totcllength; | ||
| 49 | Float_t clsignal[8500]; | ||
| 50 | Float_t cnev[12][24]; | ||
| 51 | }; | ||
| 52 | |||
| 53 | struct Tracklev2 { | ||
| 54 | Bool_t good2; | ||
| 55 | Int_t nev2; | ||
| 56 | mocchiut | 1.2 | Int_t which_calib; |
| 57 | Int_t swcode; | ||
| 58 | // Bool_t crc[12]; | ||
| 59 | Int_t crc[12]; | ||
| 60 | mocchiut | 1.1 | Int_t pkt_type; |
| 61 | Int_t pkt_num; | ||
| 62 | Int_t obt; | ||
| 63 | mocchiut | 1.2 | Int_t cpu_crc; |
| 64 | mocchiut | 1.1 | Int_t ntrk; |
| 65 | Int_t image[50]; | ||
| 66 | Float_t xm[50][6]; | ||
| 67 | Float_t ym[50][6]; | ||
| 68 | Float_t zm[50][6]; | ||
| 69 | Float_t resx[50][6]; | ||
| 70 | Float_t resy[50][6]; | ||
| 71 | Float_t al[50][5]; | ||
| 72 | Float_t coval[50][5][5]; | ||
| 73 | Float_t chi2[50]; | ||
| 74 | Int_t xgood[50][6]; | ||
| 75 | Int_t ygood[50][6]; | ||
| 76 | Float_t xv[50][6]; | ||
| 77 | Float_t yv[50][6]; | ||
| 78 | Float_t zv[50][6]; | ||
| 79 | Float_t axv[50][6]; | ||
| 80 | Float_t ayv[50][6]; | ||
| 81 | mocchiut | 1.2 | Float_t dedx_x[50][6]; |
| 82 | Float_t dedx_y[50][6]; | ||
| 83 | Float_t bdl[50]; | ||
| 84 | Int_t nclsx; | ||
| 85 | Int_t planex[500]; | ||
| 86 | Float_t xs[500][2]; | ||
| 87 | Float_t sgnlxs[500]; | ||
| 88 | Int_t nclsy; | ||
| 89 | Int_t planey[500]; | ||
| 90 | Float_t ys[500][2]; | ||
| 91 | Float_t sgnlys[500]; | ||
| 92 | mocchiut | 1.1 | }; |
| 93 | |||
| 94 | struct CTracklev2 { | ||
| 95 | Bool_t good2; | ||
| 96 | Int_t nev2; | ||
| 97 | mocchiut | 1.2 | Int_t which_calib; |
| 98 | Int_t swcode; | ||
| 99 | // Bool_t crc[12]; | ||
| 100 | Int_t crc[12]; | ||
| 101 | mocchiut | 1.1 | Int_t pkt_type; |
| 102 | Int_t pkt_num; | ||
| 103 | Int_t obt; | ||
| 104 | mocchiut | 1.2 | Int_t cpu_crc; |
| 105 | mocchiut | 1.1 | Int_t ntrk; |
| 106 | Int_t image[50]; | ||
| 107 | Float_t xm[6][50]; | ||
| 108 | Float_t ym[6][50]; | ||
| 109 | Float_t zm[6][50]; | ||
| 110 | Float_t resx[6][50]; | ||
| 111 | Float_t resy[6][50]; | ||
| 112 | Float_t al[5][50]; | ||
| 113 | Float_t coval[5][5][50]; | ||
| 114 | Float_t chi2[50]; | ||
| 115 | Int_t xgood[6][50]; | ||
| 116 | Int_t ygood[6][50]; | ||
| 117 | Float_t xv[6][50]; | ||
| 118 | Float_t yv[6][50]; | ||
| 119 | Float_t zv[6][50]; | ||
| 120 | Float_t axv[6][50]; | ||
| 121 | Float_t ayv[6][50]; | ||
| 122 | mocchiut | 1.2 | Float_t dedx_x[6][50]; |
| 123 | Float_t dedx_y[6][50]; | ||
| 124 | Float_t bdl[50]; | ||
| 125 | Int_t nclsx; | ||
| 126 | Int_t planex[500]; | ||
| 127 | Float_t xs[2][500]; | ||
| 128 | Float_t sgnlxs[500]; | ||
| 129 | Int_t nclsy; | ||
| 130 | Int_t planey[500]; | ||
| 131 | Float_t ys[2][500]; | ||
| 132 | Float_t sgnlys[500]; | ||
| 133 | mocchiut | 1.1 | }; |
| 134 | |||
| 135 |
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |