Fix for side-effect bug causing incorrect filling of the trigger mask when the event...
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Oct 2010 16:54:50 +0000 (16:54 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Oct 2010 16:54:50 +0000 (16:54 +0000)
HLT/BASE/AliHLTTask.cxx

index 2655213..4347c49 100644 (file)
@@ -597,8 +597,7 @@ int AliHLTTask::ProcessTask(Int_t eventNo, AliHLTUInt32_t eventType, AliHLTUInt6
       evtTrigData.fCommonHeader[1] = AliHLTUInt32_t(l1msg) << 14;
       evtTrigData.fCommonHeader[3] = ((l1msg & 0x1) == 0x1) ? (participatingDetectors & 0xFFFFFF) : 0x0;
       evtTrigData.fCommonHeader[5]=trgMask&0xffffffff;
-      trgMask>>=32;
-      evtTrigData.fCommonHeader[6]=trgMask&0x3ffff;
+      evtTrigData.fCommonHeader[6]=(trgMask>>32)&0x3ffff;
       trigData.fData=&evtTrigData;
       iLastOutputDataSize=iOutputDataSize;
       AliHLTUInt32_t size=iOutputDataSize;