Skip to content

Commit be2cb42

Browse files
authored
Please consider the following formatting changes (#19)
1 parent b2132e0 commit be2cb42

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

PWGLF/Tasks/Strangeness/cascadecorrelations.cxx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,8 @@ struct CascadeCorrelations {
698698
}
699699

700700
template <typename TCascade, typename TCollision>
701-
void doSameEventCorrelation(const TCascade& trigger, const TCascade& assoc, const TCollision& collision){
701+
void doSameEventCorrelation(const TCascade& trigger, const TCascade& assoc, const TCollision& collision)
702+
{
702703
// autocorrelation check
703704
std::array<int, 3> triggerTracks = {trigger.posTrackId(), trigger.negTrackId(), trigger.bachelorId()};
704705
std::array<int, 3> assocTracks = {assoc.posTrackId(), assoc.negTrackId(), assoc.bachelorId()};
@@ -755,7 +756,8 @@ struct CascadeCorrelations {
755756
}
756757

757758
template <typename TCascade, typename TCollision>
758-
void doMixedEventCorrelation(const TCascade& trigger, const TCascade& assoc, const TCollision& col1){
759+
void doMixedEventCorrelation(const TCascade& trigger, const TCascade& assoc, const TCollision& col1)
760+
{
759761
if (trigger.collisionId() == assoc.collisionId()) {
760762
registry.fill(HIST("hMEQA"), 1.5);
761763
return;
@@ -815,7 +817,8 @@ struct CascadeCorrelations {
815817
}
816818

817819
template <typename TCascade>
818-
void doMCCorrelation(const TCascade& trigger, const TCascade& assoc, double vtxz, int FT0mult){
820+
void doMCCorrelation(const TCascade& trigger, const TCascade& assoc, double vtxz, int FT0mult)
821+
{
819822
if (!trigger.isPhysicalPrimary() || !assoc.isPhysicalPrimary())
820823
return; // require the cascades to be primaries
821824
if (std::abs(trigger.eta()) > etaGenCascades)
@@ -994,7 +997,7 @@ struct CascadeCorrelations {
994997
} // casc loop
995998

996999
for (const auto& [c0, c1] : combinations(Cascades, Cascades)) { // combinations automatically applies strictly upper in case of 2 identical tables
997-
// Define the trigger as the particle with the highest pT.
1000+
// Define the trigger as the particle with the highest pT.
9981001
// As we can't swap the cascade tables themselves, we have created a function that we can call with the correct order.
9991002
if (c0.pt() >= c1.pt()) {
10001003
doSameEventCorrelation(c0, c1, collision);
@@ -1026,7 +1029,7 @@ struct CascadeCorrelations {
10261029

10271030
// Define the trigger as the particle with the highest pT.
10281031
// As we can't swap the cascade tables themselves, we have created a function that we can call with the correct order.
1029-
if(casc1.pt() >= casc2.pt()) {
1032+
if (casc1.pt() >= casc2.pt()) {
10301033
doMixedEventCorrelation(casc1, casc2, col1);
10311034
} else {
10321035
doMixedEventCorrelation(casc2, casc1, col2);

0 commit comments

Comments
 (0)