[PWGEM/Dilepton] update muon analyses #18881
Annotations
10 errors and 2 notices
|
[pdg/explicit-code]:
PWGEM/Dilepton/Tasks/createResolutionMap.cxx#L724
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGEM/Dilepton/Tasks/createResolutionMap.cxx#L708
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGEM/Dilepton/Tasks/createResolutionMap.cxx#L706
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGEM/Dilepton/Tasks/createResolutionMap.cxx#L536
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[name/configurable]:
PWGEM/Dilepton/TableProducer/skimmerPrimaryMuon.cxx#L70
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
|
|
[name/workflow-file]:
PWGEM/Dilepton/TableProducer/skimmerPrimaryMuon.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.)
|
|
[name/o2-task]:
PWGEM/Dilepton/TableProducer/skimmerPrimaryMuon.cxx#L1
Specify task name only when it cannot be derived from the struct name. Only append to the default name.
|
|
[name/o2-task]:
PWGEM/Dilepton/TableProducer/skimmerPrimaryMuon.cxx#L912
Device names associate-same-mft and associate-same-m-f-t generated from the specified task name associate-same-mft and from the struct name associateSameMFT, respectively, differ in hyphenation. Consider fixing capitalisation of the struct name to AssociateSameMft and removing TaskName.
|
|
[name/o2-task]:
PWGEM/Dilepton/TableProducer/skimmerPrimaryMuon.cxx#L911
Specified task name associate-ambiguous-muon and the struct name associateAmbiguousMuon produce the same device name associate-ambiguous-muon. TaskName is redundant.
|
|
[name/o2-task]:
PWGEM/Dilepton/TableProducer/skimmerPrimaryMuon.cxx#L910
Specified task name skimmer-primary-muon and the struct name skimmerPrimaryMuon produce the same device name skimmer-primary-muon. TaskName is redundant.
|
|
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.
|