1 |
#include <TObject.h> |
2 |
#include <TrigLevel2.h> |
3 |
ClassImp(TrigLevel2); |
4 |
|
5 |
TrigLevel2::TrigLevel2() { |
6 |
|
7 |
evcount = 0; |
8 |
for (Int_t kk=0; kk<3;kk++){ |
9 |
pmtpl[kk] = 0; |
10 |
patternbusy[kk] = 0; |
11 |
} |
12 |
|
13 |
for (Int_t kk=0; kk<6;kk++){ |
14 |
trigrate[kk] = 0; |
15 |
patterntrig[kk] = 0; |
16 |
} |
17 |
|
18 |
for (Int_t kk=0; kk<2;kk++){ |
19 |
dltime[kk] = 0; |
20 |
s4calcount[kk] = 0; |
21 |
} |
22 |
|
23 |
for (Int_t kk=0; kk<24;kk++){ |
24 |
pmtcount1[kk] = 0; |
25 |
pmtcount2[kk] = 0; |
26 |
} |
27 |
|
28 |
trigconf = 0; |
29 |
} |
30 |
|
31 |
void TrigLevel2::Clear(){ |
32 |
|
33 |
evcount = 0; |
34 |
for (Int_t kk=0; kk<3;kk++){ |
35 |
pmtpl[kk] = 0; |
36 |
patternbusy[kk] = 0; |
37 |
} |
38 |
|
39 |
for (Int_t kk=0; kk<6;kk++){ |
40 |
trigrate[kk] = 0; |
41 |
patterntrig[kk] = 0; |
42 |
} |
43 |
|
44 |
for (Int_t kk=0; kk<2;kk++){ |
45 |
dltime[kk] = 0; |
46 |
s4calcount[kk] = 0; |
47 |
} |
48 |
|
49 |
for (Int_t kk=0; kk<24;kk++){ |
50 |
pmtcount1[kk] = 0; |
51 |
pmtcount2[kk] = 0; |
52 |
} |
53 |
|
54 |
trigconf = 0; |
55 |
} |