8 gROOT->Macro(
"loadMuDst.C");
11 mudst_mk=
new StMuDstMaker(0,0,
"/star/data42/reco/production62GeV/ReversedFullField/P04ie/2004/088/",
"st_physics_5088062_raw_4040003.MuDst.root");
13 mudst_mk->SetStatus(
"*",0);
14 mudst_mk->SetStatus(
"MuEvent",1);
15 mudst_mk->SetStatus(
"PrimaryTracks",1);
21 for (Int_t i_evt=0; i_evt<n_evt; i_evt++) {
23 if (mudst_mk->muDst()==0) {
24 cout <<
"No event" << endl;
27 StMuDst *mudst=mudst_mk->muDst();
28 cout <<
"Event " << mudst->
event()->eventId() <<
": "
29 << mudst->numberOfPrimaryTracks() <<
" primary tracks, "
30 << mudst->numberOfGlobalTracks() <<
" global tracks" << endl;
34 cout <<
"Total time "; time_all.Print();
35 cout <<
"loop "; time_loop.Print();
StMuDstMaker(const char *name="MuDst")
Default constructor.
static StMuEvent * event()
returns pointer to current StMuEvent (class holding the event wise information, e.g. event number, run number)