Skip to content

Commit 6d1001c

Browse files
authored
[PWGLF] Added eventmixing histogram (#12280)
1 parent 6692794 commit 6d1001c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

PWGLF/Tasks/Resonances/f0980pbpbanalysis.cxx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -548,11 +548,11 @@ struct F0980pbpbanalysis {
548548

549549
if (trk1.sign() * trk2.sign() < 0) {
550550
histos.fill(HIST("hInvMass_f0980_MixedUS_EPA"), recoPtl.M(), recoPtl.Pt(), centrality, relPhiMix);
551-
} else if (trk1.sign() > 0 && trk2.sign() > 0) {
552-
histos.fill(HIST("hInvMass_f0980_MixedLSpp_EPA"), recoPtl.M(), recoPtl.Pt(), centrality, relPhiMix);
553-
} else if (trk1.sign() < 0 && trk2.sign() < 0) {
554-
histos.fill(HIST("hInvMass_f0980_MixedLSmm_EPA"), recoPtl.M(), recoPtl.Pt(), centrality, relPhiMix);
555-
}
551+
} // else if (trk1.sign() > 0 && trk2.sign() > 0) {
552+
// histos.fill(HIST("hInvMass_f0980_MixedLSpp_EPA"), recoPtl.M(), recoPtl.Pt(), centrality, relPhiMix);
553+
// } else if (trk1.sign() < 0 && trk2.sign() < 0) {
554+
// histos.fill(HIST("hInvMass_f0980_MixedLSmm_EPA"), recoPtl.M(), recoPtl.Pt(), centrality, relPhiMix);
555+
// }
556556
}
557557
}
558558
// for (auto& [trk1, trk2] : o2::soa::combinations(o2::soa::CombinationsFullIndexPolicy(t1, t2))) {
@@ -623,6 +623,8 @@ struct F0980pbpbanalysis {
623623
{HistType::kTHnSparseF, {massAxis, ptAxis, centAxis, epAxis}});
624624
histos.add("hInvMass_f0980_USRot_EPA", "unlike invariant mass Rotation",
625625
{HistType::kTHnSparseF, {massAxis, ptAxis, centAxis, epAxis}});
626+
histos.add("hInvMass_f0980_MixedUS_EPA", "unlike invariant mass EventMixing",
627+
{HistType::kTHnSparseF, {massAxis, ptAxis, centAxis, epAxis}});
626628
// if (doprocessMCLight) {
627629
// histos.add("MCL/hpT_f0980_GEN", "generated f0 signals", HistType::kTH1F, {qaPtAxis});
628630
// histos.add("MCL/hpT_f0980_REC", "reconstructed f0 signals", HistType::kTH3F, {massAxis, qaPtAxis, centAxis});

0 commit comments

Comments
 (0)