diff --git a/src/THcHodoscope.cxx b/src/THcHodoscope.cxx index 7a11cc873ed260c9d4be781c5843da37f876a2be..644a4ac410066f372750c4ba02705f1139de2e57 100644 --- a/src/THcHodoscope.cxx +++ b/src/THcHodoscope.cxx @@ -524,6 +524,11 @@ void THcHodoscope::ClearEvent() fBetaP = 0.; fBetaNoTrk = 0.0; fBetaNoTrkChiSq = 0.0; + fStartTime = 0.0; + fGoodStartTime = kFALSE; + fGoodScinHits = 0; + fScinShould = 0; + fScinDid = 0; for(Int_t ip=0;ip<fNPlanes;ip++) { fPlanes[ip]->Clear(); @@ -828,9 +833,6 @@ Int_t THcHodoscope::FineProcess( TClonesArray& tracks ) Int_t timehist[200]; // ------------------------------------------------- - fGoodScinHits = 0; - fScinShould = 0; fScinDid = 0; - if (tracks.GetLast()+1 > 0 ) { // **MAIN LOOP: Loop over all tracks and get corrected time, tof, beta...