@@ -556,14 +556,21 @@ struct LumiStabilityTask {
556556 }
557557 }
558558
559- if (isCoinA && isCoinC) {
560- histos.fill (HIST (" FDD/bcVertexTriggerCoincidence" ), localBC);
561- histos.fill (HIST (" FDD/hCounts" ), 3 );
562- histos.fill (HIST (" hOrbitFDDVertexCoinc" ), orbit - minOrbit);
559+ if (deltaBC < myMaxDeltaBCFDD) {
560+ std::bitset<8 > fddTriggersPast = fdd_past.triggerMask ();
561+ bool vertexPast = fddTriggersPast[o2::fdd::Triggers::bitVertex];
562+ pastActivityFDDVertex |= (vertexPast);
563+ }
564+ }
565+ deltaIndex = 0 ;
566+ deltaBC = 0 ;
563567
568+ if (pastActivityFDDVertex == false ) {
569+ histos.fill (HIST (" FDD/hCounts" ), 2 );
570+ histos.fill (HIST (" FDD/bcVertexTriggerPP" ), localBC);
564571 if (bcPatternA[localBC]) {
565- histos.fill (HIST (" FDD/timeACbcA " ), fdd.timeA (), fdd.timeC ());
566- histos.fill (HIST (" FDD/hBcA " ), localBC);
572+ histos.fill (HIST (" FDD/timeACbcAVertex " ), fdd.timeA (), fdd.timeC ());
573+ histos.fill (HIST (" FDD/hBcAVertex " ), localBC);
567574 }
568575 if (bcPatternC[localBC]) {
569576 histos.fill (HIST (" FDD/timeACbcC" ), fdd.timeA (), fdd.timeC ());
@@ -613,6 +620,37 @@ struct LumiStabilityTask {
613620 }
614621 }
615622 }
623+ if (bcPatternB[localBC]) {
624+ histos.fill (HIST (" FDD/timeACbcBVertex" ), fdd.timeA (), fdd.timeC ());
625+ histos.fill (HIST (" FDD/hBcBVertex" ), localBC);
626+ }
627+ if (bcPatternE[localBC]) {
628+ histos.fill (HIST (" FDD/timeACbcEVertex" ), fdd.timeA (), fdd.timeC ());
629+ histos.fill (HIST (" FDD/hBcEVertex" ), localBC);
630+ }
631+ }
632+
633+
634+ if (isCoinA && isCoinC) {
635+ histos.fill (HIST (" FDD/bcVertexTriggerCoincidence" ), localBC);
636+ histos.fill (HIST (" FDD/hCounts" ), 3 );
637+ histos.fill (HIST (" hOrbitFDDVertexCoinc" ), orbit - minOrbit);
638+
639+ if (bcPatternA[localBC]) {
640+ histos.fill (HIST (" FDD/timeACbcA" ), fdd.timeA (), fdd.timeC ());
641+ histos.fill (HIST (" FDD/hBcA" ), localBC);
642+ }
643+ if (bcPatternC[localBC]) {
644+ histos.fill (HIST (" FDD/timeACbcC" ), fdd.timeA (), fdd.timeC ());
645+ histos.fill (HIST (" FDD/hBcC" ), localBC);
646+ }
647+ if (bcPatternB[localBC]) {
648+ histos.fill (HIST (" FDD/timeACbcB" ), fdd.timeA (), fdd.timeC ());
649+ histos.fill (HIST (" FDD/hBcB" ), localBC);
650+ histos.fill (HIST (" FDD/hTimeA" ), fdd.timeA ());
651+ histos.fill (HIST (" FDD/hTimeC" ), fdd.timeC ());
652+
653+ }
616654 if (bcPatternE[localBC]) {
617655 histos.fill (HIST (" FDD/timeACbcE" ), fdd.timeA (), fdd.timeC ());
618656 histos.fill (HIST (" FDD/hBcE" ), localBC);
0 commit comments