diff --git a/src/THcHodoscope.cxx b/src/THcHodoscope.cxx index 2f3ceabe55d5bb78c5a548ca70a81a0807b09928..f59fb4652a65a75831455214cc3e762ed7c7c92b 100644 --- a/src/THcHodoscope.cxx +++ b/src/THcHodoscope.cxx @@ -686,7 +686,7 @@ void THcHodoscope::DeleteArrays() //_____________________________________________________________________________ inline -void THcHodoscope::Clear( Option_t* opt) +void THcHodoscope::ClearEvent() { // Reset per-event data. @@ -696,7 +696,7 @@ void THcHodoscope::Clear( Option_t* opt) } for(Int_t ip=0;ip<fNPlanes;ip++) { - fPlanes[ip]->Clear(opt); + fPlanes[ip]->Clear(); fFPTime[ip]=0.; fPlaneCenter[ip]=0.; fPlaneSpacing[ip]=0.; @@ -706,6 +706,7 @@ void THcHodoscope::Clear( Option_t* opt) //_____________________________________________________________________________ Int_t THcHodoscope::Decode( const THaEvData& evdata ) { + ClearEvent(); // Get the Hall C style hitlist (fRawHitList) for this event Int_t nhits = DecodeToHitList(evdata); // diff --git a/src/THcHodoscope.h b/src/THcHodoscope.h index a8cf7886c037fd9c6762c4747c9e0b1f52ef2445..18bbed3ff103f6d7d93707e709a816ac68ab0933 100644 --- a/src/THcHodoscope.h +++ b/src/THcHodoscope.h @@ -39,7 +39,6 @@ public: THaApparatus* a = NULL ); virtual ~THcHodoscope(); - virtual void Clear( Option_t* opt="" ); virtual Int_t Decode( const THaEvData& ); virtual EStatus Init( const TDatime& run_time );