Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
9763a73a
Commit
9763a73a
authored
Jun 17, 2021
by
Jens Kroeger
Browse files
AnalysisEfficiency: add break in for loop over pixels
parent
8a12ef84
Pipeline
#2731805
passed with stages
in 19 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/modules/AnalysisEfficiency/AnalysisEfficiency.cpp
View file @
9763a73a
...
...
@@ -386,8 +386,10 @@ StatusCode AnalysisEfficiency::run(const std::shared_ptr<Clipboard>& clipboard)
for
(
auto
&
pixel
:
pixels
)
{
if
((
pixel
->
column
()
==
static_cast
<
int
>
(
m_detector
->
getColumn
(
localIntercept
))
&&
pixel
->
row
()
==
static_cast
<
int
>
(
m_detector
->
getRow
(
localIntercept
)))
&&
isWithinInPixelROI
)
isWithinInPixelROI
)
{
hPixelEfficiencyMatrix_TProfile
->
Fill
(
pixel
->
column
(),
pixel
->
row
(),
1
);
break
;
// There cannot be a second pixel within the cluster through which the track goes.
}
}
auto
clusterLocal
=
m_detector
->
globalToLocal
(
cluster
->
global
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment