42 #ifndef StDcaGeometry_hh
43 #define StDcaGeometry_hh
45 #include "StThreeVectorF.hh"
46 #include "StPhysicalHelixD.hh"
47 #include "THelixTrack.h"
54 Int_t charge()
const {
return (mPti>0)? -1:1;}
55 Double_t impact()
const {
return mImp;}
56 Double_t curvature()
const {
return mCurv;}
57 Double_t psi()
const {
return mPsi ;}
58 Double_t dipAngle()
const {
return atan(mTan);}
59 Double_t tanDip()
const {
return mTan ;}
60 Double_t pt()
const {
return 1./fabs(mPti);}
61 Double_t z()
const {
return mZ ;}
62 Double_t hz()
const {
return mCurv/mPti;}
67 const float*
params()
const {
return &mImp;}
68 const float* errMatrix()
const {
return &mImpImp;}
69 void GetXYZ(Double_t xyzp[6], Double_t CovXyzp[21])
const;
70 virtual void Print(Option_t *option =
"")
const;
74 void set(
const Float_t pars[6],
const Float_t errs[15]);
75 void set(
const Double_t pars[6],
const Double_t errs[15]);
97 Float_t mPsiImp, mPsiZ, mPsiPsi;
98 Float_t mPtiImp, mPtiZ, mPtiPsi, mPtiPti;
99 Float_t mTanImp, mTanZ, mTanPsi, mTanPti, mTanTan;