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
c6c861d6
Commit
c6c861d6
authored
May 21, 2019
by
Simon Spannagel
Browse files
Adapt new module to changed Clipboard interface
parent
50b65bd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/AnalysisTimingATLASpix/AnalysisTimingATLASpix.cpp
View file @
c6c861d6
...
@@ -355,7 +355,7 @@ void AnalysisTimingATLASpix::initialise() {
...
@@ -355,7 +355,7 @@ void AnalysisTimingATLASpix::initialise() {
StatusCode
AnalysisTimingATLASpix
::
run
(
std
::
shared_ptr
<
Clipboard
>
clipboard
)
{
StatusCode
AnalysisTimingATLASpix
::
run
(
std
::
shared_ptr
<
Clipboard
>
clipboard
)
{
// Get the telescope tracks from the clipboard
// Get the telescope tracks from the clipboard
Tracks
*
tracks
=
reinterpret_cast
<
Tracks
*>
(
clipboard
->
get
(
"t
racks
"
)
);
auto
tracks
=
clipboard
->
get
<
T
racks
>
(
);
if
(
tracks
==
nullptr
)
{
if
(
tracks
==
nullptr
)
{
LOG
(
DEBUG
)
<<
"No tracks on the clipboard"
;
LOG
(
DEBUG
)
<<
"No tracks on the clipboard"
;
return
StatusCode
::
Success
;
return
StatusCode
::
Success
;
...
@@ -418,7 +418,7 @@ StatusCode AnalysisTimingATLASpix::run(std::shared_ptr<Clipboard> clipboard) {
...
@@ -418,7 +418,7 @@ StatusCode AnalysisTimingATLASpix::run(std::shared_ptr<Clipboard> clipboard) {
total_tracks
++
;
total_tracks
++
;
// Get the DUT clusters from the clipboard
// Get the DUT clusters from the clipboard
Clusters
*
clusters
=
reinterpret_cas
t
<
Clusters
*
>
(
clipboard
->
get
(
m_detector
->
name
()
,
"clusters"
)
);
auto
clusters
=
clipboard
->
ge
t
<
Clusters
>
(
m_detector
->
name
());
if
(
clusters
==
nullptr
)
{
if
(
clusters
==
nullptr
)
{
LOG
(
DEBUG
)
<<
" - no DUT clusters"
;
LOG
(
DEBUG
)
<<
" - no DUT clusters"
;
}
else
{
}
else
{
...
...
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