[PWGHF] Fix includes #13457
Annotations
10 errors and 2 notices
|
[magic-number]:
PWGHF/HFC/TableProducer/correlatorD0D0bar.cxx#L271
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/HFC/TableProducer/correlatorD0D0bar.cxx#L163
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/HFC/TableProducer/correlatorD0D0bar.cxx#L160
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[pdg/explicit-mass]:
PWGHF/HFC/TableProducer/correlatorD0D0bar.cxx#L555
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
|
|
[pdg/explicit-mass]:
PWGHF/HFC/TableProducer/correlatorD0D0bar.cxx#L554
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
|
|
[pdg/explicit-mass]:
PWGHF/HFC/TableProducer/correlatorD0D0bar.cxx#L452
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
|
|
[pdg/explicit-mass]:
PWGHF/HFC/TableProducer/correlatorD0D0bar.cxx#L451
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
|
|
[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#L250
HfDataCreatorCharmHadPiReduced: PresliceUnsorted< appears too early (before end of Preslice<).
|
|
[name/workflow-file]:
PWGHF/D2H/Macros/HFInvMassFitter.cxx#L1
Name of a workflow file must match the name of the main struct in it (without the PWG prefix). (Class implementation files should be in "Core" directories.)
|
|
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.
|