Skip to content

Commit

Permalink
Merge pull request #110 from alibuild/alibot-cleanup-9175
Browse files Browse the repository at this point in the history
Please consider the following formatting changes to AliceO2Group#9175
  • Loading branch information
fgrosa authored Jan 1, 2025
2 parents 20f9416 + fb04b0f commit fb44af8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion EventFiltering/PWGHF/HFFilter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ struct HfFilter { // Main struct for HF triggers
for (const auto& casc : cascThisColl) {

CascCand cascCand;
if(!helper.buildCascade(casc, v0s, tracksIU, collision, dfStrangeness, {}, cascCand)) {
if (!helper.buildCascade(casc, v0s, tracksIU, collision, dfStrangeness, {}, cascCand)) {
continue;
}

Expand Down
6 changes: 4 additions & 2 deletions EventFiltering/PWGHF/HFFilterHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -2314,7 +2314,8 @@ inline bool HfFilterHelper::buildCascade(Casc const& cascIndices, V const& v0Ind
for (int iCoord{0}; iCoord < 3; ++iCoord) {
cascCand.vtx[iCoord] = vtx[iCoord];
}
cascCand.cascradius = std::hypot(vtx[0], vtx[1]);;
cascCand.cascradius = std::hypot(vtx[0], vtx[1]);
;
cascCand.casccosPA = RecoDecay::cpa(primVtx, vtx, cascCand.mom);

auto trackParCasc = dcaFitter.createParentTrackParCov();
Expand All @@ -2325,7 +2326,8 @@ inline bool HfFilterHelper::buildCascade(Casc const& cascIndices, V const& v0Ind
cascCand.dcaXYCascToPV = dcaInfoCasc[0];
cascCand.dcacascdaughters = std::sqrt(dcaFitter.getChi2AtPCACandidate());
cascCand.mXi = RecoDecay::m(std::array{momBach, momV0}, std::array{massPi, massLambda});
cascCand.mOmega = RecoDecay::m(std::array{momBach, momV0}, std::array{massKa, massLambda});;
cascCand.mOmega = RecoDecay::m(std::array{momBach, momV0}, std::array{massKa, massLambda});
;

cascCand.hasTofBach = trackBachelor.hasTOF();
cascCand.nSigmaPiTpcBach = trackBachelor.tpcNSigmaPi();
Expand Down

0 comments on commit fb44af8

Please sign in to comment.