Skip to content

Commit c4bc4ae

Browse files
Merge pull request #644 from SBNSoftware/feature/lnguyen_decodedTDC_ps
Add saving picosecond value in decoded TDC
2 parents 58fa7b2 + b311e31 commit c4bc4ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sbndcode/Decoders/SPECTDC/SPECTDCDecoder_module.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ sbnd::timing::DAQTimestamp SPECTDCDecoder::FragToDAQTimestamp(const artdaq::Frag
100100
const sbndaq::TDCTimestampFragment tdcFrag = sbndaq::TDCTimestampFragment(frag);
101101
const sbndaq::TDCTimestamp *tdcTS = tdcFrag.getTDCTimestamp();
102102

103-
return sbnd::timing::DAQTimestamp(tdcTS->vals.channel, tdcTS->timestamp_ns(), 0, tdcTS->vals.name);
103+
return sbnd::timing::DAQTimestamp(tdcTS->vals.channel, tdcTS->timestamp_ns(), 0, tdcTS->vals.name, tdcTS->picoseconds());
104104
}
105105

106106
DEFINE_ART_MODULE(SPECTDCDecoder)

0 commit comments

Comments
 (0)