Skip to content

Commit f54c63c

Browse files
mdessoleguitargeek
authored andcommitted
Update tree tutorials path
1 parent 0b4f2e3 commit f54c63c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

root/treeformula/string/execDrawString.C

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ TFile *cernbuild(Int_t get=0) {
2626
// if the argument get =1 return the file "cernstaff.root"
2727
// if the file does not exist, it is created
2828
if (!gSystem->AccessPathName("cernstaff.root",kFileExists)) {
29-
hfile = TFile::Open("cernstaff.root"); //in $ROOTSYS/tutorials/tree
29+
hfile = TFile::Open("cernstaff.root"); //in $ROOTSYS/tutorials/io/tree
3030
if (hfile) return hfile;
3131
}
3232
}
3333
//no cernstaff.root file found. Must generate it !
34-
//generate cernstaff.root in $ROOTSYS/tutorials/tree if we have write access
34+
//generate cernstaff.root in $ROOTSYS/tutorials/io/tree if we have write access
3535
if (!gSystem->AccessPathName(".",kWritePermission)) {
3636
//otherwise generate cernstaff.root in the current directory
3737
} else {
@@ -63,7 +63,7 @@ TFile *cernbuild(Int_t get=0) {
6363
fclose(fp);
6464
delete hfile;
6565
if (get) {
66-
//we come here when the script is executed outside $ROOTSYS/tutorials/tree
66+
//we come here when the script is executed outside $ROOTSYS/tutorials/io/tree
6767
hfile = TFile::Open(filename);
6868
return hfile;
6969
}

0 commit comments

Comments
 (0)