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() {
StatusCode AnalysisTimingATLASpix::run(std::shared_ptr<Clipboard> clipboard) {
// Get the telescope tracks from the clipboard
Tracks* tracks = reinterpret_cast<Tracks*>(clipboard->get("tracks"));
auto tracks = clipboard->get<Tracks>();
if(tracks == nullptr) {
LOG(DEBUG) << "No tracks on the clipboard";
return StatusCode::Success;
......@@ -418,7 +418,7 @@ StatusCode AnalysisTimingATLASpix::run(std::shared_ptr<Clipboard> clipboard) {
total_tracks++;
// 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) {
LOG(DEBUG) << " - no DUT clusters";
} 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