diff --git a/PWGLF/Tasks/Strangeness/cascadecorrelations.cxx b/PWGLF/Tasks/Strangeness/cascadecorrelations.cxx index 0c3e610463e..f37860281b7 100644 --- a/PWGLF/Tasks/Strangeness/cascadecorrelations.cxx +++ b/PWGLF/Tasks/Strangeness/cascadecorrelations.cxx @@ -698,7 +698,8 @@ struct CascadeCorrelations { } template - void doSameEventCorrelation(const TCascade& trigger, const TCascade& assoc, const TCollision& collision){ + void doSameEventCorrelation(const TCascade& trigger, const TCascade& assoc, const TCollision& collision) + { // autocorrelation check std::array triggerTracks = {trigger.posTrackId(), trigger.negTrackId(), trigger.bachelorId()}; std::array assocTracks = {assoc.posTrackId(), assoc.negTrackId(), assoc.bachelorId()}; @@ -755,7 +756,8 @@ struct CascadeCorrelations { } template - void doMixedEventCorrelation(const TCascade& trigger, const TCascade& assoc, const TCollision& col1){ + void doMixedEventCorrelation(const TCascade& trigger, const TCascade& assoc, const TCollision& col1) + { if (trigger.collisionId() == assoc.collisionId()) { registry.fill(HIST("hMEQA"), 1.5); return; @@ -815,7 +817,8 @@ struct CascadeCorrelations { } template - void doMCCorrelation(const TCascade& trigger, const TCascade& assoc, double vtxz, int FT0mult){ + void doMCCorrelation(const TCascade& trigger, const TCascade& assoc, double vtxz, int FT0mult) + { if (!trigger.isPhysicalPrimary() || !assoc.isPhysicalPrimary()) return; // require the cascades to be primaries if (std::abs(trigger.eta()) > etaGenCascades) @@ -994,7 +997,7 @@ struct CascadeCorrelations { } // casc loop for (const auto& [c0, c1] : combinations(Cascades, Cascades)) { // combinations automatically applies strictly upper in case of 2 identical tables - // Define the trigger as the particle with the highest pT. + // Define the trigger as the particle with the highest pT. // As we can't swap the cascade tables themselves, we have created a function that we can call with the correct order. if (c0.pt() >= c1.pt()) { doSameEventCorrelation(c0, c1, collision); @@ -1026,7 +1029,7 @@ struct CascadeCorrelations { // Define the trigger as the particle with the highest pT. // As we can't swap the cascade tables themselves, we have created a function that we can call with the correct order. - if(casc1.pt() >= casc2.pt()) { + if (casc1.pt() >= casc2.pt()) { doMixedEventCorrelation(casc1, casc2, col1); } else { doMixedEventCorrelation(casc2, casc1, col2);