Commit c6c861d6 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Adapt new module to changed Clipboard interface

parent 50b65bd1
...@@ -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("tracks")); auto tracks = clipboard->get<Tracks>();
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_cast<Clusters*>(clipboard->get(m_detector->name(), "clusters")); auto clusters = clipboard->get<Clusters>(m_detector->name());
if(clusters == nullptr) { if(clusters == nullptr) {
LOG(DEBUG) << " - no DUT clusters"; LOG(DEBUG) << " - no DUT clusters";
} else { } else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment