Commit 6548d0db authored by Simon Spannagel's avatar Simon Spannagel
Browse files

DefaultDigitizer: also print global time of arrival

parent 319309fc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -310,7 +310,8 @@ void DefaultDigitizerModule::run(Event* event) {
        }

        auto time = time_of_arrival(pixel_charge, threshold);
        LOG(DEBUG) << "Local time of arrival: " << Units::display(time, {"ns", "ps"});
        LOG(DEBUG) << "Time of arrival: " << Units::display(time, {"ns", "ps"}) << " (local), "
                   << Units::display(pixel_charge.getGlobalTime() + time, {"ns", "ps"}) << " (global)";
        if(output_plots_) {
            h_px_toa->Fill(time);
        }