29 TDirectory* dir = (TDirectory*) gFile;
30 std::vector<TString> array = Hal::Std::ExplodeString(name,
'/');
31 for (
int i = 0; i < (int) array.size(); i++) {
32 TDirectory* newdir = (TDirectory*) dir->FindObject(array[i]);
33 if (!newdir) { dir->mkdir(array[i]); }