Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
JZCaPA
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
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Riccardo Longo
JZCaPA
Commits
378661ba
Commit
378661ba
authored
6 years ago
by
clantz
Browse files
Options
Downloads
Patches
Plain Diff
GetChannelsVector now returns a pointer to a vector
parent
4848b9a7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Analysis/include/Detector.h
+1
-3
1 addition, 3 deletions
Analysis/include/Detector.h
with
1 addition
and
3 deletions
Analysis/include/Detector.h
+
1
−
3
View file @
378661ba
...
...
@@ -27,7 +27,7 @@ class Detector{
virtual
Channel
*
GetElement
(
int
row
,
int
column
);
virtual
Channel
*
GetElement
(
std
::
string
_name
);
virtual
std
::
vector
<
Channel
*
>
GetChannelsVector
()
{
return
m_Element
;
}
virtual
std
::
vector
<
Channel
*
>
*
GetChannelsVector
()
{
return
&
m_Element
;
}
virtual
double
*
GetPosition
(
)
{
return
m_Position
;
}
virtual
double
*
GetAngle
(
)
{
return
m_Angle
;
}
...
...
@@ -41,8 +41,6 @@ class Detector{
private
:
/** Vector of channels associated to the dector **/
std
::
vector
<
Channel
*
>
m_Element
;
/** 2D vector of channels sorted in a [row][column] format **/
std
::
vector
<
vector
<
Channel
*
>
>
m_SortedElements
;
/** Three element array with x, y, and z of some pre-defined point on the detector **/
double
m_Position
[
3
];
/** Three element array of angle about the x, y, and z axis **/
...
...
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