Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions StRoot/StETofMatchMaker/StETofMatchMaker.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ StETofMatchMaker::readETofDetectorHits( eTofHitVec& detectorHitVec )
continue;
}

StructETofHit detectorHit;
StructETofHit detectorHit{};

detectorHit.sector = aHit->sector();
/*
Expand Down Expand Up @@ -795,7 +795,7 @@ StETofMatchMaker::readETofDetectorHits( eTofHitVec& detectorHitVec )
continue;
}

StructETofHit detectorHit;
StructETofHit detectorHit{};

detectorHit.sector = aHit->sector();
/*
Expand Down Expand Up @@ -1176,7 +1176,7 @@ StETofMatchMaker::extrapolateTrackToETof( eTofHitVec& intersectionVec, const StP
LOG_INFO << "local coordinates: " << localVec.at( i ).x() << ", " << localVec.at( i ).y() << ", " << localVec.at( i ).z() << endm;
}

StructETofHit intersect;
StructETofHit intersect{};

mETofGeom->decodeVolumeIndex( idVec.at( i ), intersect.sector, intersect.plane, intersect.counter, intersect.strip );

Expand Down Expand Up @@ -1267,7 +1267,7 @@ StETofMatchMaker::matchETofHits( eTofHitVec& detectorHitVec, eTofHitVec& interse
}

if( isMatch ) {
StructETofHit matchCand;
StructETofHit matchCand{};

matchCand.sector = detHitIter->sector;
matchCand.plane = detHitIter->plane;
Expand Down