Skip to content

Commit 5fdab9a

Browse files
author
Niveditha Ramasubramanian
committed
fixing pdg code
1 parent 9a456ed commit 5fdab9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGDQ/Tasks/qaMatching.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,7 @@ struct qaMatching {
16101610
continue;
16111611
// get the index associated to the MC particle
16121612
auto muonMcParticle = muonTrack.mcParticle();
1613-
if (std::abs(muonMcParticle.pdgCode()) != 13)
1613+
if (std::abs(muonMcParticle.pdgCode()) != kMuonMinus)
16141614
continue;
16151615

16161616
int64_t muonMcTrackIndex = muonMcParticle.globalIndex();

0 commit comments

Comments
 (0)