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
18 changes: 9 additions & 9 deletions PWGHF/D2H/Tasks/taskCharmPolarisation.cxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.

Check failure on line 1 in PWGHF/D2H/Tasks/taskCharmPolarisation.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pwghf/struct-member-order]

Declare struct members in the conventional order. See the PWGHF coding guidelines.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
Expand Down Expand Up @@ -246,7 +246,7 @@
Preslice<FilteredCandDstarWSelFlagAndMc> dstarWithMcPerCollision = aod::hf_cand::collisionId;
Preslice<FilteredCandDstarWSelFlagAndMcAndMl> dstarWithMcAndMlPerCollision = aod::hf_cand::collisionId;

PresliceUnsorted<aod::McCollisionLabels> colPerMcCollision = aod::mcparticle::mcCollisionId;

Check failure on line 249 in PWGHF/D2H/Tasks/taskCharmPolarisation.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pwghf/struct-member-order]

HfTaskCharmPolarisation: PresliceUnsorted< appears too early (before end of Preslice<).

Preslice<FilteredCandLcToPKPiWSelFlag> lcToPKPiPerCollision = aod::hf_cand::collisionId;
Preslice<FilteredCandLcToPKPiWSelFlagAndMl> lcToPKPiWithMlPerCollision = aod::hf_cand::collisionId;
Expand Down Expand Up @@ -661,8 +661,8 @@
hEPaxes.push_back(thnAxisIsRotatedCandidate);
}
registry.add("hEP", "THn for polarisation studies with cosThStar w.r.t. event plane axis and BDT scores", HistType::kTHnSparseF, hEPaxes);
}
}
}

/// control plots for Lc->pKPi
if ((doprocessLcToPKPi || doprocessLcToPKPiWithMl || doprocessLcToPKPiMc || doprocessLcToPKPiMcWithMl) && lcPKPiChannels.activateTHnLcChannelMonitor) {
Expand Down Expand Up @@ -2371,10 +2371,10 @@
int numPvContributorsGen{0};

for (const auto& collision : collisions) { // loop over reco collisions associated to this gen collision
centrality = o2::hf_centrality::getCentralityColl(collision, centEstimator);
if (centrality < centralityMin || centrality > centralityMax) {
return; // skip this collision if outside of the centrality range
}
centrality = o2::hf_centrality::getCentralityColl(collision, centEstimator);
if (centrality < centralityMin || centrality > centralityMax) {
return; // skip this collision if outside of the centrality range
}
registry.fill(HIST("hCentrality"), centrality);

auto thisCollId = collision.globalIndex();
Expand Down Expand Up @@ -2412,10 +2412,10 @@
int numPvContributorsGen{0};

for (const auto& collision : collisions) { // loop over reco collisions associated to this gen collision
centrality = o2::hf_centrality::getCentralityColl(collision, centEstimator);
if (centrality < centralityMin || centrality > centralityMax) {
return; // skip this collision if outside of the centrality range
}
centrality = o2::hf_centrality::getCentralityColl(collision, centEstimator);
if (centrality < centralityMin || centrality > centralityMax) {
return; // skip this collision if outside of the centrality range
}
registry.fill(HIST("hCentrality"), centrality);

auto thisCollId = collision.globalIndex();
Expand Down
Loading