Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions PWGMM/Lumi/Tasks/lumiStabilityLightIons.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
(iBCCategory == kBCNSLFDD && cfgDoBCNSLFDD) || (iBCCategory == kBCNSLFT0 && cfgDoBCNSLFT0)) {
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::kTH1D, {timeAxis});
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::kTH1D, {bcIDAxis});
mInspectedHistos[iTrigger][iBCCategory] = mHistManager.add<TH1>(Form("%s", std::string(NBCsInspectedVsBCIDHistNames[iTrigger][iBCCategory]).c_str()),"Inspected BC ID (denominator for mu);#bf{BC ID in orbit};#bf{#it{N}_{BC}}",HistType::kTH1D, {bcIDAxis});
mInspectedHistos[iTrigger][iBCCategory] = mHistManager.add<TH1>(Form("%s", std::string(NBCsInspectedVsBCIDHistNames[iTrigger][iBCCategory]).c_str()), "Inspected BC ID (denominator for mu);#bf{BC ID in orbit};#bf{#it{N}_{BC}}", HistType::kTH1D, {bcIDAxis});
}
}
}
Expand Down Expand Up @@ -389,8 +389,8 @@
void process(MyBCs const& bcs, aod::FT0s const&, aod::FDDs const&)
{
DenomCounter nBCsPerBcId(nBCsPerOrbit);
for (auto& triggerArr : nBCsPerBcId) {

Check failure on line 392 in PWGMM/Lumi/Tasks/lumiStabilityLightIons.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-for-loop]

Use constant references for non-modified iterators in range-based for loops.
for (auto& catArr : triggerArr) {

Check failure on line 393 in PWGMM/Lumi/Tasks/lumiStabilityLightIons.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-for-loop]

Use constant references for non-modified iterators in range-based for loops.
catArr.fill(0);
}
}
Expand Down Expand Up @@ -472,9 +472,9 @@
}
}

if (anyFDDTrigger)
if (anyFDDTrigger)
globalBCIdOfLastBCWithActivityFDD = globalBCFDD;
if (anyFT0Trigger)
if (anyFT0Trigger)
globalBCIdOfLastBCWithActivityFT0 = globalBC;

globalBCLastInspectedBC = globalBC;
Expand Down
Loading