Parent Directory
| 
 Revision Log
ToF upgrade (Gianfranca 06/11/30)
| 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 | mocchiut | 1.2 | Int_t tdcflag[48][10]; // gf: 30 Nov 2006 | 
| 14 | pam-fi | 1.1 | Float_t beta[13][10]; | 
| 15 | // | ||
| 16 | Int_t npmtadc[10]; | ||
| 17 | Int_t pmtadc[48][10]; | ||
| 18 | mocchiut | 1.2 | Int_t adcflag[48][10]; // gf: 30 Nov 2006 | 
| 19 | pam-fi | 1.1 | Float_t dedx[48][10]; | 
| 20 | // | ||
| 21 | Float_t xtofpos[3][10]; | ||
| 22 | Float_t ytofpos[3][10]; | ||
| 23 | // | ||
| 24 | Int_t npmt; | ||
| 25 | Int_t pmt_id[48]; | ||
| 26 | Float_t adc[48]; | ||
| 27 | Float_t tdc_tw[48]; | ||
| 28 | |||
| 29 | void InitcToFLevel2(){ | ||
| 30 | |||
| 31 | for(Int_t i=0;i<6;i++) | ||
| 32 | tof_j_flag[i]=0; | ||
| 33 | ntoftrk=0; | ||
| 34 | npmt=0; | ||
| 35 | |||
| 36 | for(Int_t j=0;j<10;j++){ | ||
| 37 | toftrkseqno[j]=0; | ||
| 38 | npmttdc[j]=0; | ||
| 39 | npmtadc[j]=0; | ||
| 40 | for(Int_t i=0;i<3;i++){ | ||
| 41 | xtofpos[i][j]=0; | ||
| 42 | ytofpos[i][j]=0; | ||
| 43 | } | ||
| 44 | for(Int_t i=0;i<13;i++) | ||
| 45 | beta[i][j]=0; | ||
| 46 | } | ||
| 47 | for(Int_t j=0;j<10;j++){ | ||
| 48 | for(Int_t i=0;i<48;i++){ | ||
| 49 | pmttdc[i][j]=0; | ||
| 50 | pmtadc[i][j]=0; | ||
| 51 | mocchiut | 1.2 | tdcflag[i][j]=0; // gf: 30 Nov 2006 | 
| 52 | adcflag[i][j]=0; // gf: 30 Nov 2006 | ||
| 53 | pam-fi | 1.1 | dedx[i][j]=0; | 
| 54 | } | ||
| 55 | } | ||
| 56 | for(Int_t j=0;j<48;j++){ | ||
| 57 | pmt_id[j]=0; | ||
| 58 | adc[j]=0; | ||
| 59 | tdc_tw[j]=0; | ||
| 60 | } | ||
| 61 | } | ||
| 62 | |||
| 63 | }; | ||
| 64 | |||
| 65 | #endif | 
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |