replacing 'new TFile' by 'TFile::Open' in order to support direct file access on...
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 Apr 2010 21:37:21 +0000 (21:37 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 Apr 2010 21:37:21 +0000 (21:37 +0000)
HLT/BASE/util/AliHLTFilePublisher.cxx

index 1894c1e..8ada91e 100644 (file)
@@ -457,7 +457,7 @@ int AliHLTFilePublisher::FileDesc::OpenFile()
   if ( fIsRaw ) fullFN = fName + "?filetype=raw";
   else fullFN = fName;
 
-  fpInstance = new TFile(fullFN);
+  fpInstance = TFile::Open(fullFN);
   if (fpInstance) {
     if (fpInstance->IsZombie()==0) {
       iResult=fpInstance->GetSize();