10 int rdMuDstAndGeant2Lcp(
int maxEve=2,
int subSet=2721,
char * wrkDir=
"./wrkLcpX/"){
13 char * evePath=
"/star/data26/reco/pp200/pythia_6.203/default/minbias/year2003/hadronic_on/trs_ic/";
14 TString coreFile=
"rcf1200_";
16 coreFile+=
"_2000evts";
17 printf(
"Working on subSet '%s'\n",coreFile.Data());
19 TString muDstFile=evePath+coreFile+
".MuDst.root";
20 TString geantFile =evePath+coreFile+
".geant.root";
23 gROOT->LoadMacro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
24 loadSharedLibraries();
25 cout <<
" loading done " << endl;
28 assert(gSystem->Load(
"StEEmcPoolLCP")==0 );
39 IOMk->SetBranch(
"*",0,
"0");
40 IOMk->SetBranch(
"geantBranch",0,
"r");
44 muMk =
new StMuDstMaker(0,0,
"/",muDstFile,
"MuDst.root",maxList);
48 myMk2->SetOutDir(wrkDir);
49 myMk2->InitRunFromMake(888999);
53 myMk->SetOutDir(wrkDir);
54 myMk->SetMaxEta(maxEta);
55 myMk->InitRunFromMake(888999);
64 printf(
" requested maxEve=%d\n",maxEve);
68 if(eventCounter >maxEve)
break;
70 int stat = chain->Make();
78 printf(
"eve=%d Nprim=%d ID=%d runID=%d\n",eventCounter,n,info.id(),info.runId());
virtual void SetIOMode(Option_t *iomode="w")
number of transactions
This commented block at the top ...
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 ...