Commit d5ddbc22 authored by Adrian Herkert's avatar Adrian Herkert
Browse files

checking if we have hits first

parent 685092b8
......@@ -216,8 +216,8 @@ void EventLoaderMuPixTelescope::fillBuffer() {
// continue;
// no hits in data - can only happen if the zero suppression is switched off
//if(m_tf.num_hits() == 0)
// continue;
if(m_tf.num_hits() == 0)
continue;
// need to determine the sensor layer that is identified by the tag
RawHit h = m_tf.get_hit(0);
......
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