[PWGEM] Add TOF nsigma pi, K, p histos to study structure in TOFnSigEle due t…#15523
[PWGEM] Add TOF nsigma pi, K, p histos to study structure in TOFnSigEle due t…#15523feisenhu wants to merge 1 commit intoAliceO2Group:masterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adds additional TOF PID QA histograms in the dilepton single-track QCMC workflow to help diagnose the observed structure in TOF nSigmaEle when using TOF recalculation.
Changes:
- Register new TOF n-sigma histograms for pion/kaon/proton under
Track/PID/...whencfgFillQAis enabled.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| fRegistry.add("Track/PID/positive/hTOFNsigmaPi", "TOF n sigma pi;p_{pv} (GeV/c);n #sigma_{#pi}^{TOF}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false); | ||
| fRegistry.add("Track/PID/positive/hTOFNsigmaKa", "TOF n sigma ka;p_{pv} (GeV/c);n #sigma_{K}^{TOF}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false); | ||
| fRegistry.add("Track/PID/positive/hTOFNsigmaPr", "TOF n sigma pr;p_{pv} (GeV/c);n #sigma_{p}^{TOF}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false); |
There was a problem hiding this comment.
The new TOF n-sigma histograms (Pi/Ka/Pr) are registered here, but they are never filled in the QA filling logic (fillElectronInfo currently only fills hTOFNsigmaEl for both charges). As a result these histograms will remain empty and the PR won’t achieve its stated goal. Please add the corresponding fRegistry.fill calls for positive and negative tracks in the existing cfgFillQA blocks near the hTOFNsigmaEl fills (and, if needed, guard them consistently with whatever TOF-availability condition is used elsewhere in this task).
| fRegistry.add("Track/PID/positive/hTOFNsigmaPi", "TOF n sigma pi;p_{pv} (GeV/c);n #sigma_{#pi}^{TOF}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false); | |
| fRegistry.add("Track/PID/positive/hTOFNsigmaKa", "TOF n sigma ka;p_{pv} (GeV/c);n #sigma_{K}^{TOF}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false); | |
| fRegistry.add("Track/PID/positive/hTOFNsigmaPr", "TOF n sigma pr;p_{pv} (GeV/c);n #sigma_{p}^{TOF}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false); |
…o effect of TOF recalculation
|
Error while checking build/O2Physics/o2 for c0dca35 at 2026-03-25 23:49: Full log here. |
…o effect of TOF recalculation
Adding TOF nsigma for pi, K, p, within the if case of cfgFillQA.
As I see the band within the TOF nSigmaEle when using the TOF recalculation based on the TTCA, I want to check if this is a clear structure of a different particle.