Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Merge requests
!2596
cleanup projection plot - still very confused
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
cleanup projection plot - still very confused
j.0
into
main
Overview
0
Commits
21
Pipelines
2
Changes
17
Merged
Wuttke, Joachim
requested to merge
j.0
into
main
7 months ago
Overview
0
Commits
21
Pipelines
2
Changes
17
Expand
0
0
Merge request reports
Compare
main
version 1
5a1e833d
7 months ago
main (base)
and
latest version
latest version
f6c05968
21 commits,
7 months ago
version 1
5a1e833d
20 commits,
7 months ago
17 files
+
75
−
106
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
17
Search (e.g. *.vue) (Ctrl+P)
GUI/Model/FromCore/ItemizeSimulation.cpp
+
2
−
4
Options
@@ -94,16 +94,14 @@ MasksSet* getMasksSet(const IDetector& detector)
}
else
if
(
const
auto
*
vline
=
dynamic_cast
<
const
VerticalLine
*>
(
shape
))
{
auto
*
lineItem
=
new
VerticalLineItem
();
lineItem
->
setPos
(
vline
->
getXpos
());
auto
*
lineItem
=
new
VerticalLineItem
(
vline
->
getXpos
());
lineItem
->
setMaskValue
(
mask_value
);
// TODO: why prepend the mask, instead of appending it?
result
->
add_item
(
lineItem
);
}
else
if
(
const
auto
*
hline
=
dynamic_cast
<
const
HorizontalLine
*>
(
shape
))
{
auto
*
lineItem
=
new
HorizontalLineItem
();
lineItem
->
setPos
(
hline
->
getYpos
());
auto
*
lineItem
=
new
HorizontalLineItem
(
hline
->
getYpos
());
lineItem
->
setMaskValue
(
mask_value
);
// TODO: why prepend the mask, instead of appending it?
result
->
add_item
(
lineItem
);
Loading