@@ -54,8 +54,6 @@ struct he3FromHypertritonMap {
5454 true ,
5555 true };
5656
57- Configurable<int > particle_of_interest{" particle_of_interest" , 0 , " 0=antihelium3, 1=antihypertriton" };
58-
5957 // Track Parameters
6058 Configurable<int > min_ITS_nClusters{" min_ITS_nClusters" , 7 , " minimum number of found ITS clusters" };
6159 Configurable<int > min_TPC_nClusters{" min_TPC_nClusters" , 100 , " minimum number of found TPC clusters" };
@@ -71,14 +69,18 @@ struct he3FromHypertritonMap {
7169 Configurable<float > min_pt{" min_pt" , 0 .0f , " minimum pt of the tracks" };
7270 Configurable<float > max_pt{" max_pt" , 10 .0f , " maximum pt of the tracks" };
7371 Configurable<int > nbin_pt{" nbin_pt" , 50 , " number of pt bins" };
72+ Configurable<int > nbin_dca = {" nbin_dca" , 50 , " number of DCA bins" };
7473
7574 int AntihePDG = -1000020030 ;
7675 int AntiHypertritonPDG = -1010010030 ;
76+ int AntiHyperHelium4PDG = -1010020040 ;
7777
7878 void init (InitContext const &)
7979 {
80- registryMC.add (" he3SecPtRec" , " he3SecPtRec" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
80+ registryMC.add (" he3SecPtRec_from_hypertriton" , " he3SecPtRec_from_hypertriton" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
81+ registryMC.add (" he3SecPtRec_from_hyperHe4" , " he3SecPtRec_from_hyperHe4" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
8182 registryMC.add (" hypertritonPtgen" , " hypertritonPtGen" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
83+ registryMC.add (" hyperHe4Ptgen" , " hyperHe4PtGen" , HistType::kTH1F , {{nbin_pt, min_pt, max_pt, " p_{T} (GeV/c)" }});
8284 }
8385
8486 void processMC (aod::McParticles const & mcParticles, const MCTracks& tracks)
@@ -93,7 +95,7 @@ struct he3FromHypertritonMap {
9395 }
9496
9597 for (auto & motherparticle : mcparticle.mothers_as <aod::McParticles>()) {
96- if (motherparticle.pdgCode () == AntiHypertritonPDG) {
98+ if (motherparticle.pdgCode () == AntiHypertritonPDG || motherparticle. pdgCode () == AntiHyperHelium4PDG ) {
9799 if (track.itsNCls () < min_ITS_nClusters ||
98100 track.tpcNClsFound () < min_TPC_nClusters ||
99101 track.tpcNClsCrossedRows () < min_TPC_nCrossedRows ||
@@ -106,8 +108,14 @@ struct he3FromHypertritonMap {
106108 track.itsChi2NCl () > 36 .f ) {
107109 continue ;
108110 }
109- registryMC.fill (HIST (" he3SecPtRec" ), track.pt ());
110- registryMC.fill (HIST (" hypertritonPtgen" ), motherparticle.pt ());
111+ if (motherparticle.pdgCode () == AntiHypertritonPDG) {
112+ registryMC.fill (HIST (" he3SecPtRec_from_hypertriton" ), 2 * track.pt ());
113+ registryMC.fill (HIST (" hypertritonPtgen" ), motherparticle.pt ());
114+ }
115+ if (motherparticle.pdgCode () == AntiHyperHelium4PDG) {
116+ registryMC.fill (HIST (" he3SecPtRec_from_hyperHe4" ), 2 * track.pt ());
117+ registryMC.fill (HIST (" hyperHe4Ptgen" ), motherparticle.pt ());
118+ }
111119 }
112120 }
113121 }
0 commit comments