Skip to content

Commit 2789d31

Browse files
Add TPC cluster count for deuteron prong
1 parent 915acae commit 2789d31

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎PWGHF/D2H/Tasks/taskCd.cxx‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ DECLARE_SOA_COLUMN(NSigmaTofPi, nSigmaTofPi, float); //! TOF nσ
109109
DECLARE_SOA_COLUMN(NItsClusters, nItsClusters, float); //! Number of ITS clusters used in the track fit
110110
DECLARE_SOA_COLUMN(NItsNClusterSize, nItsNClusterSize, float); //! Number of ITS clusters size used in the track fit
111111
DECLARE_SOA_COLUMN(NTpcClusters, nTpcClusters, float); //! Number of TPC clusters used in the track fit
112+
DECLARE_SOA_COLUMN(TpcNClsFoundDe, tpcNClsFoundDe, uint16_t); //! Number of found TPC clusters for the selected deuteron prong
112113
DECLARE_SOA_COLUMN(NTpcSignalsDe, nTpcSignalsDe, float); //! Number of TPC signas for deuteron
113114
DECLARE_SOA_COLUMN(NTpcSignalsPi, nTpcSignalsPi, float); //! Number of TPC signas for pion
114115
DECLARE_SOA_COLUMN(NTpcSignalsKa, nTpcSignalsKa, float); //! Number of TPC signas for kaon
@@ -210,7 +211,8 @@ DECLARE_SOA_TABLE(HfCandCdFull, "AOD", "HFCANDCDFULL",
210211
full::Cent,
211212
full::VtxZ,
212213
full::GIndexCol,
213-
full::TimeStamp);
214+
full::TimeStamp,
215+
full::TpcNClsFoundDe);
214216

215217
DECLARE_SOA_TABLE(HfCandCdGen, "AOD", "HFCANDCDGEN",
216218
full::Pt,
@@ -624,7 +626,7 @@ struct HfTaskCd {
624626
candidate.ct(o2::constants::physics::MassCDeuteron) * CmToMum,
625627
candFlag, candSign, candidate.flagMcMatchRec(), isCandidateSwapped, hypothesisMask, candidateGlobalIndex, candidate.originMcRec(),
626628
candidate.flagMcDecayChanRec(), ctGen, collision.numContrib(), o2::hf_centrality::getCentralityColl(collision),
627-
collision.posZ(), collision.globalIndex(), timeStamp);
629+
collision.posZ(), collision.globalIndex(), timeStamp, deuteronProng.tpcNClsFound());
628630
}
629631
};
630632

@@ -905,7 +907,7 @@ struct HfTaskCd {
905907
nSigmaTpcPi, nSigmaTofPi, nSigmaTpcKa, nSigmaTofKa,
906908
candidate.ct(o2::constants::physics::MassCDeuteron),
907909
candFlag, candSign, 0, -1, hypothesisMask, candidateGlobalIndex, 0, 0, -1.f, collision.numContrib(), cent,
908-
collision.posZ(), collision.globalIndex(), timeStamp);
910+
collision.posZ(), collision.globalIndex(), timeStamp, deuteronProng.tpcNClsFound());
909911
}
910912
};
911913

0 commit comments

Comments
 (0)