Skip to content
Snippets Groups Projects
Commit 58a0547f authored by Stephen A. Wood's avatar Stephen A. Wood
Browse files

Move some THcHodoscope variable initialization to ClearEvent

parent 6b1dc0ab
No related branches found
No related tags found
No related merge requests found
......@@ -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...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment