Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
3004510a
Commit
3004510a
authored
Jul 03, 2018
by
Simon Spannagel
Browse files
Pixel: allow fetching coordinates
parent
957827d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/objects/Pixel.h
View file @
3004510a
...
...
@@ -17,6 +17,7 @@ namespace corryvreckan {
int
row
()
const
{
return
m_row
;
}
int
column
()
const
{
return
m_column
;
}
std
::
pair
<
int
,
int
>
coordinates
()
{
return
std
::
make_pair
(
m_column
,
m_row
);
}
int
adc
()
const
{
return
m_adc
;
}
int
tot
()
const
{
return
adc
();
}
...
...
@@ -33,7 +34,7 @@ namespace corryvreckan {
/**
* @brief ROOT class definition
*/
ClassDefOverride
(
Pixel
,
3
);
ClassDefOverride
(
Pixel
,
4
);
private:
// Member variables
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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