Skip to content

Commit

Permalink
Fix O2 Linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
samrangy committed Dec 10, 2024
1 parent 184ed13 commit cdc0dae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PWGHF/HFC/TableProducer/correlatorD0Hadrons.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,15 @@ struct HfCorrelatorD0Hadrons {
double massK{0.};
double softPiMass = 0.14543; // pion mass + Q-value of the D*->D0pi decay

HfHelper hfHelper;
SliceCache cache;

Check failure on line 197 in PWGHF/HFC/TableProducer/correlatorD0Hadrons.cxx

View workflow job for this annotation

GitHub Actions / PR formatting / whitespace

Trailing spaces

Remove the trailing spaces at the end of the line.
Filter collisionFilter = aod::hf_selection_dmeson_collision::dmesonSel == true;
Filter trackFilter = requireGlobalTrackWoDCAInFilter() && (nabs(aod::track::eta) < etaTrackMax) && (aod::track::pt > ptTrackMin) && (aod::track::pt < ptTrackMax) && (nabs(aod::track::dcaXY) < dcaXYTrackMax) && (nabs(aod::track::dcaZ) < dcaZTrackMax);
Filter d0Filter = (aod::hf_sel_candidate_d0::isSelD0 >= 1) || (aod::hf_sel_candidate_d0::isSelD0bar >= 1);
Filter collisionFilterGen = aod::hf_selection_dmeson_collision::dmesonSel == true;
Filter particlesFilter = nabs(aod::mcparticle::pdgCode) == static_cast<int>(Pdg::kD0) || ((aod::mcparticle::flags & (uint8_t)o2::aod::mcparticle::enums::PhysicalPrimary) == (uint8_t)o2::aod::mcparticle::enums::PhysicalPrimary);

Check failure on line 203 in PWGHF/HFC/TableProducer/correlatorD0Hadrons.cxx

View workflow job for this annotation

GitHub Actions / PR formatting / whitespace

Trailing spaces

Remove the trailing spaces at the end of the line.
HfHelper hfHelper;
SliceCache cache;
Preslice<aod::HfCand2Prong> perCol = aod::hf_cand::collisionId;

Check failure on line 205 in PWGHF/HFC/TableProducer/correlatorD0Hadrons.cxx

View workflow job for this annotation

GitHub Actions / PR formatting / whitespace

Trailing spaces

Remove the trailing spaces at the end of the line.
ConfigurableAxis zPoolBins{"zPoolBins", {VARIABLE_WIDTH, -10.0f, -2.5f, 2.5f, 10.0f}, "z vertex position pools"};
Expand Down

0 comments on commit cdc0dae

Please sign in to comment.