Skip to content

Commit 2085f0f

Browse files
authored
[PWGHF] Add missing or fix incorred PID information for B-hadron reduced tasks (#18332)
1 parent 143192a commit 2085f0f

2 files changed

Lines changed: 37 additions & 1 deletion

File tree

‎PWGHF/D2H/Tasks/taskBsReduced.cxx‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,18 @@ DECLARE_SOA_COLUMN(TpcChi2NClDmesProngMax, tpcChi2NClDmesProngMax, float);
7979
DECLARE_SOA_COLUMN(NSigTpcPiDmesProng0, nSigTpcPiDmesProng0, float); //! TPC Nsigma separation for D-meson prong0 with pion mass hypothesis
8080
DECLARE_SOA_COLUMN(NSigTofPiDmesProng0, nSigTofPiDmesProng0, float); //! TOF Nsigma separation for D-meson prong0 with pion mass hypothesis
8181
DECLARE_SOA_COLUMN(NSigTpcTofPiDmesProng0, nSigTpcTofPiDmesProng0, float); //! Combined TPC and TOF Nsigma separation for D-meson prong0 with pion mass hypothesis
82+
DECLARE_SOA_COLUMN(NSigTpcKaDmesProng0, nSigTpcKaDmesProng0, float); //! TPC Nsigma separation for D-meson prong0 with kaon mass hypothesis
83+
DECLARE_SOA_COLUMN(NSigTofKaDmesProng0, nSigTofKaDmesProng0, float); //! TOF Nsigma separation for D-meson prong0 with kaon mass hypothesis
84+
DECLARE_SOA_COLUMN(NSigTpcTofKaDmesProng0, nSigTpcTofKaDmesProng0, float); //! Combined TPC and TOF Nsigma separation for D-meson prong0 with kaon mass hypothesis
8285
DECLARE_SOA_COLUMN(NSigTpcKaDmesProng1, nSigTpcKaDmesProng1, float); //! TPC Nsigma separation for D-meson prong1 with kaon mass hypothesis
8386
DECLARE_SOA_COLUMN(NSigTofKaDmesProng1, nSigTofKaDmesProng1, float); //! TOF Nsigma separation for D-meson prong1 with kaon mass hypothesis
8487
DECLARE_SOA_COLUMN(NSigTpcTofKaDmesProng1, nSigTpcTofKaDmesProng1, float); //! Combined TPC and TOF Nsigma separation for D-meson prong1 with kaon mass hypothesis
8588
DECLARE_SOA_COLUMN(NSigTpcPiDmesProng2, nSigTpcPiDmesProng2, float); //! TPC Nsigma separation for D-meson prong2 with pion mass hypothesis
8689
DECLARE_SOA_COLUMN(NSigTofPiDmesProng2, nSigTofPiDmesProng2, float); //! TOF Nsigma separation for D-meson prong2 with pion mass hypothesis
87-
DECLARE_SOA_COLUMN(NSigTpcTofPiDmesProng2, nSigTpcTofPiDmesProng2, float); //! Combined TPC and TOF Nsigma separation for D-meson prong0 with pion mass hypothesis
90+
DECLARE_SOA_COLUMN(NSigTpcTofPiDmesProng2, nSigTpcTofPiDmesProng2, float); //! Combined TPC and TOF Nsigma separation for D-meson prong2 with pion mass hypothesis
91+
DECLARE_SOA_COLUMN(NSigTpcKaDmesProng2, nSigTpcKaDmesProng2, float); //! TPC Nsigma separation for D-meson prong2 with kaon mass hypothesis
92+
DECLARE_SOA_COLUMN(NSigTofKaDmesProng2, nSigTofKaDmesProng2, float); //! TOF Nsigma separation for D-meson prong2 with kaon mass hypothesis
93+
DECLARE_SOA_COLUMN(NSigTpcTofKaDmesProng2, nSigTpcTofKaDmesProng2, float); //! Combined TPC and TOF Nsigma separation for D-meson prong2 with kaon mass hypothesis
8894
// pion features
8995
DECLARE_SOA_COLUMN(PtProng1, ptProng1, float); //! Transverse momentum of prong1 (GeV/c)
9096
DECLARE_SOA_COLUMN(AbsEtaProng1, absEtaProng1, float); //! Absolute pseudorapidity of Prong1
@@ -135,12 +141,18 @@ DECLARE_SOA_TABLE(HfRedCandBsLites, "AOD", "HFREDCANDBSLITE", //! Table with som
135141
hf_cand_bs_lite::NSigTpcPiDmesProng0,
136142
hf_cand_bs_lite::NSigTofPiDmesProng0,
137143
hf_cand_bs_lite::NSigTpcTofPiDmesProng0,
144+
hf_cand_bs_lite::NSigTpcKaDmesProng0,
145+
hf_cand_bs_lite::NSigTofKaDmesProng0,
146+
hf_cand_bs_lite::NSigTpcTofKaDmesProng0,
138147
hf_cand_bs_lite::NSigTpcKaDmesProng1,
139148
hf_cand_bs_lite::NSigTofKaDmesProng1,
140149
hf_cand_bs_lite::NSigTpcTofKaDmesProng1,
141150
hf_cand_bs_lite::NSigTpcPiDmesProng2,
142151
hf_cand_bs_lite::NSigTofPiDmesProng2,
143152
hf_cand_bs_lite::NSigTpcTofPiDmesProng2,
153+
hf_cand_bs_lite::NSigTpcKaDmesProng2,
154+
hf_cand_bs_lite::NSigTofKaDmesProng2,
155+
hf_cand_bs_lite::NSigTpcTofKaDmesProng2,
144156
hf_cand_bs_reduced::Prong0MlScoreBkg,
145157
hf_cand_bs_reduced::Prong0MlScorePrompt,
146158
hf_cand_bs_reduced::Prong0MlScoreNonprompt,
@@ -596,9 +608,15 @@ struct HfTaskBsReduced {
596608
candDs.tpcNSigmaPiProng0(),
597609
candDs.tofNSigmaPiProng0(),
598610
candDs.tpcTofNSigmaPiProng0(),
611+
candDs.tpcNSigmaKaProng0(),
612+
candDs.tofNSigmaKaProng0(),
613+
candDs.tpcTofNSigmaKaProng0(),
599614
candDs.tpcNSigmaKaProng1(),
600615
candDs.tofNSigmaKaProng1(),
601616
candDs.tpcTofNSigmaKaProng1(),
617+
candDs.tpcNSigmaPiProng2(),
618+
candDs.tofNSigmaPiProng2(),
619+
candDs.tpcTofNSigmaPiProng2(),
602620
candDs.tpcNSigmaKaProng2(),
603621
candDs.tofNSigmaKaProng2(),
604622
candDs.tpcTofNSigmaKaProng2(),

‎PWGHF/D2H/Tasks/taskLbReduced.cxx‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ DECLARE_SOA_COLUMN(E, e, float);
7373
DECLARE_SOA_COLUMN(NSigTpcPiBachelor, nSigTpcPiBachelor, float); //! TPC Nsigma separation for bachelor with pion mass hypothesis
7474
DECLARE_SOA_COLUMN(NSigTofPiBachelor, nSigTofPiBachelor, float); //! TOF Nsigma separation for bachelor with pion mass hypothesis
7575
DECLARE_SOA_COLUMN(NSigTpcTofPiBachelor, nSigTpcTofPiBachelor, float); //! Combined TPC and TOF Nsigma separation for bachelor with pion mass hypothesis
76+
DECLARE_SOA_COLUMN(NSigTpcPiLcProng0, nSigTpcPiLcProng0, float); //! TPC Nsigma separation for Lc-baryon prong0 with pion mass hypothesis
77+
DECLARE_SOA_COLUMN(NSigTofPiLcProng0, nSigTofPiLcProng0, float); //! TOF Nsigma separation for Lc-baryon prong0 with pion mass hypothesis
78+
DECLARE_SOA_COLUMN(NSigTpcTofPiLcProng0, nSigTpcTofPiLcProng0, float); //! Combined TPC and TOF Nsigma separation for Lc-baryon prong0 with pion mass hypothesis
7679
DECLARE_SOA_COLUMN(NSigTpcPrLcProng0, nSigTpcPrLcProng0, float); //! TPC Nsigma separation for Lc-baryon prong0 with proton mass hypothesis
7780
DECLARE_SOA_COLUMN(NSigTofPrLcProng0, nSigTofPrLcProng0, float); //! TOF Nsigma separation for Lc-baryon prong0 with proton mass hypothesis
7881
DECLARE_SOA_COLUMN(NSigTpcTofPrLcProng0, nSigTpcTofPrLcProng0, float); //! Combined TPC and TOF Nsigma separation for Lc-baryon prong0 with proton mass hypothesis
@@ -82,6 +85,9 @@ DECLARE_SOA_COLUMN(NSigTpcTofKaLcProng1, nSigTpcTofKaLcProng1, float);
8285
DECLARE_SOA_COLUMN(NSigTpcPiLcProng2, nSigTpcPiLcProng2, float); //! TPC Nsigma separation for Lc-baryon prong2 with pion mass hypothesis
8386
DECLARE_SOA_COLUMN(NSigTofPiLcProng2, nSigTofPiLcProng2, float); //! TOF Nsigma separation for Lc-baryon prong2 with pion mass hypothesis
8487
DECLARE_SOA_COLUMN(NSigTpcTofPiLcProng2, nSigTpcTofPiLcProng2, float); //! Combined TPC and TOF Nsigma separation for Lc-baryon prong0 with pion mass hypothesis
88+
DECLARE_SOA_COLUMN(NSigTpcPrLcProng2, nSigTpcPrLcProng2, float); //! TPC Nsigma separation for Lc-baryon prong2 with proton mass hypothesis
89+
DECLARE_SOA_COLUMN(NSigTofPrLcProng2, nSigTofPrLcProng2, float); //! TOF Nsigma separation for Lc-baryon prong2 with proton mass hypothesis
90+
DECLARE_SOA_COLUMN(NSigTpcTofPrLcProng2, nSigTpcTofPrLcProng2, float); //! Combined TPC and TOF Nsigma separation for Lc-baryon prong2 with proton mass hypothesis
8591
DECLARE_SOA_COLUMN(DecayLength, decayLength, float); //! Decay length of candidate (cm)
8692
DECLARE_SOA_COLUMN(DecayLengthXY, decayLengthXY, float); //! Transverse decay length of candidate (cm)
8793
DECLARE_SOA_COLUMN(DecayLengthNormalised, decayLengthNormalised, float); //! Normalised decay length of candidate
@@ -127,6 +133,9 @@ DECLARE_SOA_TABLE(HfRedCandLbLites, "AOD", "HFREDCANDLBLITE", //! Table with som
127133
hf_cand_lb_lite::ItsNClsLcProngMin,
128134
hf_cand_lb_lite::TpcNClsCrossedRowsLcProngMin,
129135
hf_cand_lb_lite::TpcChi2NClLcProngMax,
136+
hf_cand_lb_lite::NSigTpcPiLcProng0,
137+
hf_cand_lb_lite::NSigTofPiLcProng0,
138+
hf_cand_lb_lite::NSigTpcTofPiLcProng0,
130139
hf_cand_lb_lite::NSigTpcPrLcProng0,
131140
hf_cand_lb_lite::NSigTofPrLcProng0,
132141
hf_cand_lb_lite::NSigTpcTofPrLcProng0,
@@ -136,6 +145,9 @@ DECLARE_SOA_TABLE(HfRedCandLbLites, "AOD", "HFREDCANDLBLITE", //! Table with som
136145
hf_cand_lb_lite::NSigTpcPiLcProng2,
137146
hf_cand_lb_lite::NSigTofPiLcProng2,
138147
hf_cand_lb_lite::NSigTpcTofPiLcProng2,
148+
hf_cand_lb_lite::NSigTpcPrLcProng2,
149+
hf_cand_lb_lite::NSigTofPrLcProng2,
150+
hf_cand_lb_lite::NSigTpcTofPrLcProng2,
139151
hf_cand_lb_reduced::Prong0MlScoreBkg,
140152
hf_cand_lb_reduced::Prong0MlScorePrompt,
141153
hf_cand_lb_reduced::Prong0MlScoreNonprompt,
@@ -587,6 +599,9 @@ struct HfTaskLbReduced {
587599
candLc.itsNClsProngMin(),
588600
candLc.tpcNClsCrossedRowsProngMin(),
589601
candLc.tpcChi2NClProngMax(),
602+
candLc.tpcNSigmaPiProng0(),
603+
candLc.tofNSigmaPiProng0(),
604+
candLc.tpcTofNSigmaPiProng0(),
590605
candLc.tpcNSigmaPrProng0(),
591606
candLc.tofNSigmaPrProng0(),
592607
candLc.tpcTofNSigmaPrProng0(),
@@ -596,6 +611,9 @@ struct HfTaskLbReduced {
596611
candLc.tpcNSigmaPiProng2(),
597612
candLc.tofNSigmaPiProng2(),
598613
candLc.tpcTofNSigmaPiProng2(),
614+
candLc.tpcNSigmaPrProng2(),
615+
candLc.tofNSigmaPrProng2(),
616+
candLc.tpcTofNSigmaPrProng2(),
599617
prong0MlScoreBkg,
600618
prong0MlScorePrompt,
601619
prong0MlScoreNonprompt,

0 commit comments

Comments
 (0)