2 gROOT->Macro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
3 gStyle->SetPadGridX(0);
4 gStyle->SetPadGridY(0);
6 muMk=
new StMuDstMaker(0,0,
"",
"/star/data42/reco/productionMinBias/ReversedFullField/P05ic/2004/008/st_physics_5008027_raw_4020001.MuDst.root");
10 const Int_t max_trig=32;
13 for (Int_t i_evt=0; i_evt<n_evt; i_evt++) {
14 Int_t ret=muMk->
Make();
18 cout <<
"Run " <<
event->runId() <<
", event " <<
event->eventId() << endl;
19 StTriggerId &nom_trig=
event->triggerIdCollection().nominal();
21 for (Int_t i_trig=0; i_trig<max_trig; i_trig++) {
22 if (nom_trig.triggerId(i_trig)!=0)
23 cout << nom_trig.triggerId(i_trig) <<
" (v " << nom_trig.version(i_trig)<<
") ";
25 cout <<
"WHAAAAAAT??? No trigger Id ????" << endl;
28 cout <<
"vertex: " <<
event->primaryVertexPosition() << endl;
31 cout <<
"L2Result.GetSize " <<
event->L2Result().GetSize() << endl;
33 for (Int_t i_trig=0; i_trig<7; i_trig++) {
34 cout <<
"L2 trig " << i_trig <<
" : isTrig "
35 << trgData->isL2Triggered((StL2AlgorithmId)i_trig) << endl;
37 int L2ResSize=
event->L2Result().GetSize();
39 cout <<
"\nL2result size="<<L2ResSize<<
" dump raw values :"<<endl;
40 for(k=0;k<L2ResSize;k++) {
41 cout<<
"k="<<k<<
" val/dec="<<L2Res[k]<<endl;
static StMuEvent * event()
returns pointer to current StMuEvent (class holding the event wise information, e.g. event number, run number)