Skip to content

Commit 22fa2ea

Browse files
committed
minor changes
1 parent a25198b commit 22fa2ea

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

PWGLF/Tasks/Resonances/higherMassResonances.cxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ struct HigherMassResonances {
14531453
return;
14541454
}
14551455

1456-
if (std::abs(mcCollision.posZ()) >= config.cutzvertex) {
1456+
if (std::abs(mcCollision.posZ()) > config.cutzvertex) {
14571457
return;
14581458
}
14591459

@@ -1491,9 +1491,9 @@ struct HigherMassResonances {
14911491
for (const auto& kCurrentDaughter : kDaughters) {
14921492
// int daupdg = std::abs(kCurrentDaughter.pdgCode());
14931493

1494-
if (!kCurrentDaughter.isPhysicalPrimary()) {
1495-
continue;
1496-
}
1494+
// if (!kCurrentDaughter.isPhysicalPrimary()) {
1495+
// continue;
1496+
// }
14971497
if (std::abs(kCurrentDaughter.pdgCode()) == PDG_t::kK0Short) {
14981498
passKs.push_back(true);
14991499
if (passKs.size() == 1) {
@@ -1545,6 +1545,7 @@ struct HigherMassResonances {
15451545
return;
15461546
}
15471547
hMChists.fill(HIST("Rec_Multiplicity"), multiplicity);
1548+
rEventSelection.fill(HIST("hVertexZRec"), collision.posZ());
15481549

15491550
hMChists.fill(HIST("MC_mult_after_event_sel"), multiplicity);
15501551
eventCounter++;

0 commit comments

Comments
 (0)