Update Regional card structure (Ch. Finck)
authorcussonno <cussonno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Oct 2004 09:46:40 +0000 (09:46 +0000)
committercussonno <cussonno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Oct 2004 09:46:40 +0000 (09:46 +0000)
MUON/AliMUONRawData.cxx

index 824fa96..a820618 100644 (file)
@@ -476,6 +476,10 @@ Int_t AliMUONRawData::WriteTriggerDDL()
       subEvent->SetRegWord(word);
       memcpy(&buffer[index++],subEvent->GetAddress(),4);
 
+      buffer[index++] = 0;// 2 words of regional input
+      buffer[index++] = 0;
+      buffer[index++] = 0;// regional output
+
       for (Int_t iLoc = 0; iLoc < 16; iLoc++) {
 
        iLocCard = iLoc + iReg*16 + iDDL*128;
@@ -527,9 +531,6 @@ Int_t AliMUONRawData::WriteTriggerDDL()
 
        }
       } // local card 
-      buffer[index++] = 0;// 2 words of regional input
-      buffer[index++] = 0;
-      buffer[index++] = 0;// regional output
 
       delete subEvent;