From 6ebbb3a784eae8e543dc319b8f16b5bf04da5481 Mon Sep 17 00:00:00 2001 From: shahoian Date: Thu, 10 Aug 2023 15:29:08 +0200 Subject: [PATCH] Fix the name of CPV raw data output file --- Detectors/Raw/src/RawDumpSpec.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detectors/Raw/src/RawDumpSpec.cxx b/Detectors/Raw/src/RawDumpSpec.cxx index 65ec58171bf79..922df31474531 100644 --- a/Detectors/Raw/src/RawDumpSpec.cxx +++ b/Detectors/Raw/src/RawDumpSpec.cxx @@ -422,7 +422,7 @@ std::string RawDump::getBaseFileNameCPV(const header::RDHAny* rdh) LOGP(error, "Unrecognized CPV flp, setting to {}", flpname); return flpname; } - return fmt::format("alio2-cr1-flp162_cru{}_{}", feeid, RDHUtils::getEndPointID(rdh)); + return fmt::format("alio2-cr1-flp162_cru{}_{}", RDHUtils::getCRUID(rdh), RDHUtils::getEndPointID(rdh)); } //_____________________________________________________________________