@@ -1378,7 +1378,7 @@ struct HStrangeCorrelation {
13781378 }
13791379
13801380 if (!doAssocPhysicalPrimary || mcParticle.isPhysicalPrimary ()) {
1381- if (std::abs ( mcParticle.pdgCode () ) == 310 && doCorrelationK0Short) {
1381+ if (mcParticle.pdgCode () == 310 && doCorrelationK0Short) {
13821382 histos.fill (HIST (" hGeneratedQAPtAssociatedK0" ), gpt, 0 .0f ); // step 1: before all selections
13831383 }
13841384 }
@@ -1471,7 +1471,7 @@ struct HStrangeCorrelation {
14711471 }
14721472
14731473 if (!doAssocPhysicalPrimary || mcParticle.isPhysicalPrimary ()) {
1474- if (std::abs ( mcParticle.pdgCode () ) == 310 && doCorrelationK0Short) {
1474+ if (mcParticle.pdgCode () == 310 && doCorrelationK0Short) {
14751475 histos.fill (HIST (" hGeneratedQAPtAssociatedK0" ), gpt, 1 .0f ); // step 2: before all selections
14761476 }
14771477 }
@@ -1531,7 +1531,7 @@ struct HStrangeCorrelation {
15311531 }
15321532
15331533 if (!doAssocPhysicalPrimary || mcParticle.isPhysicalPrimary ()) {
1534- if (std::abs ( mcParticle.pdgCode () ) == 310 && doCorrelationK0Short) {
1534+ if (mcParticle.pdgCode () == 310 && doCorrelationK0Short) {
15351535 histos.fill (HIST (" hClosureQAPtAssociatedK0" ), gpt, 0 .0f ); // step 1: no event selection whatsoever
15361536 }
15371537 }
@@ -1590,7 +1590,7 @@ struct HStrangeCorrelation {
15901590 }
15911591
15921592 if (!doAssocPhysicalPrimary || mcParticle.isPhysicalPrimary ()) {
1593- if (std::abs ( mcParticle.pdgCode () ) == 310 && doCorrelationK0Short) {
1593+ if (mcParticle.pdgCode () == 310 && doCorrelationK0Short) {
15941594 histos.fill (HIST (" hClosureQAPtAssociatedK0" ), gpt, 1 .0f ); // step 2: after event selection
15951595 }
15961596 }
@@ -1616,7 +1616,7 @@ struct HStrangeCorrelation {
16161616 piIndices.emplace_back (iteratorNum);
16171617 histos.fill (HIST (" ClosureTest/hPion" ), gpt, geta, gphi);
16181618 }
1619- if (std::abs ( mcParticle.pdgCode () ) == 310 && doCorrelationK0Short) {
1619+ if (mcParticle.pdgCode () == 310 && doCorrelationK0Short) {
16201620 k0ShortIndices.emplace_back (iteratorNum);
16211621 histos.fill (HIST (" ClosureTest/hK0Short" ), gpt, geta, gphi);
16221622 }
0 commit comments