Skip to content

Commit 927a52d

Browse files
authored
[PWGHF] Add CPA D meson to BpLite table (#9302)
1 parent 3ccc8ee commit 927a52d

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

PWGHF/D2H/Tasks/taskBplusReduced.cxx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ DECLARE_SOA_COLUMN(AbsEtaBach, absEtaBach, float);
4343
DECLARE_SOA_COLUMN(ItsNClsBach, itsNClsBach, int); //! Number of ITS clusters of bachelor pion
4444
DECLARE_SOA_COLUMN(TpcNClsCrossedRowsBach, tpcNClsCrossedRowsBach, int); //! Number of TPC crossed rows of prongs of bachelor pion
4545
DECLARE_SOA_COLUMN(TpcChi2NClBach, tpcChi2NClBach, float); //! Maximum TPC chi2 of prongs of D0-meson daughter candidate
46-
DECLARE_SOA_COLUMN(PtDmesProngMin, ptProngDmesMin, float); //! Minimum pT of prongs of D-meson daughter candidate (GeV/c)
47-
DECLARE_SOA_COLUMN(AbsEtaDmesProngMin, absEtaProngDmesMin, float); //! Minimum absolute pseudorapidity of prongs of D-meson daughter candidate
46+
DECLARE_SOA_COLUMN(PtDmesProngMin, ptDmesProngMin, float); //! Minimum pT of prongs of D-meson daughter candidate (GeV/c)
47+
DECLARE_SOA_COLUMN(AbsEtaDmesProngMin, absEtaDmesProngMin, float); //! Minimum absolute pseudorapidity of prongs of D-meson daughter candidate
4848
DECLARE_SOA_COLUMN(ItsNClsDmesProngMin, itsNClsDmesProngMin, int); //! Minimum number of ITS clusters of prongs of D-meson daughter candidate
4949
DECLARE_SOA_COLUMN(TpcNClsCrossedRowsDmesProngMin, tpcNClsCrossedRowsDmesProngMin, int); //! Minimum number of TPC crossed rows of prongs of D-meson daughter candidate
5050
DECLARE_SOA_COLUMN(TpcChi2NClDmesProngMax, tpcChi2NClDmesProngMax, float); //! Maximum TPC chi2 of prongs of D-meson daughter candidate
@@ -77,6 +77,8 @@ DECLARE_SOA_COLUMN(ImpactParameterBach, impactParameterBach, float);
7777
DECLARE_SOA_COLUMN(ImpactParameterProduct, impactParameterProduct, float); //! Impact parameter product of daughters
7878
DECLARE_SOA_COLUMN(Cpa, cpa, float); //! Cosine pointing angle of candidate
7979
DECLARE_SOA_COLUMN(CpaXY, cpaXY, float); //! Cosine pointing angle of candidate in transverse plane
80+
DECLARE_SOA_COLUMN(CpaD, cpaD, float); //! Cosine pointing angle of D-meson daughter candidate
81+
DECLARE_SOA_COLUMN(CpaXYD, cpaXYD, float); //! Cosine pointing angle in transverse plane of D-meson daughter candidate
8082
DECLARE_SOA_COLUMN(MaxNormalisedDeltaIP, maxNormalisedDeltaIP, float); //! Maximum normalized difference between measured and expected impact parameter of candidate prongs
8183
DECLARE_SOA_COLUMN(MlScoreSig, mlScoreSig, float); //! ML score for signal class
8284
DECLARE_SOA_COLUMN(FlagWrongCollision, flagWrongCollision, int8_t); //! Flag for association with wrong collision
@@ -105,6 +107,8 @@ DECLARE_SOA_TABLE(HfRedCandBpLites, "AOD", "HFREDCANDBPLITE", //! Table with som
105107
hf_cand_bplus_lite::DecayLengthD,
106108
hf_cand_bplus_lite::DecayLengthXYD,
107109
hf_cand_bplus_lite::ImpactParameterD,
110+
hf_cand_bplus_lite::CpaD,
111+
hf_cand_bplus_lite::CpaXYD,
108112
hf_cand_bplus_lite::PtDmesProngMin,
109113
hf_cand_bplus_lite::AbsEtaDmesProngMin,
110114
hf_cand_bplus_lite::ItsNClsDmesProngMin,
@@ -178,13 +182,13 @@ struct HfTaskBplusReduced {
178182

179183
HfHelper hfHelper;
180184

185+
using TracksPion = soa::Join<HfRedTracks, HfRedTracksPid>;
186+
using CandsD0 = soa::Join<HfRed2Prongs, HfRedPidDau0s, HfRedPidDau1s>;
187+
181188
Filter filterSelectCandidates = (aod::hf_sel_candidate_bplus::isSelBplusToD0Pi >= selectionFlagBplus);
182189

183190
HistogramRegistry registry{"registry"};
184191

185-
using TracksPion = soa::Join<HfRedTracks, HfRedTracksPid>;
186-
using CandsD0 = soa::Join<HfRed2Prongs, HfRedPidDau0s, HfRedPidDau1s>;
187-
188192
void init(InitContext&)
189193
{
190194
std::array<bool, 3> processFuncData{doprocessData, doprocessDataWithDmesMl, doprocessDataWithBplusMl};
@@ -594,6 +598,8 @@ struct HfTaskBplusReduced {
594598
decLenD0,
595599
decLenXyD0,
596600
candidate.impactParameter0(),
601+
cpaD0,
602+
cpaXyD0,
597603
candD0.ptProngMin(),
598604
candD0.absEtaProngMin(),
599605
candD0.itsNClsProngMin(),

0 commit comments

Comments
 (0)