From 008e163b33b18f37d063ca5434de35cf3657bcd6 Mon Sep 17 00:00:00 2001 From: Marvin Hemmer Date: Wed, 3 Sep 2025 11:39:18 +0200 Subject: [PATCH] [COMMON,PWGHF] fix wrong CBT_Calo naming - Sometimes the rct label for runs with (good) EMCal have been written as `CCBT_calo` which should be `CBT_calo`. This spelling mistake did not break anything, but could cause confusion like in the PWGHF `utilsEvSelHf.h` where in the listing of potential rct flags it is listed as `CCBT_calo` which is wrong and would lead to a potential error if used. --- Common/CCDB/RCTSelectionFlags.h | 10 ++++++---- PWGHF/Utils/utilsEvSelHf.h | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Common/CCDB/RCTSelectionFlags.h b/Common/CCDB/RCTSelectionFlags.h index 1f396751c25..5f04cb42c90 100644 --- a/Common/CCDB/RCTSelectionFlags.h +++ b/Common/CCDB/RCTSelectionFlags.h @@ -18,11 +18,13 @@ #define COMMON_CCDB_RCTSELECTIONFLAGS_H_ #include -#include + #include -#include +#include + #include +#include #include #include @@ -98,7 +100,7 @@ class RCTFlagsChecker : public o2::utils::EnumFlags // - "CBT" // - "CBT_hadronPID" // - "CBT_electronPID" - // - "CCBT_calo" + // - "CBT_calo" // - "CBT_muon" // - "CBT_muon_glo" // The checkZDC boolean flag controls whether to iclude the ZDC quality in all the pre-defined selections (for Pb-Pb data) @@ -121,7 +123,7 @@ class RCTFlagsChecker : public o2::utils::EnumFlags // - "CBT" // - "CBT_hadronPID" // - "CBT_electronPID" - // - "CCBT_calo" + // - "CBT_calo" // - "CBT_muon" // - "CBT_muon_glo" // The checkZDC boolean flag controls whether to iclude the ZDC quality in all the pre-defined selections (for Pb-Pb data) diff --git a/PWGHF/Utils/utilsEvSelHf.h b/PWGHF/Utils/utilsEvSelHf.h index f53b199d62a..eac38fbfaf3 100644 --- a/PWGHF/Utils/utilsEvSelHf.h +++ b/PWGHF/Utils/utilsEvSelHf.h @@ -176,7 +176,7 @@ struct HfEventSelection : o2::framework::ConfigurableGroup { o2::framework::ConfigurableAxis th2ConfigAxisCent{"th2ConfigAxisCent", {100, 0., 100.}, ""}; o2::framework::ConfigurableAxis th2ConfigAxisOccupancy{"th2ConfigAxisOccupancy", {100, 0, 100000}, ""}; o2::framework::Configurable requireGoodRct{"requireGoodRct", false, "Flag to require good RCT"}; - o2::framework::Configurable rctLabel{"rctLabel", "CBT_hadronPID", "RCT selection flag (CBT, CBT_hadronPID, CBT_electronPID, CCBT_calo, CBT_muon, CBT_muon_glo)"}; + o2::framework::Configurable rctLabel{"rctLabel", "CBT_hadronPID", "RCT selection flag (CBT, CBT_hadronPID, CBT_electronPID, CBT_calo, CBT_muon, CBT_muon_glo)"}; o2::framework::Configurable rctCheckZDC{"rctCheckZDC", false, "RCT flag to check whether the ZDC is present or not"}; o2::framework::Configurable rctTreatLimitedAcceptanceAsBad{"rctTreatLimitedAcceptanceAsBad", false, "RCT flag to reject events with limited acceptance for selected detectors"};