Commit bf3f8c54 authored by Håkan Wennlöf's avatar Håkan Wennlöf
Browse files

Modified the log output to print the 3D hit point, rather than just x and y

parent 3fa55dac
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -556,8 +556,7 @@ void DetectorHistogrammerModule::run(Event* event) {

        // Check whether the particle position is in the sensor excess, and exclude it from the efficiency calculation if so
        if(!model->isWithinMatrix(particlePos)) {
            LOG(DEBUG) << "Particle at local coordinates x = " << Units::display(particlePos.x(), {"mm", "um"})
                       << ", y = " << Units::display(particlePos.y(), {"mm", "um"}) << ", pixel index ("
            LOG(DEBUG) << "Particle at local coordinate " << Units::display(particlePos, {"mm", "um"}) << ", pixel index ("
                       << model->getPixelIndex(particlePos).first << "," << model->getPixelIndex(particlePos).second
                       << "), hit in the sensor excess; removing from efficiency calculation.";
            continue;