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
4df16563
Commit
4df16563
authored
Sep 13, 2016
by
CLICdp user
Browse files
check if pixels are masked before loading them
Former-commit-id: b3edf53884165f353ae2c305b3fa94e5995c7ce8
parent
d586a70e
Changes
1
Hide whitespace changes
Inline
Side-by-side
branches/trunk/algorithms/CLICpixEventLoader.C
View file @
4df16563
...
...
@@ -102,6 +102,9 @@ StatusCode CLICpixEventLoader::run(Clipboard* clipboard){
tot
++
;
row
=
63
-
row
;
// tcout<<"New pixe: "<<col<<","<<row<<" with tot "<<tot<<endl;
// If this pixel is masked, do not save it
if
(
parameters
->
detector
[
detectorID
]
->
masked
(
col
,
row
))
continue
;
Pixel
*
pixel
=
new
Pixel
(
detectorID
,
row
,
col
,
tot
,
0
);
pixels
->
push_back
(
pixel
);
npixels
++
;
...
...
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