@@ -435,6 +435,10 @@ struct strangenesstofpid {
435435 histos.add (" h2dTOFSignalPositive" , " h2dTOFSignalPositive" , kTH2F , {axes.axisTimeLong , axes.axisBCshift });
436436 histos.add (" h2dTOFSignalNegative" , " h2dTOFSignalNegative" , kTH2F , {axes.axisTimeLong , axes.axisBCshift });
437437
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 });
441+
438442 histos.add (" hCollisionTimes" , " hCollisionTimes" , kTH1F , {{2000 , -1000 .0f , 1000 .0f }});
439443
440444 // measured vs expected total time QA
@@ -1397,16 +1401,6 @@ struct strangenesstofpid {
13971401 histos.fill (HIST (" hV0NegativeBCShift" ), deltaTimeNeg);
13981402 }
13991403
1400- if (pTof.hasTOF ) {
1401- histos.fill (HIST (" hTOFSignalPositive" ), pTof.tofSignal );
1402- histos.fill (HIST (" h2dTOFSignalPositive" ), pTof.tofSignal , deltaTimePos);
1403- }
1404-
1405- if (nTof.hasTOF ) {
1406- histos.fill (HIST (" hTOFSignalNegative" ), nTof.tofSignal );
1407- histos.fill (HIST (" h2dTOFSignalNegative" ), nTof.tofSignal , deltaTimeNeg);
1408- }
1409-
14101404 pTof.collisionId = pTra.collisionId ();
14111405 pTof.hasITS = pTra.hasITS ();
14121406 pTof.hasTPC = pTra.hasTPC ();
@@ -1429,6 +1423,16 @@ struct strangenesstofpid {
14291423 nTof.tpcNSigmaPi = nTra.tpcNSigmaPi ();
14301424 nTof.tpcNSigmaPr = nTra.tpcNSigmaPr ();
14311425
1426+ if (pTof.hasTOF ) {
1427+ histos.fill (HIST (" hTOFSignalPositive" ), pTof.tofSignal );
1428+ histos.fill (HIST (" h2dTOFSignalPositive" ), pTof.tofSignal , deltaTimePos);
1429+ }
1430+
1431+ if (nTof.hasTOF ) {
1432+ histos.fill (HIST (" hTOFSignalNegative" ), nTof.tofSignal );
1433+ histos.fill (HIST (" h2dTOFSignalNegative" ), nTof.tofSignal , deltaTimeNeg);
1434+ }
1435+
14321436 v0TofInfo v0tof = calculateTofInfoV0 (collisions, V0.collisionId (), V0, pTof, nTof);
14331437
14341438 if (doNSigmas) {
@@ -1490,7 +1494,7 @@ struct strangenesstofpid {
14901494 auto bcBach = bcs.rawIteratorAt (collisionBach.bcId ());
14911495 const int64_t deltaBcBach = bcBach.globalBC () - bcV0.globalBC ();
14921496 deltaTimeBach = o2::constants::lhc::LHCBunchSpacingNS * deltaBcBach * 1000 .0f ;
1493- histos.fill (HIST (" hCascadeNegativeBCShift " ), deltaTimeBach);
1497+ histos.fill (HIST (" hCascadeBachelorBCShift " ), deltaTimeBach);
14941498 }
14951499
14961500 pTof.collisionId = pTra.collisionId ();
@@ -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