diff --git a/StRoot/macros/analysis/doEvents.C b/StRoot/macros/analysis/doEvents.C index b18d2df0953..47fd8f8bc1c 100644 --- a/StRoot/macros/analysis/doEvents.C +++ b/StRoot/macros/analysis/doEvents.C @@ -356,6 +356,7 @@ void loadLibs(const char *opt) gSystem->Load("StTriggerDataMaker"); // new starting from April 2003 gSystem->Load("StBichsel"); gSystem->Load("StEvent"); + gSystem->Load("StTpcDb"); gSystem->Load("StEventUtilities"); gSystem->Load("StEmcUtil"); gSystem->Load("StTofUtil"); diff --git a/StRoot/macros/analysis/find_vertex.C b/StRoot/macros/analysis/find_vertex.C index 2c02dd0dd4d..703e8956862 100644 --- a/StRoot/macros/analysis/find_vertex.C +++ b/StRoot/macros/analysis/find_vertex.C @@ -23,6 +23,8 @@ class StChain; class StMinuitVertexFinder; class StGenericVertexFinder; class StGenericVertexMaker; +class StEvent; +class StPrimaryVertex; StChain *chain=0; TH1F *dca_z_h=0; @@ -97,6 +99,7 @@ void find_vertex(char * fname="high_053/st_physics_6053108_raw_2020002.event.roo gSystem->Load("StTriggerDataMaker"); // new starting from April 2003 gSystem->Load("StBichsel"); gSystem->Load("StEvent"); + gSystem->Load("StTpcDb"); gSystem->Load("StEventUtilities"); gSystem->Load("StEmcUtil"); gSystem->Load("StTofUtil"); @@ -122,6 +125,7 @@ void find_vertex(char * fname="high_053/st_physics_6053108_raw_2020002.event.roo gSystem->Load("Sti"); gSystem->Load("libStEEmcUtil"); + gSystem->Load("libMinuit"); gSystem->Load("StGenericVertexMaker"); TFile *fout = new TFile("vtx_tree.root","RECREATE"); diff --git a/StRoot/macros/rootlogon.C b/StRoot/macros/rootlogon.C index 3edf950a6c0..16c3b1623f9 100644 --- a/StRoot/macros/rootlogon.C +++ b/StRoot/macros/rootlogon.C @@ -30,5 +30,10 @@ std::cout << " *** Start at Date : " << TDatime().AsString() << std::endl; - gSystem->AddIncludePath(" -I. -I./.$STAR_HOST_SYS/include -I./StRoot -I$STAR/.$STAR_HOST_SYS/include -I$STAR/StRoot -I/usr/include/mysql"); + gInterpreter->AddIncludePath("."); + gInterpreter->AddIncludePath("./.$STAR_HOST_SYS/include"); + gInterpreter->AddIncludePath("./StRoot"); + gInterpreter->AddIncludePath("$STAR/.$STAR_HOST_SYS/include"); + gInterpreter->AddIncludePath("$STAR/StRoot"); + gInterpreter->AddIncludePath("/usr/include/mysql"); }