1 #include "StHbtMaker/Infrastructure/StHbtXi.hh"
2 #include "StHbtMaker/Infrastructure/StHbtTTreeXi.h"
3 #include "phys_constants.h"
6 void StHbtXi::UpdateXi(){
8 float MomV0AlongXi, MomBacAlongXi;
10 mMomXi = momV0() + momBac();
11 mPtXi = mMomXi.perp();
12 mPtotXi = mMomXi.mag();
13 mPtBac = momBac().perp();
14 mPtotBac= momBac().mag();
15 mEXi= ::sqrt(mPtotXi*mPtotXi+M_XI_MINUS*M_XI_MINUS);
16 mEOmega= ::sqrt(mPtotXi*mPtotXi+M_OMEGA_MINUS*M_OMEGA_MINUS);
17 mEBacPion = ::sqrt(ptotBac()*ptotBac()+M_PION_MINUS*M_PION_MINUS);
18 mEBacKaon = ::sqrt(ptotBac()*ptotBac()+M_KAON_MINUS*M_KAON_MINUS);
20 MomV0AlongXi = momV0()*mMomXi / ::sqrt(::pow(mPtotXi,2));
21 MomBacAlongXi = momBac()*mMomXi / ::sqrt(::pow(mPtotXi,2));
23 mAlphaXi = (MomBacAlongXi-MomV0AlongXi)/(MomBacAlongXi+MomV0AlongXi);
24 mPtArmXi = ::sqrt(ptotBac()*ptotBac() - MomBacAlongXi*MomBacAlongXi);
25 mMassXi = ::sqrt(::pow(eBacPion()+eLambda(),2)-::pow(mPtotXi,2));
26 mMassOmega = ::sqrt(::pow(eBacKaon()+eLambda(),2)-::pow(mPtotXi,2));
28 mRapXi = 0.5*::log( (eXi()+mMomXi.z()) / (eXi()-mMomXi.z()) );
29 mCTauXi = M_XI_MINUS*(mDecayLengthXi) / ::sqrt( ::pow((
double)mMomXi.mag(),2.) );
31 mRapOmega = 0.5*::log( (eOmega()+mMomXi.z()) / (eOmega()-mMomXi.z()) );
32 mCTauOmega = M_OMEGA_MINUS*(mDecayLengthXi) / ::sqrt( ::pow((
double)mMomXi.mag(),2.) );
36 #include "StStrangeMuDstMaker/StXiMuDst.hh"
41 mCharge = xiFromMuDst.
charge();
43 mDecayVertexXi.setX(xiFromMuDst.decayVertexXiX());
44 mDecayVertexXi.setY(xiFromMuDst.decayVertexXiY());
49 mMomBachelor.setX(xiFromMuDst.momBachelorX());
50 mMomBachelor.setY(xiFromMuDst.momBachelorY());
58 mChi2Xi = xiFromMuDst.
chi2Xi();
59 mClXi = xiFromMuDst.
clXi();
71 mCharge = xi->mCharge;
72 mDecayVertexXi.setX(xi->mDecayVertexXiX);
73 mDecayVertexXi.setY(xi->mDecayVertexXiY);
74 mDecayVertexXi.setZ(xi->mDecayVertexXiZ);
75 mDcaXiDaughters = xi->mDcaXiDaughters;
76 mDcaBachelorToPrimVertex = xi->mDcaBachelorToPrimVertex;
77 mDcaXiToPrimVertex = xi->mDcaXiToPrimVertex;
78 mMomBachelor.setX(xi->mMomBachelorX);
79 mMomBachelor.setY(xi->mMomBachelorY);
80 mMomBachelor.setZ(xi->mMomBachelorZ);
82 mKeyBachelor = xi->mKeyBachelor;
83 mTopologyMapBachelor[0] = xi->mTopologyMapBachelor[0];
84 mTopologyMapBachelor[1] = xi->mTopologyMapBachelor[1];
86 mChi2Xi = xi->mChi2Xi;
88 mChi2Bachelor = xi->mChi2Bachelor;
89 mClBachelor = xi->mClBachelor;
91 mDedxBachelor = xi->mDedxBachelor;
92 mNumDedxBachelor = xi->mNumDedxBachelor;
Float_t chi2Xi() const
Chi square of Xi (used only by MuDst)
Float_t clBachelor() const
Confidence level of bachelor.
StTrackTopologyMap & topologyMapBachelor()
Bachelor track topology map.
Float_t decayLengthXi() const
3-d decay distance of Xi
Float_t dcaBachelorToPrimVertex() const
DCA of bachelor to primary vertex.
Float_t dcaXiDaughters() const
DCA of xi daughters at decay vertex.
Int_t keyBachelor() const
Bachelor track key.
Int_t charge() const
Particle charge.
Float_t dcaXiToPrimVertex() const
DCA of xi to primary vertex.
Float_t clXi() const
Confidence level of Xi.
Float_t dedxBachelor() const
dE/dX of bachelor
Float_t chi2Bachelor() const
Chi square of bachelor.
Float_t momBachelorZ() const
Momentum components of bachelor.
UShort_t numDedxBachelor() const
Number of dE/dX points for bachelor.
Float_t decayVertexXiZ() const
Coordinates of decay vertex.