diff --git a/p348reco/p348reco.h b/p348reco/p348reco.h index 3202b022889e0cc430497a4e445d55fe760dd67a..60ed8f85bb7c1df433e6fdbc652bf6cde6292712 100644 --- a/p348reco/p348reco.h +++ b/p348reco/p348reco.h @@ -1224,7 +1224,7 @@ na64util::p348reco::TimeClusters RunTimeClustering(RecoEvent & e) { // Use fitted peaks info to populate timed item entry auto & peaks = c.fittedPeaksInfo; na64util::TimePulseNo_t nPeak = 0; - for(na64util::iMSADCReco::PeakInfo & peakInfo: peaks) { + for(na64util::iWaveformReco::PeakInfo & peakInfo: peaks) { // add pulse info to collection auto ir = timedHits.emplace( std::pair<na64util::DetID_t, na64util::TimePulseNo_t>{detID, nPeak} @@ -1246,7 +1246,7 @@ na64util::p348reco::TimeClusters RunTimeClustering(RecoEvent & e) { // decode, assign cluster labels for(auto & timedHitEntry: timedHits) { // assign time cluster label - reinterpret_cast<na64util::iMSADCReco::PeakInfo*>(timedHitEntry.second.userdata) + reinterpret_cast<na64util::iWaveformReco::PeakInfo*>(timedHitEntry.second.userdata) ->timeClusterLabel = timedHitEntry.second.timeClusterLabel; } // ECAL-specific stuff