Commit c9e5d396 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

EventLoaderATLASpix: reviving + m_detector->timingOffset() for pixel timestamp...

EventLoaderATLASpix: reviving + m_detector->timingOffset() for pixel timestamp which got lost in the renovation works
parent eb16fb4a
......@@ -352,7 +352,7 @@ bool EventLoaderATLASpix::read_caribou_data() { // return false when reaching eo
long long hit_ts = static_cast<long long>(readout_ts_) + ts_diff;
// Convert the timestamp to nanoseconds:
double timestamp = m_clockCycle * static_cast<double>(hit_ts);
double timestamp = m_clockCycle * static_cast<double>(hit_ts) + m_detector->timingOffset();
// If this pixel is masked, do not save it
if(m_detector->masked(col, row)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment