4 void event_track(
int n = 5000,
5 const char *inFile =
"/gpfs01/star/pwg_tasks/FwdCalib//PROD/out/st_physics_23072003_raw_0000003.event.root",
6 std::string configFile =
"StRoot/StFwdTrackMaker/macro/event/event_track.xml",
7 const char *geom =
"dev2022") {
9 gSystem->Load(
"libStarRoot.so" );
12 _chain = Form(
"in, %s, MakeEvent, fwdTrack", geom);
15 gROOT->SetMacroPath(
".:/star-sw/StRoot/macros:./StRoot/macros:./StRoot/macros/graphics:./StRoot/macros/analysis:./StRoot/macros/test:./StRoot/macros/examples:./StRoot/macros/html:./StRoot/macros/qa:./StRoot/macros/calib:./StRoot/macros/mudst:/afs/rhic.bnl.gov/star/packages/DEV/StRoot/macros:/afs/rhic.bnl.gov/star/packages/DEV/StRoot/macros/graphics:/afs/rhic.bnl.gov/star/packages/DEV/StRoot/macros/analysis:/afs/rhic.bnl.gov/star/packages/DEV/StRoot/macros/test:/afs/rhic.bnl.gov/star/packages/DEV/StRoot/macros/examples:/afs/rhic.bnl.gov/star/packages/DEV/StRoot/macros/html:/afs/rhic.bnl.gov/star/packages/DEV/StRoot/macros/qa:/afs/rhic.bnl.gov/star/packages/DEV/StRoot/macros/calib:/afs/rhic.bnl.gov/star/packages/DEV/StRoot/macros/mudst:/afs/rhic.bnl.gov/star/ROOT/36/5.34.38/.sl73_x8664_gcc485/rootdeb/macros:/afs/rhic.bnl.gov/star/ROOT/36/5.34.38/.sl73_x8664_gcc485/rootdeb/tutorials");
17 gROOT->LoadMacro(
"bfc.C");
18 bfc(-1, _chain, inFile);
23 fwdTrack->SetConfigFile( configFile );
25 fwdTrack->SetGenerateTree(
true );
26 fwdTrack->SetGenerateHistograms(
true );
28 fwdTrack->SetVisualize(
false );
38 for (
int i = 0; i < n; i++) {
virtual void Clear(Option_t *option="")
User defined functions.