[PWGLF] Added the condition in event selection of KstarInOO.cxx #14448
Annotations
10 errors and 2 notices
|
[name/function-variable]:
PWGLF/Tasks/Resonances/kstarInOO.cxx#L63
Use lowerCamelCase for names of functions and variables.
|
|
[magic-number]:
PWGLF/Tasks/Resonances/kstarInOO.cxx#L411
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGLF/Tasks/Resonances/kstarInOO.cxx#L368
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGLF/Tasks/Resonances/kstarInOO.cxx#L310
Use constant references for non-modified iterators in range-based for loops.
|
|
[logging]:
PWGLF/Tasks/Resonances/kstarInOO.cxx#L412
Use O2 logging (LOG, LOGF, LOGP).
|
|
[logging]:
PWGLF/Tasks/Resonances/kstarInOO.cxx#L371
Use O2 logging (LOG, LOGF, LOGP).
|
|
[logging]:
PWGLF/Tasks/Resonances/kstarInOO.cxx#L370
Use O2 logging (LOG, LOGF, LOGP).
|
|
[root/lorentz-vector]:
PWGLF/Tasks/Resonances/kstarInOO.cxx#L335
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
|
|
[root/lorentz-vector]:
PWGLF/Tasks/Resonances/kstarInOO.cxx#L37
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
|
|
[include-iostream]:
PWGLF/Tasks/Resonances/kstarInOO.cxx#L49
Do not include iostream. Use O2 logging instead.
|
|
O2 linter
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
|
|
O2 linter
Exceptionally, you can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test and parentheses with a reason for the exception.
|