#include <TObjString.h>
#include <TObjArray.h>
#include <TProcessID.h>
+#include <TSystem.h>
#include "AliESDInputHandlerRP.h"
#include "AliESDEvent.h"
fEventNumber = -1;
fFileNumber = 0;
// Get number of events from esd tree
- printf("AliESDInputHandler::Init() %d %d\n",__LINE__, fNEvents);
+ printf("AliESDInputHandlerRP::Init() %d %d\n",__LINE__, fNEvents);
return kTRUE;
}
// Notify about directory change
// The directory is taken from the 'path' argument
//
+ AliInfo(Form("Directory change %s \n", path));
// Get path to directory
TString fileName(path);
members = arch->GetMembers();
} else {
// Directory
+ TString wd = gSystem->WorkingDirectory();
TSystemDirectory dir(".", fPathName->Data());
members = dir.GetListOfFiles();
+ gSystem->cd(wd);
}
TIter next(members);
ent->SetUniqueID(ien++);
fDetectors->Add(ent);
}
+ if(tokens) delete tokens;
} // loop over files