Skip to content

Commit 037dfc5

Browse files
ChiaraDeMartin95Chiara De Martin
andauthored
[PWGLF] Add histos of inv mass for true cascades (#16119)
Co-authored-by: Chiara De Martin <chdemart@alicecerno2.cern.ch>
1 parent 0d17f93 commit 037dfc5

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

PWGLF/TableProducer/Strangeness/cascadeflow.cxx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2622,6 +2622,19 @@ struct cascadeFlow {
26222622
BDTresponse[0] = bdtScore[0][1];
26232623
BDTresponse[1] = bdtScore[1][1];
26242624
}
2625+
int chargeIndex = 0;
2626+
if (casc.sign() > 0)
2627+
chargeIndex = 1;
2628+
if (std::abs(casc.eta()) < CandidateConfigs.etaCasc) {
2629+
if (fillingConfigs.isFillTHNXi && fillingConfigs.isFillTHN_Pz) {
2630+
if (std::abs(pdgCode) == PDG_t::kXiMinus)
2631+
histos.get<THn>(HIST("hXiPzs2"))->Fill(coll.centFT0C(), chargeIndex, casc.pt(), casc.mXi(), BDTresponse[0], 0);
2632+
}
2633+
if (fillingConfigs.isFillTHNOmega && fillingConfigs.isFillTHN_Pz) {
2634+
if (std::abs(pdgCode) == PDG_t::kOmegaMinus)
2635+
histos.get<THn>(HIST("hOmegaPzs2"))->Fill(coll.centFT0C(), chargeIndex, casc.pt(), casc.mOmega(), BDTresponse[1], 0);
2636+
}
2637+
}
26252638
if (isStoreTrueCascOnly) {
26262639
if (pdgCode == 0)
26272640
continue;

0 commit comments

Comments
 (0)