3 |
ClassImp(TrigLevel2); |
ClassImp(TrigLevel2); |
4 |
|
|
5 |
TrigLevel2::TrigLevel2() { |
TrigLevel2::TrigLevel2() { |
6 |
evcount = 0; |
this->Clear(); |
|
memset(pmtpl, 0, 3*sizeof(Int_t)); |
|
|
memset(patternbusy, 0, 3*sizeof(Int_t)); |
|
|
memset(trigrate, 0, 6*sizeof(Int_t)); |
|
|
memset(patterntrig, 0, 6*sizeof(Int_t)); |
|
|
memset(dltime, 0, 2*sizeof(Int_t)); |
|
|
memset(s4calcount, 0, 2*sizeof(Int_t)); |
|
|
memset(pmtcount1, 0, 24*sizeof(Int_t)); |
|
|
memset(pmtcount2, 0, 24*sizeof(Int_t)); |
|
|
trigconf = 0; |
|
7 |
} |
} |
8 |
|
|
9 |
void TrigLevel2::Clear(){ |
void TrigLevel2::Clear(Option_t *t){ |
10 |
evcount = 0; |
evcount = 0; |
11 |
memset(pmtpl, 0, 3*sizeof(Int_t)); |
memset(pmtpl, 0, 3*sizeof(Int_t)); |
12 |
memset(patternbusy, 0, 3*sizeof(Int_t)); |
memset(patternbusy, 0, 3*sizeof(Int_t)); |
17 |
memset(pmtcount1, 0, 24*sizeof(Int_t)); |
memset(pmtcount1, 0, 24*sizeof(Int_t)); |
18 |
memset(pmtcount2, 0, 24*sizeof(Int_t)); |
memset(pmtcount2, 0, 24*sizeof(Int_t)); |
19 |
trigconf = 0; |
trigconf = 0; |
20 |
|
unpackError = 0; |
21 |
} |
} |
22 |
|
|
23 |
/** |
/** |