Skip to content

Commit 8089568

Browse files
authored
[PWGLF] revert flag checks (AliceO2Group#8842)
1 parent b0236c3 commit 8089568

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PWGLF/Tasks/Nuspex/ebyeMult.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ struct EbyeMult {
373373
}
374374
}
375375

376-
histos.fill(HIST("QA/nTrklCorrelation"), nTracklets[0], nTracklets[1]);
377-
histos.fill(HIST("QA/nV0MCorrelation"), nTracklets[0], centrality);
376+
histos.fill(HIST("QA/nTrklCorrelation"), nTracklets[1], nTracklets[0]);
377+
histos.fill(HIST("QA/nV0MCorrelation"), centrality, nTracklets[0]);
378378
nTrackletsColl = nTracklets[1];
379379

380380
candidateEvent.nTklRec = nTracklets[0];
@@ -396,7 +396,7 @@ struct EbyeMult {
396396
auto mcLab = mcLabels.rawIteratorAt(candidateTracks[iT].globalIndex);
397397
if (mcLab.has_mcParticle()) {
398398
auto mcTrack = mcLab.template mcParticle_as<aod::McParticles>();
399-
if (((mcTrack.flags() & 0x8) && (doprocessMcRun2)) || (mcTrack.flags() & 0x2))
399+
if (((mcTrack.flags() & 0x8) && (doprocessMcRun2)) || (mcTrack.flags() & 0x2) || (mcTrack.flags() & 0x1))
400400
continue;
401401
if (!mcTrack.isPhysicalPrimary()) {
402402
if (mcTrack.has_mothers()) { // sec WD
@@ -442,7 +442,7 @@ struct EbyeMult {
442442
if (std::abs(genEta) > etaMax) {
443443
continue;
444444
}
445-
if (((mcPart.flags() & 0x8) && (doprocessMcRun2)) || (mcPart.flags() & 0x2))
445+
if (((mcPart.flags() & 0x8) && (doprocessMcRun2)) || (mcPart.flags() & 0x2) || (mcPart.flags() & 0x1))
446446
continue;
447447
if (!mcPart.isPhysicalPrimary() /* && !mcPart.has_mothers() */)
448448
continue;
@@ -485,7 +485,7 @@ struct EbyeMult {
485485
int partInAcc = 0;
486486
auto particlesThisCollision = particles.sliceBy(perCollisionMcParts, collision.globalIndex());
487487
for (auto const& particle : particlesThisCollision) {
488-
if (((particle.flags() & 0x8) && (doprocessMcRun2)) || (particle.flags() & 0x2))
488+
if (((particle.flags() & 0x8) && (doprocessMcRun2)) || (particle.flags() & 0x2) || (particle.flags() & 0x1))
489489
continue;
490490
if (!particle.isPhysicalPrimary() /* && !particle.has_mothers() */)
491491
continue;

0 commit comments

Comments
 (0)