@@ -561,14 +561,21 @@ struct LumiStabilityTask {
561561 }
562562 }
563563
564- if (isCoinA && isCoinC) {
565- histos.fill (HIST (" FDD/bcVertexTriggerCoincidence" ), localBC);
566- histos.fill (HIST (" FDD/hCounts" ), 3 );
567- histos.fill (HIST (" hOrbitFDDVertexCoinc" ), orbit - minOrbit);
564+ if (deltaBC < myMaxDeltaBCFDD) {
565+ std::bitset<8 > fddTriggersPast = fdd_past.triggerMask ();
566+ bool vertexPast = fddTriggersPast[o2::fdd::Triggers::bitVertex];
567+ pastActivityFDDVertex |= (vertexPast);
568+ }
569+ }
570+ deltaIndex = 0 ;
571+ deltaBC = 0 ;
568572
573+ if (pastActivityFDDVertex == false ) {
574+ histos.fill (HIST (" FDD/hCounts" ), 2 );
575+ histos.fill (HIST (" FDD/bcVertexTriggerPP" ), localBC);
569576 if (bcPatternA[localBC]) {
570- histos.fill (HIST (" FDD/timeACbcA " ), fdd.timeA (), fdd.timeC ());
571- histos.fill (HIST (" FDD/hBcA " ), localBC);
577+ histos.fill (HIST (" FDD/timeACbcAVertex " ), fdd.timeA (), fdd.timeC ());
578+ histos.fill (HIST (" FDD/hBcAVertex " ), localBC);
572579 }
573580 if (bcPatternC[localBC]) {
574581 histos.fill (HIST (" FDD/timeACbcC" ), fdd.timeA (), fdd.timeC ());
@@ -618,6 +625,37 @@ struct LumiStabilityTask {
618625 }
619626 }
620627 }
628+ if (bcPatternB[localBC]) {
629+ histos.fill (HIST (" FDD/timeACbcBVertex" ), fdd.timeA (), fdd.timeC ());
630+ histos.fill (HIST (" FDD/hBcBVertex" ), localBC);
631+ }
632+ if (bcPatternE[localBC]) {
633+ histos.fill (HIST (" FDD/timeACbcEVertex" ), fdd.timeA (), fdd.timeC ());
634+ histos.fill (HIST (" FDD/hBcEVertex" ), localBC);
635+ }
636+ }
637+
638+
639+ if (isCoinA && isCoinC) {
640+ histos.fill (HIST (" FDD/bcVertexTriggerCoincidence" ), localBC);
641+ histos.fill (HIST (" FDD/hCounts" ), 3 );
642+ histos.fill (HIST (" hOrbitFDDVertexCoinc" ), orbit - minOrbit);
643+
644+ if (bcPatternA[localBC]) {
645+ histos.fill (HIST (" FDD/timeACbcA" ), fdd.timeA (), fdd.timeC ());
646+ histos.fill (HIST (" FDD/hBcA" ), localBC);
647+ }
648+ if (bcPatternC[localBC]) {
649+ histos.fill (HIST (" FDD/timeACbcC" ), fdd.timeA (), fdd.timeC ());
650+ histos.fill (HIST (" FDD/hBcC" ), localBC);
651+ }
652+ if (bcPatternB[localBC]) {
653+ histos.fill (HIST (" FDD/timeACbcB" ), fdd.timeA (), fdd.timeC ());
654+ histos.fill (HIST (" FDD/hBcB" ), localBC);
655+ histos.fill (HIST (" FDD/hTimeA" ), fdd.timeA ());
656+ histos.fill (HIST (" FDD/hTimeC" ), fdd.timeC ());
657+
658+ }
621659 if (bcPatternE[localBC]) {
622660 histos.fill (HIST (" FDD/timeACbcE" ), fdd.timeA (), fdd.timeC ());
623661 histos.fill (HIST (" FDD/hBcE" ), localBC);
0 commit comments