Skip to content

Commit d36bf81

Browse files
[PWGLF] Remove cascade wrong hypothesis assignments in strangenesstofpid (#17720)
1 parent 1dd083c commit d36bf81

1 file changed

Lines changed: 0 additions & 41 deletions

File tree

PWGLF/TableProducer/Strangeness/strangenesstofpid.cxx

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,14 +1326,6 @@ struct strangenesstofpid {
13261326
if (nSigmaCalibLoaded) {
13271327
casctof.nSigmaXiLaPr = (casctof.posDeltaTimeAsXiPr - hMeanPosXiPr->Interpolate(cascade.p())) / hSigmaPosXiPr->Interpolate(cascade.p());
13281328
casctof.nSigmaOmLaPr = (casctof.posDeltaTimeAsOmPr - hMeanPosOmPr->Interpolate(cascade.p())) / hSigmaPosOmPr->Interpolate(cascade.p());
1329-
// wrong hypothesis
1330-
casctof.nSigmaXiLaEl = -999.;
1331-
casctof.nSigmaXiLaKa = -999.;
1332-
casctof.nSigmaXiLaPi = -999.;
1333-
1334-
casctof.nSigmaOmLaEl = -999.;
1335-
casctof.nSigmaOmLaKa = -999.;
1336-
casctof.nSigmaOmLaPi = -999.;
13371329
}
13381330
} else {
13391331
casctof.nSigmaXiLaPr = mTOFResponse->nSigma<o2::track::PID::Proton>(pTof.tofSignal - xiFlight - lambdaFlight, pTof.tofExpMom, lengthPositive, posTrack.getP(), posTrack.getEta(), pTof.tofEvTime, pTof.tofEvTimeErr);
@@ -1353,14 +1345,6 @@ struct strangenesstofpid {
13531345
if (nSigmaCalibLoaded) {
13541346
casctof.nSigmaXiLaPi = (casctof.posDeltaTimeAsXiPi - hMeanPosXiPi->Interpolate(cascade.p())) / hSigmaPosXiPi->Interpolate(cascade.p());
13551347
casctof.nSigmaOmLaPi = (casctof.posDeltaTimeAsOmPi - hMeanPosOmPi->Interpolate(cascade.p())) / hSigmaPosOmPi->Interpolate(cascade.p());
1356-
// wrong hypothesis
1357-
casctof.nSigmaXiLaEl = -999.;
1358-
casctof.nSigmaXiLaKa = -999.;
1359-
casctof.nSigmaXiLaPr = -999.;
1360-
1361-
casctof.nSigmaOmLaEl = -999.;
1362-
casctof.nSigmaOmLaKa = -999.;
1363-
casctof.nSigmaOmLaPr = -999.;
13641348
}
13651349
} else {
13661350
casctof.nSigmaXiLaPi = mTOFResponse->nSigma<o2::track::PID::Pion>(pTof.tofSignal - xiFlight - lambdaFlight, pTof.tofExpMom, lengthPositive, posTrack.getP(), posTrack.getEta(), pTof.tofEvTime, pTof.tofEvTimeErr);
@@ -1463,14 +1447,6 @@ struct strangenesstofpid {
14631447
if (nSigmaCalibLoaded) {
14641448
casctof.nSigmaXiLaPi = (casctof.negDeltaTimeAsXiPi - hMeanNegXiPi->Interpolate(cascade.p())) / hSigmaNegXiPi->Interpolate(cascade.p());
14651449
casctof.nSigmaOmLaPi = (casctof.negDeltaTimeAsOmPi - hMeanNegOmPi->Interpolate(cascade.p())) / hSigmaNegOmPi->Interpolate(cascade.p());
1466-
// wrong hypothesis
1467-
casctof.nSigmaXiLaEl = -999.;
1468-
casctof.nSigmaXiLaKa = -999.;
1469-
casctof.nSigmaXiLaPr = -999.;
1470-
1471-
casctof.nSigmaOmLaEl = -999.;
1472-
casctof.nSigmaOmLaKa = -999.;
1473-
casctof.nSigmaOmLaPr = -999.;
14741450
}
14751451
} else {
14761452
casctof.nSigmaXiLaPi = mTOFResponse->nSigma<o2::track::PID::Pion>(nTof.tofSignal - xiFlight - lambdaFlight, nTof.tofExpMom, lengthNegative, negTrack.getP(), negTrack.getEta(), nTof.tofEvTime, nTof.tofEvTimeErr);
@@ -1490,14 +1466,6 @@ struct strangenesstofpid {
14901466
if (nSigmaCalibLoaded) {
14911467
casctof.nSigmaXiLaPr = (casctof.negDeltaTimeAsXiPr - hMeanNegXiPr->Interpolate(cascade.p())) / hSigmaNegXiPr->Interpolate(cascade.p());
14921468
casctof.nSigmaOmLaPr = (casctof.negDeltaTimeAsOmPr - hMeanNegOmPr->Interpolate(cascade.p())) / hSigmaNegOmPr->Interpolate(cascade.p());
1493-
// wrong hypothesis
1494-
casctof.nSigmaXiLaEl = -999.;
1495-
casctof.nSigmaXiLaKa = -999.;
1496-
casctof.nSigmaXiLaPi = -999.;
1497-
1498-
casctof.nSigmaOmLaEl = -999.;
1499-
casctof.nSigmaOmLaKa = -999.;
1500-
casctof.nSigmaOmLaPi = -999.;
15011469
}
15021470
} else {
15031471
casctof.nSigmaXiLaPr = mTOFResponse->nSigma<o2::track::PID::Proton>(nTof.tofSignal - xiFlight - lambdaFlight, nTof.tofExpMom, lengthNegative, negTrack.getP(), negTrack.getEta(), nTof.tofEvTime, nTof.tofEvTimeErr);
@@ -1597,15 +1565,6 @@ struct strangenesstofpid {
15971565
if (nSigmaCalibLoaded) {
15981566
casctof.nSigmaXiPi = (casctof.bachDeltaTimeAsXiPi - hMeanBachXiPi->Interpolate(cascade.p())) / hSigmaBachXiPi->Interpolate(cascade.p());
15991567
casctof.nSigmaOmKa = (casctof.bachDeltaTimeAsOmKa - hMeanBachOmKa->Interpolate(cascade.p())) / hSigmaBachOmKa->Interpolate(cascade.p());
1600-
1601-
// wrong hypothesis
1602-
casctof.nSigmaXiEl = -999.;
1603-
casctof.nSigmaXiKa = -999.;
1604-
casctof.nSigmaXiPr = -999.;
1605-
1606-
casctof.nSigmaOmEl = -999.;
1607-
casctof.nSigmaOmPi = -999.;
1608-
casctof.nSigmaOmPr = -999.;
16091568
}
16101569
} else {
16111570
casctof.nSigmaXiPi = mTOFResponse->nSigma<o2::track::PID::Pion>(bTof.tofSignal - xiFlight, bTof.tofExpMom, lengthBachelor, bachTrack.getP(), bachTrack.getEta(), bTof.tofEvTime, bTof.tofEvTimeErr);

0 commit comments

Comments
 (0)