--- DarthVader/TriggerLevel2/src/TrigLevel2.cpp 2006/08/04 10:31:34 1.4 +++ DarthVader/TriggerLevel2/src/TrigLevel2.cpp 2007/11/26 08:01:18 1.6 @@ -3,19 +3,10 @@ ClassImp(TrigLevel2); TrigLevel2::TrigLevel2() { - evcount = 0; - 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; + this->Clear(); } -void TrigLevel2::Clear(){ +void TrigLevel2::Clear(Option_t *t){ evcount = 0; memset(pmtpl, 0, 3*sizeof(Int_t)); memset(patternbusy, 0, 3*sizeof(Int_t)); @@ -26,6 +17,7 @@ memset(pmtcount1, 0, 24*sizeof(Int_t)); memset(pmtcount2, 0, 24*sizeof(Int_t)); trigconf = 0; + unpackError = 0; } /**