Commit ef3f3afe authored by Paul Schütze's avatar Paul Schütze Committed by Simon Spannagel
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 06b3498b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ namespace allpix {

        // For per-pixel fields, resort to getRelativeTo with current pixel as reference:
        if(mapping_ != FieldMapping::SENSOR) {
            // Calculate current pixel index its center as reference point:
            // Calculate center of current pixel from index as reference point:
            auto ref = static_cast<ROOT::Math::XYPoint>(model_->getPixelCenter(px, py));

            // Get field relative to pixel center: