Skip to content

Commit 266f505

Browse files
author
Pei-Ying Kuan
committed
try to fix clang format
1 parent 4cf96bf commit 266f505

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,7 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
533533

534534
if (mult == 1)
535535
return c - c2;
536-
return c - double(mult) * c2;
537-
536+
return c - static_cast<double>(mult) * c2;
538537
}
539538

540539
TObject* getObjectFromList(TList* list, const char* objectName)
@@ -684,8 +683,7 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
684683
listWithRuns = reinterpret_cast<TList*>(getObjectFromList(baseList, runNumberWithLeadingZeroes.Data()));
685684
if (!listWithRuns) {
686685
baseList->ls();
687-
LOGF(fatal,
688-
"\033[1;31m%s at line %d : this crash can happen if in the output file there is no list with weights for the current runnumber = %s\033[0m", __FUNCTION__, __LINE__, runNumber);
686+
LOGF(fatal, "\033[1;31m%s at line %d : this crash can happen if in the output file there is no list with weights for the current runnumber = %s\033[0m", __FUNCTION__, __LINE__, runNumber);
689687
}
690688
}
691689
}
@@ -904,8 +902,9 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
904902
}
905903
}
906904

907-
} else
905+
} else {
908906
return;
907+
}
909908
}
910909

911910
int nTracksBefore = tracks.size();

0 commit comments

Comments
 (0)