From aa640d4c8d8c8a287d7c9777d41bbaf4f483ac3b Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 25 May 2022 18:23:09 +0200 Subject: [PATCH] Increase max number of bytes per FED to support full readout mode. --- EventFilter/EcalRawToDigi/plugins/DeclsForKernels.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/EventFilter/EcalRawToDigi/plugins/DeclsForKernels.h b/EventFilter/EcalRawToDigi/plugins/DeclsForKernels.h index c94cfe0c3805f..a7404e99fe7af 100644 --- a/EventFilter/EcalRawToDigi/plugins/DeclsForKernels.h +++ b/EventFilter/EcalRawToDigi/plugins/DeclsForKernels.h @@ -17,7 +17,10 @@ namespace ecal { constexpr auto empty_event_size = EMPTYEVENTSIZE; constexpr uint32_t nfeds_max = 54; - constexpr uint32_t nbytes_per_fed_max = 10 * 1024; + constexpr uint32_t nbytes_per_fed_max = 41616; // max FED size in full readout mode + // DCC header and trailer: 10 words (64bit), + // TCC block: 18 words, SR block 6 words, + // (25 channels per tower * 3 words + 1 header word) * 68 towers struct InputDataCPU { cms::cuda::host::unique_ptr data;