4 int rdMuDst2LcpTree(
const char *muDstList=
"400K.lis",
6 char * wrkDir=
"./wrkLcpX/",
12 if (gClassTable->GetID(
"TTable") < 0) {
13 gSystem->Load(
"libTable");
14 gSystem->Load(
"libPhysics");
16 printf(
"Use muDst list= '%s'\n",muDstList);
18 gROOT->LoadMacro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
19 loadSharedLibraries();
20 cout <<
" loading done " << endl;
23 assert(gSystem->Load(
"LCP")==0 );
30 muDstMk =
new StMuDstMaker(0,0,
"",muDstList,
"MuDst.root",maxList);
35 myMk->SetOutDir(wrkDir);
36 myMk->SetOff48(off48);
41 myMk->SetMaxEta(maxEta);
52 printf(
" requested maxEve=%d\n",maxEve);
56 if(eventCounter >maxEve)
break;
58 int stat = chain->Make();
60 if(eventCounter%1000)
continue;
64 printf(
".C: eve=%d Nprim=%d\n",eventCounter,n);
static TObjArray * primaryTracks()
returns pointer to a list of tracks belonging to the selected primary vertex
static StMuEvent * event()
returns pointer to current StMuEvent (class holding the event wise information, e.g. event number, run number)
This commented block at the top ...