3 #include "StjSpinMuDst.h"
5 #include <StMuDSTMaker/COMMON/StMuDstMaker.h>
6 #include <StMuDSTMaker/COMMON/StMuDst.h>
7 #include <StMuDSTMaker/COMMON/StMuEvent.h>
13 return _uDstMaker->muDst()->event()->runId();
16 int StjSpinMuDst::eventId()
18 return _uDstMaker->
muDst()->
event()->eventId();
21 int StjSpinMuDst::bx7()
23 return _uDstMaker->
muDst()->
event()->l0Trigger().bunchCrossingId7bit( runNumber() );
26 int StjSpinMuDst::bx48()
28 return _uDstMaker->
muDst()->
event()->l0Trigger().bunchCrossingId();
31 int StjSpinMuDst::spin4()
33 return _uDstMaker->
muDst()->
event()->l0Trigger().spinBits( runNumber() );
36 int StjSpinMuDst::bbcTimebin()
38 return _uDstMaker->
muDst()->
event()->bbcTriggerDetector().onlineTimeDifference()/32;
41 double StjSpinMuDst::vertexZ()
StThreeVectorF primaryVertexPosition(int vtx_id=-1) const
The StMuDst is supposed to be structured in 'physical events'. Therefore there is only 1 primary vert...
static StMuEvent * event()
returns pointer to current StMuEvent (class holding the event wise information, e.g. event number, run number)