Skip to content

Commit e238fe8

Browse files
author
Nicolas Strangmann
committed
Correct UpperCamel for O2Linter
1 parent 38a233a commit e238fe8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

PWGMM/Lumi/Tasks/lumiStabilityLightIons.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ struct lumiStabilityLightIons {
8181
kBCE = 3,
8282
kBCL = 4 };
8383

84-
static constexpr std::string_view nBCsVsTimeHistNames[5][5] =
84+
static constexpr std::string_view NBCsVsTimeHistNames[5][5] =
8585
{{"AllBCs/BC_A/nBCsVsTime", "AllBCs/BC_B/nBCsVsTime", "AllBCs/BC_C/nBCsVsTime", "AllBCs/BC_E/nBCsVsTime", "AllBCs/BC_L/nBCsVsTime"},
8686
{"FT0VTx/BC_A/nBCsVsTime", "FT0VTx/BC_B/nBCsVsTime", "FT0VTx/BC_C/nBCsVsTime", "FT0VTx/BC_E/nBCsVsTime", "FT0VTx/BC_L/nBCsVsTime"},
8787
{"FT0CE/BC_A/nBCsVsTime", "FT0CE/BC_B/nBCsVsTime", "FT0CE/BC_C/nBCsVsTime", "FT0CE/BC_E/nBCsVsTime", "FT0CE/BC_L/nBCsVsTime"},
8888
{"FDD/BC_A/nBCsVsTime", "FDD/BC_B/nBCsVsTime", "FDD/BC_C/nBCsVsTime", "FDD/BC_E/nBCsVsTime", "FDD/BC_L/nBCsVsTime"},
8989
{"1ZNC/BC_A/nBCsVsTime", "1ZNC/BC_B/nBCsVsTime", "1ZNC/BC_C/nBCsVsTime", "1ZNC/BC_E/nBCsVsTime", "1ZNC/BC_L/nBCsVsTime"}};
9090

91-
static constexpr std::string_view nBCsVsBCIDHistNames[5][5] =
91+
static constexpr std::string_view NBCsVsBCIDHistNames[5][5] =
9292
{{"AllBCs/BC_A/nBCsVsBCID", "AllBCs/BC_B/nBCsVsBCID", "AllBCs/BC_C/nBCsVsBCID", "AllBCs/BC_E/nBCsVsBCID", "AllBCs/BC_L/nBCsVsBCID"},
9393
{"FT0VTx/BC_A/nBCsVsBCID", "FT0VTx/BC_B/nBCsVsBCID", "FT0VTx/BC_C/nBCsVsBCID", "FT0VTx/BC_E/nBCsVsBCID", "FT0VTx/BC_L/nBCsVsBCID"},
9494
{"FT0CE/BC_A/nBCsVsBCID", "FT0CE/BC_B/nBCsVsBCID", "FT0CE/BC_C/nBCsVsBCID", "FT0CE/BC_E/nBCsVsBCID", "FT0CE/BC_L/nBCsVsBCID"},
@@ -113,8 +113,8 @@ struct lumiStabilityLightIons {
113113
if ((iTrigger == 0) || (iTrigger == 1 && cfgDoFT0Vtx) || (iTrigger == 2 && cfgDoFT0CE) || (iTrigger == 3 && cfgDoFDD) || (iTrigger == 4 && cfgDo1ZNC)) {
114114
for (int iBCCategory = 0; iBCCategory < nBCCategories; iBCCategory++) {
115115
if ((iBCCategory == 0 && cfgDoBCA) || (iBCCategory == 1 && cfgDoBCB) || (iBCCategory == 2 && cfgDoBCC) || (iBCCategory == 3 && cfgDoBCE) || (iBCCategory == 4 && cfgDoBCL)) {
116-
mHistManager.add(Form("%s", std::string(nBCsVsTimeHistNames[iTrigger][iBCCategory]).c_str()), "Time of triggered BCs since the start of fill;#bf{t-t_{SOF} (min)};#bf{#it{N}_{BC}}", HistType::kTH1F, {timeAxis});
117-
mHistManager.add(Form("%s", std::string(nBCsVsBCIDHistNames[iTrigger][iBCCategory]).c_str()), "BC ID of triggered BCs;#bf{BC ID in orbit};#bf{#it{N}_{BC}}", HistType::kTH1F, {bcIDAxis});
116+
mHistManager.add(Form("%s", std::string(NBCsVsTimeHistNames[iTrigger][iBCCategory]).c_str()), "Time of triggered BCs since the start of fill;#bf{t-t_{SOF} (min)};#bf{#it{N}_{BC}}", HistType::kTH1F, {timeAxis});
117+
mHistManager.add(Form("%s", std::string(NBCsVsBCIDHistNames[iTrigger][iBCCategory]).c_str()), "BC ID of triggered BCs;#bf{BC ID in orbit};#bf{#it{N}_{BC}}", HistType::kTH1F, {bcIDAxis});
118118
}
119119
}
120120
}
@@ -186,8 +186,8 @@ struct lumiStabilityLightIons {
186186
template <int iTrigger, int iBCCategory>
187187
void fillHistograms(float timeSinceSOF, int64_t localBC)
188188
{
189-
mHistManager.fill(HIST(nBCsVsTimeHistNames[iTrigger][iBCCategory]), timeSinceSOF);
190-
mHistManager.fill(HIST(nBCsVsBCIDHistNames[iTrigger][iBCCategory]), localBC);
189+
mHistManager.fill(HIST(NBCsVsTimeHistNames[iTrigger][iBCCategory]), timeSinceSOF);
190+
mHistManager.fill(HIST(NBCsVsBCIDHistNames[iTrigger][iBCCategory]), localBC);
191191
}
192192

193193
void process(MyBCs const& bcs, aod::FT0s const&)

0 commit comments

Comments
 (0)