Commit 9f25e9fb authored by Jens Kroeger's avatar Jens Kroeger
Browse files

EventLoaderCLICpix2: if no ToA available set timestamp to center of frame (was...

EventLoaderCLICpix2: if no ToA available set timestamp to center of frame (was shutterStartTime before)
parent f5cac97e
......@@ -256,7 +256,7 @@ StatusCode EventLoaderCLICpix2::run(std::shared_ptr<Clipboard> clipboard) {
}
// Time defaults ot rising shutter edge:
double timestamp = shutterStartTime;
double timestamp = (shutterStartTime - shutterStopTime) / 2;
// Decide whether information is counter of ToA
if(matrix_config[std::make_pair(row, col)].GetCountingMode()) {
......
Markdown is supported
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