- if(GetOptDate()) rd = new AliRawReaderDate(fRawdataFileName,fEvIn);
- else rd = new AliRawReaderRoot(fRawdataFileName,fEvIn);
+
+ TString strFile = fRawdataFileName;
+ strFile += Form("?EventType=%d",fDATEEvType);
+ if(GetOptDate()) rd = new AliRawReaderDate(strFile.Data(),fEvIn);
+ else rd = new AliRawReaderRoot(strFile.Data(),fEvIn);