Skip to content

Commit ee3d3fe

Browse files
committed
Fix tests running find_vertex.C
1 parent 6248635 commit ee3d3fe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

StRoot/macros/analysis/find_vertex.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class StChain;
2323
class StMinuitVertexFinder;
2424
class StGenericVertexFinder;
2525
class StGenericVertexMaker;
26+
class StEvent;
27+
class StPrimaryVertex;
2628

2729
StChain *chain=0;
2830
TH1F *dca_z_h=0;
@@ -97,6 +99,7 @@ void find_vertex(char * fname="high_053/st_physics_6053108_raw_2020002.event.roo
9799
gSystem->Load("StTriggerDataMaker"); // new starting from April 2003
98100
gSystem->Load("StBichsel");
99101
gSystem->Load("StEvent");
102+
gSystem->Load("StTpcDb");
100103
gSystem->Load("StEventUtilities");
101104
gSystem->Load("StEmcUtil");
102105
gSystem->Load("StTofUtil");
@@ -122,6 +125,7 @@ void find_vertex(char * fname="high_053/st_physics_6053108_raw_2020002.event.roo
122125

123126
gSystem->Load("Sti");
124127
gSystem->Load("libStEEmcUtil");
128+
gSystem->Load("libMinuit");
125129
gSystem->Load("StGenericVertexMaker");
126130

127131
TFile *fout = new TFile("vtx_tree.root","RECREATE");

0 commit comments

Comments
 (0)