From 867e53ae8f8a616a6df4c41512b5bc26b2b2e0a0 Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Mon, 4 Dec 2023 13:06:06 +0100 Subject: [PATCH] Set the mvd specific latency This latency is used by the CbmDaq to decide when the data can be moved from the daq buffer to the final timeslice. If the latency is currently less than 110 microseconds some of the MVD digis are not properly time sorted. The latency needs to be adjusted after the digitization parameters are finally fixed. --- sim/detectors/mvd/CbmMvdDigitizer.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sim/detectors/mvd/CbmMvdDigitizer.h b/sim/detectors/mvd/CbmMvdDigitizer.h index b75e935a7c..d393047a41 100644 --- a/sim/detectors/mvd/CbmMvdDigitizer.h +++ b/sim/detectors/mvd/CbmMvdDigitizer.h @@ -59,6 +59,11 @@ public: **/ ECbmModuleId GetSystemId() const { return ECbmModuleId::kMvd; } + /** @brief Detector specific latency + ** @return latency + **/ + Double_t GetLatency() const { return 110000.; } + void SetPileUp(Int_t pileUp) { fNPileup = pileUp; } void SetDeltaEvents(Int_t deltaEvents) { fNDeltaElect = deltaEvents; } void SetBgFileName(TString fileName) { fBgFileName = fileName; } -- GitLab