-
Notifications
You must be signed in to change notification settings - Fork 613
[PWGHF] Cleanup and bug fixes using cppcheck and clang-tidy #13287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…astAssignment, redundantInitialization
|
O2 linter results: ❌ 101 errors, |
|
Hi @vkucera, Cheers, |
Thanks for checking, Samuele. |
alibuild
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-approving on behalf of @vkucera.
Tagging code contributors for information and for double-checking.
PWGHF/D2H/Macros/runMassFitter.C@saganatt @pstahlhu @lubynetsPWGHF/D2H/Tasks/taskCharmPolarisation.cxx@Mingze129 @fgrosafloatresult is assigned todoublevariable. If the variable isdoubleto avoid loss of information, then you have loss of information.PWGHF/D2H/Tasks/taskSigmacToCascade.cxx@rutuparnarathPWGHF/HFC/Macros/DhCorrelationExtraction.cxx@scattaruPWGHF/HFC/Macros/DhCorrelationFitter.cxx@scattaruPWGHF/HFC/Macros/FitCorrel.C@scattaruPWGHF/HFC/TableProducer/correlatorD0Hadrons.cxx@samrangyPWGHF/HFC/TableProducer/correlatorDsHadrons.cxx@scattaruPWGHF/HFC/TableProducer/femtoDreamProducer.cxx@zhangbiao-phyPWGHF/HFC/Tasks/taskFlow.cxx@AlexianLPWGHF/Macros/computeFonllPlusPythiaPredictions.C@fgrosaPWGHF/TableProducer/candidateCreator2Prong.cxxmass...struct members.PWGHF/TableProducer/candidateCreator3Prong.cxxmass...struct members.PWGHF/TableProducer/candidateCreatorXicc.cxxPWGHF/TableProducer/candidateSelectorLc.cxxPWGHF/TableProducer/candidateSelectorXicToPKPi.cxxPWGHF/TableProducer/candidateSelectorXicToXiPiPi.cxxPWGHF/TableProducer/trackIndexSkimCreator.cxx@fgrosaPWGHF/Tasks/taskMcEfficiency.cxxPWGHF/Tasks/taskMcValidation.cxx@Marcellocosti @fgrosa @apalasciano @DelloStrittomcCollision = particle.mcCollision_asseems to duplicate what is done earlier. Please double-check.const&.