Skip to content

Commit b311e31

Browse files
committed
add saving picosecond value
1 parent b7420d1 commit b311e31

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)