File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1111
1212TCanvas * hist006_TH1_bar_charts ()
1313{
14- // Try to open first the file cernstaff.root in tutorials/tree directory
14+ // Try to open first the file cernstaff.root in tutorials/io/ tree directory
1515 TString filedir = gROOT -> GetTutorialDir ();
16- filedir += TString ("/tree/" );
16+ filedir += TString ("/io/ tree/" );
1717 TString filename = "cernstaff.root" ;
1818 // Note that `AccessPathName` returns 0 (false) on success!
1919 bool fileNotFound = gSystem -> AccessPathName (filename );
2020
21- // If the file is not found try to generate it using the macro tree/cernbuild .C
21+ // If the file is not found try to generate it using the macro io/ tree/tree500_cernbuild .C
2222 if (fileNotFound ) {
23- TString macroName = filedir + "cernbuild .C" ;
23+ TString macroName = filedir + "tree500_cernbuild .C" ;
2424 if (!gInterpreter -> IsLoaded (macroName )) gInterpreter -> LoadMacro (macroName );
25- gROOT -> ProcessLineFast ("cernbuild ()" );
25+ gROOT -> ProcessLineFast ("tree500_cernbuild ()" );
2626 }
2727
2828 auto file = std ::unique_ptr < TFile > (TFile ::Open (filename , "READ "));
You can’t perform that action at this time.
0 commit comments