Skip to content

Commit f87f7a1

Browse files
[FDD, FT0] Use of simple check for vertex event and proper logic for FT0 Central and semiCentral Trigger (#1883)
* [FDD, FT0] Use of simple check for vertex event and proper logic for FT0 Central and semiCentral Trigger * Update DigitQcTask.cxx --------- Co-authored-by: Arvind Khuntia <arvind.khuntia@cern.ch>
1 parent b962869 commit f87f7a1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/FIT/FDD/src/DigitQcTask.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ void DigitQcTask::monitorData(o2::framework::ProcessingContext& ctx)
654654

655655
setFEEmodules.insert(mChID2PMhash[chData.mPMNumber]);
656656

657-
if (chIsVertexEvent(chData, false)) {
657+
if (chIsVertexEvent(chData, true)) {
658658
if (!mMapPMhash2isAside[mChID2PMhash[static_cast<uint8_t>(chData.mPMNumber)]]) {
659659
pmSumTimeC += chData.mTime;
660660
pmNChanC++;

Modules/FIT/FT0/src/DigitQcTask.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,9 +628,9 @@ void DigitQcTask::monitorData(o2::framework::ProcessingContext& ctx)
628628
switch (mTrgModeSide) {
629629
case TrgModeSide::kAplusC:
630630
if (mTrgModeThresholdVar == TrgModeThresholdVar::kAmpl) {
631-
if (pmSumAmplA + pmSumAmplC >= 2 * mTrgThresholdCenA)
631+
if (pmSumAmplA + pmSumAmplC > 2 * mTrgThresholdCenA)
632632
mMapTrgSoftware[o2::ft0::Triggers::bitCen] = true;
633-
else if (pmSumAmplA + pmSumAmplC >= 2 * mTrgThresholdSCenA)
633+
else if (pmSumAmplA + pmSumAmplC > 2 * mTrgThresholdSCenA)
634634
mMapTrgSoftware[o2::ft0::Triggers::bitSCen] = true;
635635
} else if (mTrgModeThresholdVar == TrgModeThresholdVar::kNchannels) {
636636
if (pmNChanA + pmNChanC >= mTrgThresholdCenA)

0 commit comments

Comments
 (0)