We don't check the path to the raw-data file, it is done inside AliRawReader::Create...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Aug 2008 15:02:58 +0000 (15:02 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Aug 2008 15:02:58 +0000 (15:02 +0000)
EVE/EveBase/AliEveEventManager.cxx

index bbdb25e..c44026b 100644 (file)
@@ -260,14 +260,7 @@ void AliEveEventManager::Open()
   // Open raw-data file
 
   TString rawPath(Form("%s/%s", fPath.Data(), fgRawFileName.Data()));
-  // If i use open directly, raw-reader reports an error but i have
-  // no way to detect it.
-  // Is this (AccessPathName check) ok for xrootd / alien? Yes, not for http.
-  if (gSystem->AccessPathName(rawPath, kReadPermission) == kFALSE)
-  {
-    fRawReader = AliRawReader::Create(rawPath);
-  }
-
+  fRawReader = AliRawReader::Create(rawPath);
   if (fRawReader == 0)
   {
     if (fgAssertRaw)