[PWGHF] Fix event selection for generated signals #12608
Annotations
10 errors and 2 notices
|
[magic-number]:
PWGHF/Tasks/taskMcValidation.cxx#L356
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/TableProducer/candidateCreatorCascade.cxx#L257
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/TableProducer/candidateCreatorCascade.cxx#L228
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/TableProducer/candidateCreator3Prong.cxx#L1112
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/TableProducer/candidateCreator2Prong.cxx#L928
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/TableProducer/candidateCreator2Prong.cxx#L909
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[pwghf/struct-member-order]:
PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx#L1
Declare struct members in the conventional order. See the PWGHF coding guidelines.
|
|
[pwghf/struct-member-order]:
PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx#L171
HfDataCreatorJpsiHadReduced: PresliceUnsorted< appears too early (before end of Preslice<).
|
|
[pwghf/struct-member-order]:
PWGHF/D2H/TableProducer/dataCreatorCharmHadPiReduced.cxx#L1
Declare struct members in the conventional order. See the PWGHF coding guidelines.
|
|
[pwghf/struct-member-order]:
PWGHF/D2H/TableProducer/dataCreatorCharmHadPiReduced.cxx#L247
HfDataCreatorCharmHadPiReduced: PresliceUnsorted< appears too early (before end of Preslice<).
|
|
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.
|