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

Use ConstructedAt to make sure hitlist can grow beyond initial size

parent 1e6b0020
No related branches found
No related tags found
No related merge requests found
......@@ -89,8 +89,7 @@ Int_t THcHitList::DecodeToHitList( const THaEvData& evdata ) {
}
if(thishit == fNRawHits) {
rawhit = (THcRawHit*) (*fRawHitList)[thishit];
rawhit->Clear(); // Blank out hit contents
rawhit = (THcRawHit*) fRawHitList->ConstructedAt(thishit,"");
fNRawHits++;
rawhit->fPlane = plane;
rawhit->fCounter = counter;
......
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