From ad1d70436eec1a5ba86b2538c87ab7e385f86b2c Mon Sep 17 00:00:00 2001 From: aszostak Date: Thu, 21 Oct 2010 23:55:29 +0000 Subject: [PATCH] Bug fix for software triggers. --- HLT/BASE/AliHLTCTPData.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/HLT/BASE/AliHLTCTPData.cxx b/HLT/BASE/AliHLTCTPData.cxx index 5dd6497d82b..a1bad7a2e0d 100644 --- a/HLT/BASE/AliHLTCTPData.cxx +++ b/HLT/BASE/AliHLTCTPData.cxx @@ -428,7 +428,10 @@ AliHLTReadoutList AliHLTCTPData::ReadoutList(const AliHLTComponentTriggerData& t const AliRawDataHeader* cdh = NULL; if (AliHLTComponent::ExtractTriggerData(trigData, NULL, NULL, &cdh, NULL, true) != 0) return AliHLTReadoutList(); - if ((cdh->GetL1TriggerMessage() & 0x1) == 0x1) return AliHLTReadoutList(); // invalid for software triggers. + // Check if we are dealing with a software trigger. If so then we need to return + // a readout list with everything set because the CTP trigger bits are invalid. + // Thus we assume that everything should be read out. + if ((cdh->GetL1TriggerMessage() & 0x1) == 0x1) return ~ AliHLTReadoutList(); // trigger mask is 50 bit wide and is stored in word 5 and 6 of the CDH AliHLTUInt64_t triggerMask = cdh->GetTriggerClasses(); -- 2.39.3