@@ -466,14 +466,21 @@ struct LumiStabilityTask {
466466 }
467467 }
468468
469- if (isCoinA && isCoinC) {
470- histos.fill (HIST (" FDD/bcVertexTriggerCoincidence" ), localBC);
471- histos.fill (HIST (" FDD/hCounts" ), 3 );
472- histos.fill (HIST (" hOrbitFDDVertexCoinc" ), orbit - minOrbit);
469+ if (deltaBC < myMaxDeltaBCFDD) {
470+ std::bitset<8 > fddTriggersPast = fdd_past.triggerMask ();
471+ bool vertexPast = fddTriggersPast[o2::fdd::Triggers::bitVertex];
472+ pastActivityFDDVertex |= (vertexPast);
473+ }
474+ }
475+ deltaIndex = 0 ;
476+ deltaBC = 0 ;
473477
478+ if (pastActivityFDDVertex == false ) {
479+ histos.fill (HIST (" FDD/hCounts" ), 2 );
480+ histos.fill (HIST (" FDD/bcVertexTriggerPP" ), localBC);
474481 if (bcPatternA[localBC]) {
475- histos.fill (HIST (" FDD/timeACbcA " ), fdd.timeA (), fdd.timeC ());
476- histos.fill (HIST (" FDD/hBcA " ), localBC);
482+ histos.fill (HIST (" FDD/timeACbcAVertex " ), fdd.timeA (), fdd.timeC ());
483+ histos.fill (HIST (" FDD/hBcAVertex " ), localBC);
477484 }
478485 if (bcPatternC[localBC]) {
479486 histos.fill (HIST (" FDD/timeACbcC" ), fdd.timeA (), fdd.timeC ());
@@ -523,6 +530,37 @@ struct LumiStabilityTask {
523530 }
524531 }
525532 }
533+ if (bcPatternB[localBC]) {
534+ histos.fill (HIST (" FDD/timeACbcBVertex" ), fdd.timeA (), fdd.timeC ());
535+ histos.fill (HIST (" FDD/hBcBVertex" ), localBC);
536+ }
537+ if (bcPatternE[localBC]) {
538+ histos.fill (HIST (" FDD/timeACbcEVertex" ), fdd.timeA (), fdd.timeC ());
539+ histos.fill (HIST (" FDD/hBcEVertex" ), localBC);
540+ }
541+ }
542+
543+
544+ if (isCoinA && isCoinC) {
545+ histos.fill (HIST (" FDD/bcVertexTriggerCoincidence" ), localBC);
546+ histos.fill (HIST (" FDD/hCounts" ), 3 );
547+ histos.fill (HIST (" hOrbitFDDVertexCoinc" ), orbit - minOrbit);
548+
549+ if (bcPatternA[localBC]) {
550+ histos.fill (HIST (" FDD/timeACbcA" ), fdd.timeA (), fdd.timeC ());
551+ histos.fill (HIST (" FDD/hBcA" ), localBC);
552+ }
553+ if (bcPatternC[localBC]) {
554+ histos.fill (HIST (" FDD/timeACbcC" ), fdd.timeA (), fdd.timeC ());
555+ histos.fill (HIST (" FDD/hBcC" ), localBC);
556+ }
557+ if (bcPatternB[localBC]) {
558+ histos.fill (HIST (" FDD/timeACbcB" ), fdd.timeA (), fdd.timeC ());
559+ histos.fill (HIST (" FDD/hBcB" ), localBC);
560+ histos.fill (HIST (" FDD/hTimeA" ), fdd.timeA ());
561+ histos.fill (HIST (" FDD/hTimeC" ), fdd.timeC ());
562+
563+ }
526564 if (bcPatternE[localBC]) {
527565 histos.fill (HIST (" FDD/timeACbcE" ), fdd.timeA (), fdd.timeC ());
528566 histos.fill (HIST (" FDD/hBcE" ), localBC);
0 commit comments