Skip to content

Commit 45b7d10

Browse files
committed
[PWGHF] Fix linting errors: struct member order and naming
- Move HfHelper, HfEventSelection, and ccdb declarations after all Configurable members in taskD0 and taskDplus (PWGHF struct member order) - Rename UpcQaHistoConfig to HfUpcQaHistoConfig to comply with PWGHF naming convention (structs must start with Hf)
1 parent 9d0c942 commit 45b7d10

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

PWGHF/D2H/Tasks/taskD0.cxx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,14 @@ struct HfTaskD0 {
162162
Configurable<float> upcFT0CThreshold{"upcFT0CThreshold", hf_upc::defaults::FT0CThreshold, "FT0-C amplitude threshold for UPC gap determination (a.u.)"};
163163
Configurable<float> upcZDCThreshold{"upcZDCThreshold", hf_upc::defaults::ZDCThreshold, "ZDC energy threshold for UPC gap determination (a.u.)"};
164164

165+
HfEventSelection hfEvSel; // event selection and monitoring
166+
167+
HfHelper hfHelper;
168+
ctpRateFetcher mRateFetcher;
169+
170+
SliceCache cache;
171+
Service<o2::ccdb::BasicCCDBManager> ccdb;
172+
165173
HistogramRegistry registry{
166174
"registry",
167175
{{"hPtCand", "2-prong candidates;candidate #it{p}_{T} (GeV/#it{c});entries", {HistType::kTH1F, {{360, 0., 36.}}}},

PWGHF/Utils/utilsUpcHf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ inline int gapTypeToInt(GapType gap)
101101
}
102102

103103
/// \brief Struct to hold UPC QA histogram configuration
104-
struct UpcQaHistoConfig {
104+
struct HfUpcQaHistoConfig {
105105
// FT0 histogram configuration
106106
int ft0Nbins = 1500;
107107
float ft0Min = 0.f;

0 commit comments

Comments
 (0)