Correct init of the raw reader in case of using directly AliAltroRawStream
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 24 Apr 2006 08:31:35 +0000 (08:31 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 24 Apr 2006 08:31:35 +0000 (08:31 +0000)
RAW/AliAltroRawStreamOld.cxx

index 6bd9721..47a416c 100644 (file)
@@ -50,6 +50,11 @@ AliAltroRawStreamOld::AliAltroRawStreamOld(AliRawReader* rawReader) :
 {
 // create an object to read Altro raw digits
   fSegmentation[0] = fSegmentation[1] = fSegmentation[2] = -1;
+
+  // Invalid Common Data Header is used
+  // --> therefore skip the header and read
+  // only the payload
+  rawReader->RequireHeader(kFALSE);
 }
 
 //_____________________________________________________________________________