diff --git a/benchmarks/far_forward/scripts/hits_far_forward_protons.cxx b/benchmarks/far_forward/scripts/hits_far_forward_protons.cxx index 3ea8c7dd009f37242087da38c41e6e721be2b168..bf5259020bf253b1cb0b08a4b31004c1a2b9d9da 100644 --- a/benchmarks/far_forward/scripts/hits_far_forward_protons.cxx +++ b/benchmarks/far_forward/scripts/hits_far_forward_protons.cxx @@ -95,7 +95,7 @@ auto local_position = [](const std::vector<dd4pod::TrackerHitData>& hits) { //auto pos1 = cellid_converter.position(h.cellID); //result.push_back({pos0.x / 10.0 - pos1.x(), pos0.y / 10.0 - pos1.y()}); - if(pos0.z() < 26500){result.push_back({pos0.x, pos0.y});} //roughly isolate to first layer + if(pos0.z < 26500){result.push_back({pos0.x, pos0.y});} //roughly isolate to first layer } return result; };