Skip to content
Merged
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 PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -589,11 +589,11 @@
continue;
}
auto centrality = 0;
if(isApplyGenMult)
if (isApplyGenMult)
centrality = selColMultMC(mcCollision);
else
centrality = selColCent(RecCol);

histos.fill(HIST("VtxZHist"), RecCol.posZ());
histos.fill(HIST("CentPercentileMCRecHist"), centrality);
histos.fill(HIST("hmczvtxcent"), RecCol.posZ(), centrality, selColOccu(RecCol));
Expand Down Expand Up @@ -770,10 +770,10 @@
if (std::abs(particle.eta()) < 1.0) {
multBarrelEta10++;
}
if (-3.3 < particle.eta() && particle.eta() < -2.1) {

Check failure on line 773 in PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
multFT0C++;
}
if (3.5 < particle.eta() && particle.eta() < 4.9) {

Check failure on line 776 in PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
multFT0A++;
}
}
Expand Down Expand Up @@ -1019,7 +1019,7 @@
if (selectFV0OrA && !multbc.multFV0OrA())
return;
histos.fill(HIST("BcHist"), 4); // FV0OrA
if (vtxRange < 100.0f) {

Check failure on line 1022 in PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
if (!multbc.multFT0PosZValid())
return;
if (TMath::Abs(multbc.multFT0PosZ()) > vtxRange)
Expand All @@ -1027,7 +1027,7 @@
histos.fill(HIST("VtxZHistBC"), multbc.multFT0PosZ());
}
histos.fill(HIST("BcHist"), 5); // FT0PosZ

histos.fill(HIST("BcCentFT0CHist"), multbc.centFT0C());
histos.fill(HIST("BcCentFT0MHist"), multbc.centFT0M());
}
Expand Down
Loading