inserting the correct trigger mask into the CDH of inserted empty data blocks
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 7 Nov 2009 01:03:04 +0000 (01:03 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 7 Nov 2009 01:03:04 +0000 (01:03 +0000)
HLT/BASE/util/AliHLTRawReaderPublisherComponent.cxx

index 574e6c8..a5df843 100644 (file)
@@ -293,6 +293,11 @@ int AliHLTRawReaderPublisherComponent::GetEvent(const AliHLTComponentEventData&
       // add further empty data blocks
       AliRawDataHeader header;
       header.fSize=sizeof(AliRawDataHeader);
+      const UInt_t* triggermask=pRawReader->GetTriggerPattern();
+      if (triggermask) {
+       header.fTriggerClassLow=triggermask[0];
+       header.fROILowTriggerClassHigh=triggermask[1];
+      }
       processedIds.sort();
       list<int>::iterator curr=processedIds.begin();
       for (int id=fMinEquId; id<=fMaxEquId; id++) {