Skip to content

Commit 5cb9ad7

Browse files
authored
Fix name
1 parent 1f4f304 commit 5cb9ad7

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

PWGHF/TableProducer/treeCreatorOmegacSt.cxx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,12 @@ struct HfTreeCreatorOmegacSt {
269269
Configurable<std::string> cfgTriggersOfInterest{"cfgTriggersOfInterest", "fTrackedOmega,fHfCharmBarToXiBach", "Triggers of interest, comma separated for Zorro"};
270270

271271
// TOF nsigma configurable cuts (defaults: very loose = 9999)
272-
Configurable<float> maxAbsTofnSigmaTrackPi{"maxAbsTofnSigmaTrackPi", 9999.f, "Max abs TOF nsigma for charm bachelor track as pion"};
273-
Configurable<float> maxAbsTofnSigmaTrackKa{"maxAbsTofnSigmaTrackKa", 9999.f, "Max abs TOF nsigma for charm bachelor track as kaon"};
274-
Configurable<float> maxAbsTofnSigmaV0Pr{"maxAbsTofnSigmaV0Pr", 9999.f, "Max abs TOF nsigma for V0 proton"};
275-
Configurable<float> maxAbsTofnSigmaV0Pi{"maxAbsTofnSigmaV0Pi", 9999.f, "Max abs TOF nsigma for V0 pion"};
276-
Configurable<float> maxAbsTofnSigmaBachelorPi{"maxAbsTofnSigmaBachelorPi", 9999.f, "Max abs TOF nsigma for cascade bachelor as pion"};
277-
Configurable<float> maxAbsTofnSigmaBachelorKa{"maxAbsTofnSigmaBachelorKa", 9999.f, "Max abs TOF nsigma for cascade bachelor as kaon"};
272+
Configurable<float> nSigmaAbsTofTrackPiMax{"nSigmaAbsTofTrackPiMax", 9999.f, "Max abs TOF nsigma for charm bachelor track as pion"};
273+
Configurable<float> nSigmaAbsTofTrackKaMax{"nSigmaAbsTofTrackKaMax", 9999.f, "Max abs TOF nsigma for charm bachelor track as kaon"};
274+
Configurable<float> nSigmaAbsTofV0PrMax{"nSigmaAbsTofV0PrMax", 9999.f, "Max abs TOF nsigma for V0 proton"};
275+
Configurable<float> nSigmaAbsTofV0PiMax{"nSigmaAbsTofV0PiMax", 9999.f, "Max abs TOF nsigma for V0 pion"};
276+
Configurable<float> nSigmaAbsTofBachelorPiMax{"nSigmaAbsTofBachelorPiMax", 9999.f, "Max abs TOF nsigma for cascade bachelor as pion"};
277+
Configurable<float> nSigmaAbsTofBachelorKaMax{"nSigmaAbsTofBachelorKaMax", 9999.f, "Max abs TOF nsigma for cascade bachelor as kaon"};
278278
// whether to require TOF in addition to TPC
279279
Configurable<bool> useTofPid{"useTofPid", false, "Require TOF PID together with TPC PID when true; otherwise use TPC only"};
280280

@@ -654,17 +654,17 @@ struct HfTreeCreatorOmegacSt {
654654
const bool tpcBachelor = (std::abs(bachelor.tpcNSigmaKa()) < maxNSigmaBachelor) || (std::abs(bachelor.tpcNSigmaPi()) < maxNSigmaBachelor);
655655
const float tofBachelorPiAbs = std::abs(bachelor.tofNSigmaPi());
656656
const float tofBachelorKaAbs = std::abs(bachelor.tofNSigmaKa());
657-
const bool tofBachelorPiPass = (tofBachelorPiAbs > TofWoSignalRange[0] && tofBachelorPiAbs < TofWoSignalRange[1]) || (tofBachelorPiAbs < maxAbsTofnSigmaBachelorPi);
658-
const bool tofBachelorKaPass = (tofBachelorKaAbs > TofWoSignalRange[0] && tofBachelorKaAbs < TofWoSignalRange[1]) || (tofBachelorKaAbs < maxAbsTofnSigmaBachelorKa);
657+
const bool tofBachelorPiPass = (tofBachelorPiAbs > TofWoSignalRange[0] && tofBachelorPiAbs < TofWoSignalRange[1]) || (tofBachelorPiAbs < nSigmaAbsTofBachelorPiMax);
658+
const bool tofBachelorKaPass = (tofBachelorKaAbs > TofWoSignalRange[0] && tofBachelorKaAbs < TofWoSignalRange[1]) || (tofBachelorKaAbs < nSigmaAbsTofBachelorKaMax);
659659
const bool tofBachelorPass = tofBachelorPiPass || tofBachelorKaPass;
660660
const bool bachelorPass = useTofPid.value ? (tpcBachelor && tofBachelorPass) : tpcBachelor;
661661

662662
const bool tpcV0Pr = (std::abs(v0TrackPr.tpcNSigmaPr()) < maxNSigmaV0Pr);
663663
const bool tpcV0Pi = (std::abs(v0TrackPi.tpcNSigmaPi()) < maxNSigmaV0Pi);
664664
const float tofV0PrAbs = std::abs(v0TrackPr.tofNSigmaPr());
665665
const float tofV0PiAbs = std::abs(v0TrackPi.tofNSigmaPi());
666-
const bool tofV0PrPass = (tofV0PrAbs > TofWoSignalRange[0] && tofV0PrAbs < TofWoSignalRange[1]) || (tofV0PrAbs < maxAbsTofnSigmaV0Pr);
667-
const bool tofV0PiPass = (tofV0PiAbs > TofWoSignalRange[0] && tofV0PiAbs < TofWoSignalRange[1]) || (tofV0PiAbs < maxAbsTofnSigmaV0Pi);
666+
const bool tofV0PrPass = (tofV0PrAbs > TofWoSignalRange[0] && tofV0PrAbs < TofWoSignalRange[1]) || (tofV0PrAbs < nSigmaAbsTofV0PrMax);
667+
const bool tofV0PiPass = (tofV0PiAbs > TofWoSignalRange[0] && tofV0PiAbs < TofWoSignalRange[1]) || (tofV0PiAbs < nSigmaAbsTofV0PiMax);
668668
const bool v0PrPass = useTofPid.value ? (tpcV0Pr && tofV0PrPass) : tpcV0Pr;
669669
const bool v0PiPass = useTofPid.value ? (tpcV0Pi && tofV0PiPass) : tpcV0Pi;
670670

@@ -708,8 +708,8 @@ struct HfTreeCreatorOmegacSt {
708708
const bool passTPCpid = (std::abs(track.tpcNSigmaPi()) < maxNSigmaPion) || (std::abs(track.tpcNSigmaKa()) < maxNSigmaKaon);
709709
const float tofPiAbs = std::abs(track.tofNSigmaPi());
710710
const float tofKaAbs = std::abs(track.tofNSigmaKa());
711-
const bool tofPiPass = (tofPiAbs > TofWoSignalRange[0] && tofPiAbs < TofWoSignalRange[1]) || (tofPiAbs < maxAbsTofnSigmaTrackPi);
712-
const bool tofKaPass = (tofKaAbs > TofWoSignalRange[0] && tofKaAbs < TofWoSignalRange[1]) || (tofKaAbs < maxAbsTofnSigmaTrackKa);
711+
const bool tofPiPass = (tofPiAbs > TofWoSignalRange[0] && tofPiAbs < TofWoSignalRange[1]) || (tofPiAbs < nSigmaAbsTofTrackPiMax);
712+
const bool tofKaPass = (tofKaAbs > TofWoSignalRange[0] && tofKaAbs < TofWoSignalRange[1]) || (tofKaAbs < nSigmaAbsTofTrackKaMax);
713713
const bool passTOFpid = tofPiPass || tofKaPass;
714714
if (useTofPid.value) {
715715
if (!(passTPCpid && passTOFpid)) {

0 commit comments

Comments
 (0)