@@ -434,6 +434,7 @@ struct HfCorrelatorLcScHadrons {
434434 ConfigurableAxis binsPoolBin{" binsPoolBin" , {9 , 0 ., 9 .}, " PoolBin" };
435435 ConfigurableAxis binsMultFT0M{" binsMultFT0M" , {600 , 0 ., 6000 .}, " Multiplicity as FT0M signal amplitude" };
436436 ConfigurableAxis binsCandMass{" binsCandMass" , {200 , 1.98 , 2.58 }, " inv. mass (p K #pi) (GeV/#it{c}^{2})" };
437+ ConfigurableAxis binsNSigmas{" binsNSigmas" , {4000 , -500 ., 500 .}, " n#sigma" };
437438
438439 BinningType corrBinning{{binsZVtx, binsMultiplicity}, true };
439440
@@ -452,6 +453,7 @@ struct HfCorrelatorLcScHadrons {
452453 AxisSpec const axisBdtScore = {binsBdtScore, " Bdt score" };
453454 AxisSpec const axisPoolBin = {binsPoolBin, " PoolBin" };
454455 AxisSpec const axisRapidity = {100 , -2 , 2 , " Rapidity" };
456+ AxisSpec const axisNSigma = {binsNSigmas, " n#sigma" };
455457 AxisSpec axisSign = {5 , -2.5 , 2.5 , " Sign" };
456458 AxisSpec axisPtV0 = {500 , 0 ., 50.0 , " #it{p}_{T} (GeV/#it{c})" };
457459 AxisSpec axisMassV0 = {300 , 1 .05f , 1 .2f , " inv. mass (p #pi) (GeV/#it{c}^{2})" };
@@ -512,6 +514,10 @@ struct HfCorrelatorLcScHadrons {
512514 registry.add (" hEtaMcGen" , " Lc,Hadron particles - MC Gen" , {HistType::kTH1F , {axisEta}});
513515 registry.add (" hPhiMcGen" , " Lc,Hadron particles - MC Gen" , {HistType::kTH1F , {axisPhi}});
514516 registry.add (" hMultFT0AMcGen" , " Lc,Hadron multiplicity FT0A - MC Gen" , {HistType::kTH1F , {axisMultiplicity}});
517+ registry.add (" hTOFnSigmaPr" , " hTOFnSigmaPr" , {HistType::kTH2F , {{axisPtHadron}, {axisNSigma}}});
518+ registry.add (" hTPCnSigmaPr" , " hTPCnSigmaPr" , {HistType::kTH2F , {{axisPtHadron}, {axisNSigma}}});
519+ registry.add (" hTOFnSigmaPrPiKRej" , " hTOFnSigmaPrPiKRej" , {HistType::kTH2F , {{axisPtHadron}, {axisNSigma}}});
520+ registry.add (" hTPCnSigmaPrPiKRej" , " hTPCnSigmaPrPiKRej" , {HistType::kTH2F , {{axisPtHadron}, {axisNSigma}}});
515521
516522 // Lambda V0 histograms
517523 registry.add (" hEventLambdaV0" , " Lambda, events" , {HistType::kTH1F , {{2 , 0 , 2 }}});
@@ -562,7 +568,7 @@ struct HfCorrelatorLcScHadrons {
562568 if (std::abs (pid) == kProton && std::abs (track.tpcNSigmaPr ()) > cfgV0.cfgDaughPIDCutsTPCPr ) {
563569 return false ;
564570 }
565- if (std::abs (pid) == kPiPlus && std::abs (track.tpcNSigmaPi ()) > cfgV0.cfgDaughPIDCutsTPCPi && std::abs (track.tofNSigmaPi ()) > cfgV0.cfgDaughPIDCutsTOFPi ) {
571+ if (std::abs (pid) == kPiPlus && ( std::abs (track.tpcNSigmaPi ()) > cfgV0.cfgDaughPIDCutsTPCPi || std::abs (track.tofNSigmaPi ()) > cfgV0.cfgDaughPIDCutsTOFPi ) ) {
566572 return false ;
567573 }
568574 if (std::abs (track.eta ()) > etaTrackMax) {
@@ -596,20 +602,39 @@ struct HfCorrelatorLcScHadrons {
596602 registry.fill (HIST (" hV0Lambda" ), v0.mLambda (), v0.pt (), posTrackV0.pt ());
597603 registry.fill (HIST (" hV0LambdaRefl" ), v0.mAntiLambda (), v0.pt (), negTrackV0.pt ());
598604
605+ registry.fill (HIST (" hTPCnSigmaPr" ), posTrackV0.pt (), posTrackV0.tpcNSigmaPr ());
606+ if (posTrackV0.hasTOF ()) {
607+ registry.fill (HIST (" hTOFnSigmaPr" ), posTrackV0.pt (), posTrackV0.tofNSigmaPr ());
608+ }
609+
599610 if (passPIDSelection (posTrackV0, trkPIDspecies, pidTPCMax, pidTOFMax, tofPIDThreshold, forceTOF)) {
600611 registry.fill (HIST (" hV0LambdaPiKRej" ), v0.mLambda (), v0.pt (), posTrackV0.pt ());
601612 registry.fill (HIST (" hV0LambdaReflPiKRej" ), v0.mAntiLambda (), v0.pt (), negTrackV0.pt ());
613+
614+ registry.fill (HIST (" hTPCnSigmaPrPiKRej" ), posTrackV0.pt (), posTrackV0.tpcNSigmaPr ());
615+ if (posTrackV0.hasTOF ()) {
616+ registry.fill (HIST (" hTOFnSigmaPrPiKRej" ), posTrackV0.pt (), posTrackV0.tofNSigmaPr ());
617+ }
602618 }
603619 }
604620 }
605621 if (isSelectedV0Daughter (negTrackV0, kProton ) && isSelectedV0Daughter (posTrackV0, kPiPlus )) {
606- if (std::abs (o2::constants::physics::MassLambda - v0.mAntiLambda ()) > cfgV0.cfgHypMassWindow ) {
622+ if (std::abs (o2::constants::physics::MassLambda - v0.mAntiLambda ()) < cfgV0.cfgHypMassWindow ) {
607623 registry.fill (HIST (" hV0Lambda" ), v0.mAntiLambda (), v0.pt (), negTrackV0.pt ());
608624 registry.fill (HIST (" hV0LambdaRefl" ), v0.mLambda (), v0.pt (), posTrackV0.pt ());
609625
626+ registry.fill (HIST (" hTPCnSigmaPr" ), negTrackV0.pt (), negTrackV0.tpcNSigmaPr ());
627+ if (negTrackV0.hasTOF ()) {
628+ registry.fill (HIST (" hTOFnSigmaPr" ), negTrackV0.pt (), negTrackV0.tofNSigmaPr ());
629+ }
610630 if (passPIDSelection (negTrackV0, trkPIDspecies, pidTPCMax, pidTOFMax, tofPIDThreshold, forceTOF)) {
611631 registry.fill (HIST (" hV0LambdaPiKRej" ), v0.mAntiLambda (), v0.pt (), negTrackV0.pt ());
612632 registry.fill (HIST (" hV0LambdaReflPiKRej" ), v0.mLambda (), v0.pt (), posTrackV0.pt ());
633+
634+ registry.fill (HIST (" hTPCnSigmaPrPiKRej" ), negTrackV0.pt (), negTrackV0.tpcNSigmaPr ());
635+ if (negTrackV0.hasTOF ()) {
636+ registry.fill (HIST (" hTOFnSigmaPrPiKRej" ), negTrackV0.pt (), negTrackV0.tofNSigmaPr ());
637+ }
613638 }
614639 }
615640 }
0 commit comments