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
Commits
7d780be5
Commit
7d780be5
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
rm IDetector::iterateOverNonMaskedPoints
parent
abc6e3a9
No related branches found
No related tags found
1 merge request
!2044
replace SimulationAreaIterator by plain loops
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Device/Detector/IDetector.cpp
+0
-7
0 additions, 7 deletions
Device/Detector/IDetector.cpp
Device/Detector/IDetector.h
+0
-5
0 additions, 5 deletions
Device/Detector/IDetector.h
with
0 additions
and
12 deletions
Device/Detector/IDetector.cpp
+
0
−
7
View file @
7d780be5
...
...
@@ -197,13 +197,6 @@ std::vector<const INode*> IDetector::nodeChildren() const
return
std
::
vector
<
const
INode
*>
()
<<
&
m_polAnalyzer
<<
m_resolution
.
get
();
}
void
IDetector
::
iterateOverNonMaskedPoints
(
std
::
function
<
void
(
const_iterator
)
>
func
)
const
{
for
(
auto
it
=
SimulationAreaIterator
::
createBegin
(
this
);
it
!=
SimulationAreaIterator
::
createEnd
(
this
);
++
it
)
func
(
it
);
}
size_t
IDetector
::
roiToFullIndex
(
const
size_t
i
)
const
{
if
(
m_explicitROI
.
size
()
!=
2
)
...
...
This diff is collapsed.
Click to expand it.
Device/Detector/IDetector.h
+
0
−
5
View file @
7d780be5
...
...
@@ -114,11 +114,6 @@ public:
//! Applies the detector resolution to the given intensity maps
void
applyDetectorResolution
(
Datafield
*
intensity_map
)
const
;
//! Iterate over all non-masked points within "region of interest".
//! If no region of interest is explicitly defined, then the whole detector is taken as
//! "region of interest".
void
iterateOverNonMaskedPoints
(
std
::
function
<
void
(
const_iterator
)
>
func
)
const
;
//! True if a region of interest is explicitly set.
bool
hasExplicitRegionOfInterest
()
const
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment