DDL left and right definition swapped
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Jul 2007 23:35:58 +0000 (23:35 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Jul 2007 23:35:58 +0000 (23:35 +0000)
HMPID/AliHMPIDDigit.cxx

index 448509a..b1d8b26 100644 (file)
@@ -143,8 +143,10 @@ void AliHMPIDDigit::WriteRaw(TObjArray *pDigAll)
     Int_t    cntL=0,cntR=0;                           //data words counters for DDLs
     AliRawDataHeader header; header.SetAttribute(0);  //empty DDL header
 
-    ddlL = new AliFstream(AliDAQ::DdlFileName("HMPID",2*iCh)); 
-    ddlR = new AliFstream(AliDAQ::DdlFileName("HMPID",2*iCh+1));      //open both DDL of this chamber in parallel
+//    ddlL = new AliFstream(AliDAQ::DdlFileName("HMPID",2*iCh)); 
+//    ddlR = new AliFstream(AliDAQ::DdlFileName("HMPID",2*iCh+1));      //open both DDL of this chamber in parallel
+    ddlL = new AliFstream(AliDAQ::DdlFileName("HMPID",2*iCh+1)); //left and right looking at the IP
+    ddlR = new AliFstream(AliDAQ::DdlFileName("HMPID",2*iCh));   //open both DDL of this chamber in parallel
     ddlL->WriteBuffer((char*)&header,sizeof(header));            //write dummy header as place holder, actual 
     ddlR->WriteBuffer((char*)&header,sizeof(header));            //will be rewritten later when total size of DDL is known