diff --git a/sim/detectors/trd/CbmTrdModuleSim2D.cxx b/sim/detectors/trd/CbmTrdModuleSim2D.cxx index 3c5ed0ad0214abf69a065ff6585a72fe741d0e6b..5d68a3de0106cbba3896db630486adf3924aecaa 100644 --- a/sim/detectors/trd/CbmTrdModuleSim2D.cxx +++ b/sim/detectors/trd/CbmTrdModuleSim2D.cxx @@ -707,7 +707,7 @@ Int_t CbmTrdModuleSim2D::FlushBuffer(ULong64_t time) digi = iv->first; if (!digi->IsMasked()) { // no more digi processed if (digi->GetTime() < newStartTime) newStartTime = digi->GetTime(); - if ((digi->GetTime() - timeMax) > 400) { + if ((digi->GetTime() - timeMax) > 2 * FASP_WINDOW) { delete digi; iv = fBuffer[padAddress].erase(iv); // remove from saved buffer continue;