@@ -196,6 +196,7 @@ struct HfTaskCharmHadronsFemtoDream {
196196 SliceCache cache;
197197 Preslice<aod::FDParticles> perCol = aod::femtodreamparticle::fdCollisionId;
198198 Produces<o2::aod::FDResultsHF> fillFemtoResult;
199+ Produces<o2::aod::FDResultsHFTrkInfo> fillFemtoResultTrkInfo;
199200
200201 void init (InitContext& /* context*/ )
201202 {
@@ -242,6 +243,17 @@ struct HfTaskCharmHadronsFemtoDream {
242243 registryMixQa.fill (HIST (" MixingQA/hSECollisionPool" ), col.posZ (), col.multNtr ());
243244 }
244245
246+ template <typename Part1>
247+ void fillTableTrkInfo (Part1 const & p1)
248+ {
249+ fillFemtoResultTrkInfo (
250+ p1.tpcNClsFound (),
251+ p1.tpcNClsFindable (),
252+ p1.tpcNClsCrossedRows (),
253+ p1.tpcNSigmaPr (),
254+ p1.tofNSigmaPr ());
255+ }
256+
245257 // / This function processes the same event and takes care of all the histogramming
246258 template <bool isMc, typename PartitionType, typename CandType, typename TableTracks, typename Collision>
247259 void doSameEvent (PartitionType& sliceTrk1, CandType& sliceCharmHad, TableTracks const & parts, Collision const & col)
@@ -331,6 +343,7 @@ struct HfTaskCharmHadronsFemtoDream {
331343 processType,
332344 charmHadMc,
333345 originType);
346+ fillTableTrkInfo (p1);
334347
335348 sameEventCont.setPair <isMc, true >(p1, p2, col.multNtr (), col.multV0M (), use4D, extendedPlots, smearingByOrigin);
336349 }
@@ -427,6 +440,7 @@ struct HfTaskCharmHadronsFemtoDream {
427440 processType,
428441 charmHadMc,
429442 originType);
443+ fillTableTrkInfo (p1);
430444
431445 // if constexpr (!isMc) mixedEventCont.setPair<isMc, true>(p1, p2, collision1.multNtr(), collision1.multV0M(), use4D, extendedPlots, smearingByOrigin);
432446 mixedEventCont.setPair <isMc, true >(p1, p2, collision1.multNtr (), collision1.multV0M (), use4D, extendedPlots, smearingByOrigin);
0 commit comments