/[PAMELA software]/DarthVader/ToFLevel2/inc/ToFStruct.h
ViewVC logotype

Contents of /DarthVader/ToFLevel2/inc/ToFStruct.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Apr 30 15:46:29 2007 UTC (17 years, 7 months ago) by mocchiut
Branch: MAIN
CVS Tags: v10REDr01, v3r04, v3r05, v5r00, v3r03, v4r00, v10RED, v6r01, v6r00, v3r06, v9r00, v9r01, HEAD
Changes since 1.2: +7 -0 lines
File MIME type: text/plain
Error occurred while calculating annotation data.
Tof code upgraded, new tof calibration

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 Int_t tdcflag[48][10]; // gf: 30 Nov 2006
14 Float_t beta[13][10];
15 //
16 Int_t npmtadc[10];
17 Int_t pmtadc[48][10];
18 Int_t adcflag[48][10]; // gf: 30 Nov 2006
19 Float_t dedx[48][10];
20 //
21 Float_t xtofpos[3][10];
22 Float_t ytofpos[3][10];
23 //
24 Float_t xtr_tof[6][10];
25 Float_t ytr_tof[6][10];
26 //
27 Int_t npmt;
28 Int_t pmt_id[48];
29 Float_t adc[48];
30 Float_t tdc_tw[48];
31
32 void InitcToFLevel2(){
33
34 for(Int_t i=0;i<6;i++)
35 tof_j_flag[i]=0;
36 ntoftrk=0;
37 npmt=0;
38
39 for(Int_t j=0;j<10;j++){
40 toftrkseqno[j]=0;
41 npmttdc[j]=0;
42 npmtadc[j]=0;
43 for(Int_t i=0;i<3;i++){
44 xtofpos[i][j]=0;
45 ytofpos[i][j]=0;
46 }
47 for(Int_t i=0;i<6;i++){
48 xtr_tof[i][j]=0;
49 ytr_tof[i][j]=0;
50 }
51 for(Int_t i=0;i<13;i++)
52 beta[i][j]=0;
53 }
54 for(Int_t j=0;j<10;j++){
55 for(Int_t i=0;i<48;i++){
56 pmttdc[i][j]=0;
57 pmtadc[i][j]=0;
58 tdcflag[i][j]=0; // gf: 30 Nov 2006
59 adcflag[i][j]=0; // gf: 30 Nov 2006
60 dedx[i][j]=0;
61 }
62 }
63 for(Int_t j=0;j<48;j++){
64 pmt_id[j]=0;
65 adc[j]=0;
66 tdc_tw[j]=0;
67 }
68 }
69
70 };
71
72 #endif

  ViewVC Help
Powered by ViewVC 1.1.23