Skip to content

Commit

Permalink
build: sync StRoot/macros with SL23f_2
Browse files Browse the repository at this point in the history
  • Loading branch information
plexoos committed Feb 19, 2024
1 parent c10a347 commit fbf05f0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions StRoot/macros/analysis/doEvents.C
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
4 changes: 4 additions & 0 deletions StRoot/macros/analysis/find_vertex.C
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class StChain;
class StMinuitVertexFinder;
class StGenericVertexFinder;
class StGenericVertexMaker;
class StEvent;
class StPrimaryVertex;

StChain *chain=0;
TH1F *dca_z_h=0;
Expand Down Expand Up @@ -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");
Expand All @@ -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");
Expand Down
7 changes: 6 additions & 1 deletion StRoot/macros/rootlogon.C
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

0 comments on commit fbf05f0

Please sign in to comment.