File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments