@@ -180,9 +180,9 @@ struct kstarInOO {
180180
181181 if (cfgMcHistos) {
182182 // histos.add("hPion_PID_Purity", "hPion_PID_Purity", kTH1F, {{3, -1.5, 1.5}});
183- // histos.add("hKaon_PID_Purity", "hKaon_PID_Purity", kTH1F, {{3, -1.5, 1.5}});
184- // histos.add("hSimplePion_PID_Purity", "hSimplePion_PID_Purity", kTH1F, {{3, -1.5, 1.5}});
185- // histos.add("hSimpleKaon_PID_Purity", "hSimpleKaon_PID_Purity", kTH1F, {{3, -1.5, 1.5}});
183+ // histos.add("hKaon_PID_Purity", "hKaon_PID_Purity", kTH1F, {{3, -1.5, 1.5}});
184+ // histos.add("hSimplePion_PID_Purity", "hSimplePion_PID_Purity", kTH1F, {{3, -1.5, 1.5}});
185+ // histos.add("hSimpleKaon_PID_Purity", "hSimpleKaon_PID_Purity", kTH1F, {{3, -1.5, 1.5}});
186186
187187 histos.add (" nEvents_MC" , " nEvents_MC" , kTH1F , {{4 , 0.0 , 4.0 }});
188188 histos.add (" nEvents_MC_True" , " nEvents_MC_True" , kTH1F , {{4 , 0.0 , 4.0 }});
@@ -191,11 +191,8 @@ struct kstarInOO {
191191
192192 histos.add (" hMC_USS_True" , " hMC_USS_True" , kTHnSparseF , {cfgCentAxis, ptAxis, minvAxis});
193193 histos.add (" hMC_USS_KPi" , " hMC_USS_KPi" , kTHnSparseF , {cfgCentAxis, ptAxis, minvAxis});
194- histos.add (" hMC_USS_PiK" , " hMC_USS_PiK" , kTHnSparseF , {cfgCentAxis, ptAxis, minvAxis});
195194 histos.add (" hMC_LSS_KPi" , " hMC_LSS_KPi" , kTHnSparseF , {cfgCentAxis, ptAxis, minvAxis});
196- histos.add (" hMC_LSS_PiK" , " hMC_LSS_PiK" , kTHnSparseF , {cfgCentAxis, ptAxis, minvAxis});
197195 histos.add (" hMC_USS_KPi_Mix" , " hMC_USS_KPi_Mix" , kTHnSparseF , {cfgCentAxis, ptAxis, minvAxis});
198- histos.add (" hMC_USS_PiK_Mix" , " hMC_USS_PiK_Mix" , kTHnSparseF , {cfgCentAxis, ptAxis, minvAxis});
199196 histos.add (" hMC_USS_KPi_True" , " hMC_USS_KPi_True" , kTHnSparseF , {cfgCentAxis, ptAxis, minvAxis});
200197 histos.add (" hMC_USS_PiK_True" , " hMC_USS_PiK_True" , kTHnSparseF , {cfgCentAxis, ptAxis, minvAxis});
201198 }
@@ -282,12 +279,12 @@ struct kstarInOO {
282279 return false ;
283280 if (cfgTrackGlobalWoDCATrack && !track.isGlobalTrackWoDCA ())
284281 return false ;
285- // if (cfgTracknFindableTPCClusters > 0 && track.tpcNClsFindable() < cfgTracknFindableTPCClusters)
282+ // if (cfgTracknFindableTPCClusters > 0 && track.tpcNClsFindable() < cfgTracknFindableTPCClusters)
286283 if (track.tpcNClsFindable () < cfgTracknFindableTPCClusters)
287284 return false ;
288285 if (track.tpcNClsCrossedRows () < cfgTracknTPCCrossedRows)
289286 return false ;
290- // if (cfgTracknRowsOverFindable > 0 && track.tpcCrossedRowsOverFindableCls() > cfgTracknRowsOverFindable)
287+ // if (cfgTracknRowsOverFindable > 0 && track.tpcCrossedRowsOverFindableCls() > cfgTracknRowsOverFindable)
291288 if (track.tpcCrossedRowsOverFindableCls () > cfgTracknRowsOverFindable)
292289 return false ;
293290 if (track.tpcChi2NCl () > cfgTracknTPCChi2)
@@ -549,10 +546,11 @@ struct kstarInOO {
549546
550547 if (trk1.index () >= trk2.index ())
551548 return {-1.0 , -1.0 };
552-
549+
553550 // if (trk1.globalIndex() == trk2.globalIndex())
554551 // return {-1.0, -1.0};
555552
553+
556554 TLorentzVector lDecayDaughter1, lDecayDaughter2, lResonance;
557555 if (!flip) {
558556 lDecayDaughter1.SetXYZM (trk1.px (), trk1.py (), trk1.pz (), massKa);
0 commit comments