Skip to content

Commit 25bc363

Browse files
committed
Small fixes
1 parent 884f0fb commit 25bc363

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

PWGLF/TableProducer/Strangeness/strangenesstofpid.cxx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,10 @@ struct strangenesstofpid {
434434

435435
histos.add("h2dTOFSignalPositive", "h2dTOFSignalPositive", kTH2F, {axes.axisTimeLong, axes.axisBCshift});
436436
histos.add("h2dTOFSignalNegative", "h2dTOFSignalNegative", kTH2F, {axes.axisTimeLong, axes.axisBCshift});
437+
438+
histos.add("h2dTOFSignalCascadePositive", "h2dTOFSignalCascadePositive", kTH2F, {axes.axisTimeLong, axes.axisBCshift});
439+
histos.add("h2dTOFSignalCascadeNegative", "h2dTOFSignalCascadeNegative", kTH2F, {axes.axisTimeLong, axes.axisBCshift});
440+
histos.add("h2dTOFSignalCascadeBachelor", "h2dTOFSignalCascadeBachelor", kTH2F, {axes.axisTimeLong, axes.axisBCshift});
437441

438442
histos.add("hCollisionTimes", "hCollisionTimes", kTH1F, {{2000, -1000.0f, 1000.0f}});
439443

@@ -1526,6 +1530,16 @@ struct strangenesstofpid {
15261530
bTof.tpcNSigmaPi = bTra.tpcNSigmaPi();
15271531
bTof.tpcNSigmaKa = bTra.tpcNSigmaKa();
15281532

1533+
if (pTof.hasTOF) {
1534+
histos.fill(HIST("h2dTOFSignalCascadePositive"), pTof.tofSignal, deltaTimePos);
1535+
}
1536+
if (nTof.hasTOF) {
1537+
histos.fill(HIST("h2dTOFSignalCascadeNegative"), nTof.tofSignal, deltaTimeNeg);
1538+
}
1539+
if (bTof.hasTOF) {
1540+
histos.fill(HIST("h2dTOFSignalCascadeBachelor"), bTof.tofSignal, deltaTimeBach);
1541+
}
1542+
15291543
cascTofInfo casctof = calculateTofInfoCascade(collisions, cascade.collisionId(), cascade, pTof, nTof, bTof);
15301544

15311545
if (doNSigmas) {
@@ -1701,6 +1715,7 @@ struct strangenesstofpid {
17011715
const int64_t deltaBc = collisionTrack.globalBC() - collision.globalBC();
17021716
const double deltaTimeBc = o2::constants::lhc::LHCBunchSpacingNS * deltaBc * 1000.0f;
17031717
histos.fill(HIST("hCascadePositiveBCShift"), deltaTimeBc);
1718+
histos.fill(HIST("h2dTOFSignalCascadePositive"), pTof.tofSignal, deltaTimeBc);
17041719

17051720
pTof.collisionId = pTofExt.straCollisionId();
17061721
pTof.tofExpMom = pTofExt.tofExpMom();
@@ -1724,6 +1739,7 @@ struct strangenesstofpid {
17241739
const int64_t deltaBc = collisionTrack.globalBC() - collision.globalBC();
17251740
const double deltaTimeBc = o2::constants::lhc::LHCBunchSpacingNS * deltaBc * 1000.0f;
17261741
histos.fill(HIST("hCascadeNegativeBCShift"), deltaTimeBc);
1742+
histos.fill(HIST("h2dTOFSignalCascadeNegative"), nTof.tofSignal, deltaTimeBc);
17271743

17281744
nTof.collisionId = nTofExt.straCollisionId();
17291745
nTof.tofExpMom = nTofExt.tofExpMom();
@@ -1747,6 +1763,7 @@ struct strangenesstofpid {
17471763
const int64_t deltaBc = collisionTrack.globalBC() - collision.globalBC();
17481764
const double deltaTimeBc = o2::constants::lhc::LHCBunchSpacingNS * deltaBc * 1000.0f;
17491765
histos.fill(HIST("hCascadeBachelorBCShift"), deltaTimeBc);
1766+
histos.fill(HIST("h2dTOFSignalCascadeBachelor"), bTof.tofSignal, deltaTimeBc);
17501767

17511768
bTof.collisionId = bTofExt.straCollisionId();
17521769
bTof.tofExpMom = bTofExt.tofExpMom();

0 commit comments

Comments
 (0)