Commit 27b10c3c authored by Simon Spannagel's avatar Simon Spannagel
Browse files

CP2Analysis: check ROI directly with detector

parent 6914eee7
......@@ -190,7 +190,7 @@ StatusCode CLICpix2Analysis::run(Clipboard* clipboard) {
}
// Check that track is within region of interest using winding number algorithm
if(!track->is_within_roi()) {
if(!detector->isWithinROI(track)) {
is_within_roi = false;
}
......
Supports Markdown
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