Skip to content

Commit 6122b48

Browse files
Fixed O2-Linter
1 parent cf4965b commit 6122b48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGUD/Tasks/exclusiveRhoTo4Pi.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -946,23 +946,23 @@ struct exclusiveRhoTo4Pi { // "o2-linter: disable=name/workflow-file" (unable),
946946
}
947947

948948
for (const auto& mother : particle.mothers_as<aod::UDMcParticles>()) {
949-
if (mother.pdgCode() == 30313) { // "o2-linter: pdg/explicit-code" (unable)
949+
if (mother.pdgCode() == 30313) { // "o2-linter: disable=pdg/explicit-code" (unable)
950950
motherVector.SetXYZM(mother.px(), mother.py(), mother.pz(), o2::constants::physics::MassPionCharged);
951951
histosMCgen.fill(HIST("MCgen_rhoPrime_pT"), motherVector.Pt());
952952

953953
if (flag == false) {
954954
histosMCgen.fill(HIST("rhoPrimeCounts"), 5);
955955
}
956956
flag = true;
957-
if (particle.pdgCode() == 211) { // "o2-linter: pdg/explicit-code" (unable)
957+
if (particle.pdgCode() == 211) { // "o2-linter: disable=pdg/explicit-code" (unable)
958958
histosMCgen.fill(HIST("MCgen_particle_pT"), tempVector.Pt());
959959
histosMCgen.fill(HIST("MCgen_particle_rapidity"), tempVector.Rapidity());
960960
piPlusvectors.push_back(tempVector);
961961
piPt.push_back(tempVector.Pt());
962962
piEta.push_back(tempVector.Eta());
963963
piRapidity.push_back(tempVector.Rapidity());
964964
}
965-
if (particle.pdgCode() == -211) { // "o2-linter: pdg/explicit-code" (unable)
965+
if (particle.pdgCode() == -211) { // "o2-linter: disable=pdg/explicit-code" (unable)
966966
histosMCgen.fill(HIST("MCgen_particle_pT"), tempVector.Pt());
967967
histosMCgen.fill(HIST("MCgen_particle_rapidity"), tempVector.Rapidity());
968968
piMinusvectors.push_back(tempVector);

0 commit comments

Comments
 (0)