Parent Directory
|
Revision Log
modified for C3PO
| 1 | pam-fi | 1.1 | #ifndef toflevel2struct_h |
| 2 | #define toflevel2struct_h | ||
| 3 | |||
| 4 | struct cToFLevel2 { | ||
| 5 | |||
| 6 | Int_t tof_j_flag[6]; | ||
| 7 | |||
| 8 | Int_t ntoftrk; | ||
| 9 | Int_t toftrkseqno[10]; | ||
| 10 | // | ||
| 11 | Int_t npmttdc[10]; | ||
| 12 | Int_t pmttdc[48][10]; | ||
| 13 | Float_t beta[13][10]; | ||
| 14 | // | ||
| 15 | Int_t npmtadc[10]; | ||
| 16 | Int_t pmtadc[48][10]; | ||
| 17 | Float_t dedx[48][10]; | ||
| 18 | // | ||
| 19 | Float_t xtofpos[3][10]; | ||
| 20 | Float_t ytofpos[3][10]; | ||
| 21 | // | ||
| 22 | Int_t npmt; | ||
| 23 | Int_t pmt_id[48]; | ||
| 24 | Float_t adc[48]; | ||
| 25 | Float_t tdc_tw[48]; | ||
| 26 | |||
| 27 | void InitcToFLevel2(){ | ||
| 28 | |||
| 29 | for(Int_t i=0;i<6;i++) | ||
| 30 | tof_j_flag[i]=0; | ||
| 31 | ntoftrk=0; | ||
| 32 | npmt=0; | ||
| 33 | |||
| 34 | for(Int_t j=0;j<10;j++){ | ||
| 35 | toftrkseqno[j]=0; | ||
| 36 | npmttdc[j]=0; | ||
| 37 | npmtadc[j]=0; | ||
| 38 | for(Int_t i=0;i<3;i++){ | ||
| 39 | xtofpos[i][j]=0; | ||
| 40 | ytofpos[i][j]=0; | ||
| 41 | } | ||
| 42 | for(Int_t i=0;i<13;i++) | ||
| 43 | beta[i][j]=0; | ||
| 44 | } | ||
| 45 | for(Int_t j=0;j<10;j++){ | ||
| 46 | for(Int_t i=0;i<48;i++){ | ||
| 47 | pmttdc[i][j]=0; | ||
| 48 | pmtadc[i][j]=0; | ||
| 49 | dedx[i][j]=0; | ||
| 50 | } | ||
| 51 | } | ||
| 52 | for(Int_t j=0;j<48;j++){ | ||
| 53 | pmt_id[j]=0; | ||
| 54 | adc[j]=0; | ||
| 55 | tdc_tw[j]=0; | ||
| 56 | } | ||
| 57 | } | ||
| 58 | |||
| 59 | }; | ||
| 60 | |||
| 61 | #endif |
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |