Skip to content

Commit 008e163

Browse files
committed
[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.
1 parent c21d0ce commit 008e163

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

Common/CCDB/RCTSelectionFlags.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@
1818
#define COMMON_CCDB_RCTSELECTIONFLAGS_H_
1919

2020
#include <CommonUtils/EnumFlags.h>
21-
#include <Rtypes.h>
21+
2222
#include <TMath.h>
2323

24-
#include <stdexcept>
24+
#include <Rtypes.h>
25+
2526
#include <algorithm>
27+
#include <stdexcept>
2628
#include <string>
2729
#include <vector>
2830

@@ -98,7 +100,7 @@ class RCTFlagsChecker : public o2::utils::EnumFlags<RCTSelectionFlags>
98100
// - "CBT"
99101
// - "CBT_hadronPID"
100102
// - "CBT_electronPID"
101-
// - "CCBT_calo"
103+
// - "CBT_calo"
102104
// - "CBT_muon"
103105
// - "CBT_muon_glo"
104106
// 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<RCTSelectionFlags>
121123
// - "CBT"
122124
// - "CBT_hadronPID"
123125
// - "CBT_electronPID"
124-
// - "CCBT_calo"
126+
// - "CBT_calo"
125127
// - "CBT_muon"
126128
// - "CBT_muon_glo"
127129
// The checkZDC boolean flag controls whether to iclude the ZDC quality in all the pre-defined selections (for Pb-Pb data)

PWGHF/Utils/utilsEvSelHf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ struct HfEventSelection : o2::framework::ConfigurableGroup {
176176
o2::framework::ConfigurableAxis th2ConfigAxisCent{"th2ConfigAxisCent", {100, 0., 100.}, ""};
177177
o2::framework::ConfigurableAxis th2ConfigAxisOccupancy{"th2ConfigAxisOccupancy", {100, 0, 100000}, ""};
178178
o2::framework::Configurable<bool> requireGoodRct{"requireGoodRct", false, "Flag to require good RCT"};
179-
o2::framework::Configurable<std::string> rctLabel{"rctLabel", "CBT_hadronPID", "RCT selection flag (CBT, CBT_hadronPID, CBT_electronPID, CCBT_calo, CBT_muon, CBT_muon_glo)"};
179+
o2::framework::Configurable<std::string> rctLabel{"rctLabel", "CBT_hadronPID", "RCT selection flag (CBT, CBT_hadronPID, CBT_electronPID, CBT_calo, CBT_muon, CBT_muon_glo)"};
180180
o2::framework::Configurable<bool> rctCheckZDC{"rctCheckZDC", false, "RCT flag to check whether the ZDC is present or not"};
181181
o2::framework::Configurable<bool> rctTreatLimitedAcceptanceAsBad{"rctTreatLimitedAcceptanceAsBad", false, "RCT flag to reject events with limited acceptance for selected detectors"};
182182

0 commit comments

Comments
 (0)