00001
00002
00003 #include "StjVertexMuDst.h"
00004
00005 #include <StMuDSTMaker/COMMON/StMuDstMaker.h>
00006 #include <StMuDSTMaker/COMMON/StMuDst.h>
00007 #include <StMuDSTMaker/COMMON/StMuEvent.h>
00008
00009 ClassImp(StjVertexMuDst)
00010
00011 int StjVertexMuDst::runNumber()
00012 {
00013 return _uDstMaker->muDst()->event()->runId();
00014 }
00015
00016 int StjVertexMuDst::eventId()
00017 {
00018 return _uDstMaker->muDst()->event()->eventId();
00019 }
00020
00021 double StjVertexMuDst::vertexZ()
00022 {
00023 return _uDstMaker->muDst()->event()->primaryVertexPosition().z();
00024 }
00025
00026 double StjVertexMuDst::vertexY()
00027 {
00028 return _uDstMaker->muDst()->event()->primaryVertexPosition().y();
00029 }
00030
00031 double StjVertexMuDst::vertexX()
00032 {
00033 return _uDstMaker->muDst()->event()->primaryVertexPosition().x();
00034 }