@@ -75,6 +75,7 @@ DECLARE_SOA_COLUMN(DecayLength, decayLength, float); //! Decay length
7575DECLARE_SOA_COLUMN (DecayLengthXY, decayLengthXY, float ); // ! Decay length in transverse plane (cm)
7676DECLARE_SOA_COLUMN (Cpa, cpa, float ); // ! Cosine of pointing angle (3D)
7777DECLARE_SOA_COLUMN (CpaXY, cpaXY, float ); // ! Cosine of pointing angle in XY plane
78+ DECLARE_SOA_COLUMN (Chi2PCA, chi2PCA, float ); // ! chi2PCA
7879DECLARE_SOA_COLUMN (NSigmaTpcDe, nSigmaTpcDe, float ); // ! TPC nσ for deuteron hypothesis
7980DECLARE_SOA_COLUMN (NSigmaTpcKa, nSigmaTpcKa, float ); // ! TPC nσ for kaon hypothesis
8081DECLARE_SOA_COLUMN (NSigmaTpcPi, nSigmaTpcPi, float ); // ! TPC nσ for pion hypothesis
@@ -85,7 +86,9 @@ DECLARE_SOA_COLUMN(NSigmaTofPi, nSigmaTofPi, float); //! TOF nσ for
8586DECLARE_SOA_COLUMN (NItsClusters, nItsClusters, int8_t ); // ! Number of ITS clusters used in the track fit
8687DECLARE_SOA_COLUMN (NItsNClusterSize, nItsNClusterSize, int8_t ); // ! Number of ITS clusters size used in the track fit
8788DECLARE_SOA_COLUMN (NTpcClusters, nTpcClusters, int8_t ); // ! Number of TPC clusters used in the track fit
88- DECLARE_SOA_COLUMN (NTpcSignalsDe, nTpcSignalsDe, int8_t ); // ! Number of TPC signas
89+ DECLARE_SOA_COLUMN (NTpcSignalsDe, nTpcSignalsDe, int8_t ); // ! Number of TPC signas for deuteron
90+ DECLARE_SOA_COLUMN (NTpcSignalsPi, nTpcSignalsPi, int8_t ); // ! Number of TPC signas for pion
91+ DECLARE_SOA_COLUMN (NTpcSignalsKa, nTpcSignalsKa, int8_t ); // ! Number of TPC signas for kaon
8992DECLARE_SOA_COLUMN (NItsSignalsDe, nItsSignalsDe, int8_t ); // ! Number of ITS signas
9093DECLARE_SOA_COLUMN (CandidateSelFlag, candidateSelFlag, int8_t ); // ! Candidates falg
9194DECLARE_SOA_COLUMN (Cent, cent, float ); // ! Centrality
@@ -105,13 +108,16 @@ DECLARE_SOA_TABLE(HfCandCd, "AOD", "HFCANDCD",
105108 full::ImpactParameter2,
106109 full::DecayLength,
107110 full::Cpa,
111+ full::Chi2PCA,
108112 full::NSigmaTpcDe,
109113 full::NSigmaItsDe,
110114 full::NSigmaTofDe,
111115 full::NItsClusters,
112116 full::NItsNClusterSize,
113117 full::NTpcClusters,
114118 full::NTpcSignalsDe,
119+ full::NTpcSignalsPi,
120+ full::NTpcSignalsKa,
115121 full::NItsSignalsDe,
116122 full::CandidateSelFlag,
117123 full::Cent,
@@ -214,6 +220,8 @@ struct HfTaskCd {
214220 registry.add (" Data/hNsigmaTOFDeVsP" , " deuteron;#it{p} (GeV/#it{c}); n#sigma^{TOF}_{d}" , {HistType::kTH2F , {{200 , -10 .f , 10 .f }, {200 , -6 .f , 6 .f }}});
215221 registry.add (" Data/hNsigmaITSDeVsP" , " deuteron;#it{p} (GeV/#it{c}); n#sigma^{ITS}_{d}" , {HistType::kTH2F , {{200 , -10 .f , 10 .f }, {200 , -6 .f , 6 .f }}});
216222 registry.add (" Data/hTPCSignalDeVsP" , " deuteron;#it{p} (GeV/#it{c}); TPC signals" , {HistType::kTH2F , {{200 , -10 .f , 10 .f }, {2000 , 0 , 2000 }}});
223+ registry.add (" Data/hTPCSignalPiVsP" , " Pion;#it{p} (GeV/#it{c}); TPC signals" , {HistType::kTH2F , {{200 , -10 .f , 10 .f }, {2000 , 0 , 2000 }}});
224+ registry.add (" Data/hTPCSignalKaVsP" , " Kaon;#it{p} (GeV/#it{c}); TPC signals" , {HistType::kTH2F , {{200 , -10 .f , 10 .f }, {2000 , 0 , 2000 }}});
217225 registry.add (" Data/hITSSignalDeVsP" , " deuteron;#it{p} (GeV/#it{c}); ITS signals" , {HistType::kTH2F , {{200 , -10 .f , 10 .f }, {20 , 0 , 20 }}});
218226 registry.add (" Data/hNsigmaTPCPiVsP" , " Pion;#it{p} (GeV/#it{c});n#sigma^{TPC}_{pi};" , {HistType::kTH2F , {{200 , -10 .f , 10 .f }, {200 , -6 .f , 6 .f }}});
219227 registry.add (" Data/hNsigmaTOFPiVsP" , " Pion;#it{p} (GeV/#it{c});n#sigma^{TOF}_{pi};" , {HistType::kTH2F , {{200 , -10 .f , 10 .f }, {200 , -6 .f , 6 .f }}});
@@ -353,6 +361,9 @@ struct HfTaskCd {
353361 int tpcNClusterDe = 0 ;
354362
355363 float tpcSignalsDe = 0 .f ;
364+ float tpcSignalsPi = 0 .f ;
365+ float tpcSignalsKa = 0 .f ;
366+
356367 float itsSignalsDe = 0 .f ;
357368
358369 float pSignedDe = -999 .f ;
@@ -371,6 +382,8 @@ struct HfTaskCd {
371382 auto prong0Its = tracksWithItsPid.iteratorAt (candidate.prong0Id () - tracksWithItsPid.offset ());
372383 auto prong2Its = tracksWithItsPid.iteratorAt (candidate.prong2Id () - tracksWithItsPid.offset ());
373384
385+ tpcSignalsKa = prong1.tpcSignal ();
386+
374387 if (selDeKPi) {
375388 candFlag = 1 ;
376389 pSignedDe = prong0.p () * prong0.sign ();
@@ -384,6 +397,7 @@ struct HfTaskCd {
384397 itsNClusterSizeDe = prong0.itsClusterSizes ();
385398 tpcNClusterDe = prong0.tpcNClsCrossedRows ();
386399 tpcSignalsDe = prong0.tpcSignal ();
400+ tpcSignalsPi = prong2.tpcSignal ();
387401 itsSignalsDe = itsSignal (prong0);
388402 } else if (selPiKDe) {
389403 candFlag = -1 ;
@@ -398,6 +412,7 @@ struct HfTaskCd {
398412 itsNClusterSizeDe = prong2.itsClusterSizes ();
399413 tpcNClusterDe = prong2.tpcNClsCrossedRows ();
400414 tpcSignalsDe = prong2.tpcSignal ();
415+ tpcSignalsPi = prong0.tpcSignal ();
401416 itsSignalsDe = itsSignal (prong2);
402417 }
403418
@@ -406,6 +421,8 @@ struct HfTaskCd {
406421 registry.fill (HIST (" Data/hNsigmaTOFDeVsP" ), pSignedDe, nSigmaTofDe);
407422 registry.fill (HIST (" Data/hNsigmaITSDeVsP" ), pSignedDe, nSigmaItsDe);
408423 registry.fill (HIST (" Data/hTPCSignalDeVsP" ), pSignedDe, tpcSignalsDe);
424+ registry.fill (HIST (" Data/hTPCSignalPiVsP" ), pSignedPi, tpcSignalsPi);
425+ registry.fill (HIST (" Data/hTPCSignalKaVsP" ), prong1.p () * prong1.sign (), tpcSignalsKa);
409426 registry.fill (HIST (" Data/hITSSignalDeVsP" ), pSignedDe, itsSignalsDe);
410427 registry.fill (HIST (" Data/hNsigmaTPCPiVsP" ), pSignedPi, nSigmaTpcPi);
411428 registry.fill (HIST (" Data/hNsigmaTOFPiVsP" ), pSignedPi, nSigmaTofPi);
@@ -423,13 +440,16 @@ struct HfTaskCd {
423440 candidate.impactParameter2 (),
424441 decayLength,
425442 cpa,
443+ chi2PCA,
426444 nSigmaTpcDe,
427445 nSigmaItsDe,
428446 nSigmaTofDe,
429447 itsNClusterDe,
430448 itsNClusterSizeDe,
431449 tpcNClusterDe,
432450 tpcSignalsDe,
451+ tpcSignalsPi,
452+ tpcSignalsKa,
433453 itsSignalsDe,
434454 candFlag,
435455 cent,
0 commit comments