@@ -56,6 +56,8 @@ struct nucleiFromHypertritonMap {
5656
5757 // Track Parameters
5858 Configurable<int > min_ITS_nClusters{" min_ITS_nClusters" , 7 , " minimum number of found ITS clusters" };
59+ Configurable<int > min_ITS_InnerBarrel_nClusters{" min_ITS_InnerBarrel_nClusters" , 1 , " minimum number of found ITS Inner Barrel clusters" };
60+ Configurable<int > max_ITS_InnerBarrel_nClusters{" max_ITS_InnerBarrel_nClusters" , 3 , " maximum number of found ITS Inner Barrel clusters" };
5961 Configurable<int > min_TPC_nClusters{" min_TPC_nClusters" , 100 , " minimum number of found TPC clusters" };
6062 Configurable<int > min_TPC_nCrossedRows{" min_TPC_nCrossedRows" , 70 , " minimum number of TPC crossed pad rows" };
6163 Configurable<float > max_chi2_TPC{" max_chi2_TPC" , 4 .0f , " maximum TPC chi^2/Ncls" };
@@ -82,12 +84,15 @@ struct nucleiFromHypertritonMap {
8284 registryMC.add (" hypertritonPtGen" , " hypertritonPtGen" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
8385 if (saveHelium) {
8486 registryMC.add (" he3SecPtRec_from_hypertriton" , " he3SecPtRec_from_hypertriton" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
87+ registryMC.add (" he3SecPtGen_from_hypertriton" , " he3SecPtGen_from_hypertriton" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
8588 registryMC.add (" hyperHe4PtGen" , " hyperHe4PtGen" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
8689 registryMC.add (" he3SecPtRec_from_hyperHe4" , " he3SecPtRec_from_hyperHe4" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
90+ registryMC.add (" he3SecPtGen_from_hyperHe4" , " he3SecPtGen_from_hyperHe4" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
8791 registryMC.add (" he3PtRec" , " he3PtRec" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
8892 registryMC.add (" he3PtGen" , " he3PtGen" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
8993 } else {
9094 registryMC.add (" deutSecPtRec_from_hypertriton" , " deutSecPtRec_from_hypertriton" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
95+ registryMC.add (" deutSecPtGen_from_hypertriton" , " deutSecPtGen_from_hypertriton" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
9196 registryMC.add (" deutPtRec" , " deutPtRec" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
9297 registryMC.add (" deutPtGen" , " deutPtGen" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
9398 }
@@ -108,13 +113,21 @@ struct nucleiFromHypertritonMap {
108113 for (auto & daughter : mcparticle.daughters_as <aod::McParticles>()) {
109114 if (daughter.pdgCode () == selectedPDG) {
110115 registryMC.fill (HIST (" hypertritonPtGen" ), mcparticle.pt ());
116+ if (saveHelium) {
117+ registryMC.fill (HIST (" he3SecPtGen_from_hypertriton" ), daughter.pt ());
118+ } else {
119+ registryMC.fill (HIST (" deutSecPtGen_from_hypertriton" ), daughter.pt ());
120+ }
111121 }
112122 }
113123 }
114124 if (mcparticle.pdgCode () == AntiHyperHelium4PDG) {
115125 for (auto & daughter : mcparticle.daughters_as <aod::McParticles>()) {
116126 if (daughter.pdgCode () == selectedPDG) {
117127 registryMC.fill (HIST (" hyperHe4PtGen" ), mcparticle.pt ());
128+ if (saveHelium) {
129+ registryMC.fill (HIST (" he3SecPtGen_from_hyperHe4" ), daughter.pt ());
130+ }
118131 }
119132 }
120133 }
@@ -137,6 +150,8 @@ struct nucleiFromHypertritonMap {
137150 }
138151
139152 if (track.itsNCls () < min_ITS_nClusters ||
153+ track.itsNClsInnerBarrel () < min_ITS_InnerBarrel_nClusters ||
154+ track.itsNClsInnerBarrel () > max_ITS_InnerBarrel_nClusters ||
140155 track.tpcNClsFound () < min_TPC_nClusters ||
141156 track.tpcNClsCrossedRows () < min_TPC_nCrossedRows ||
142157 track.tpcNClsCrossedRows () < 0.8 * track.tpcNClsFindable () ||
0 commit comments