7 #ifndef StEmcMicroTrack__h
8 #define StEmcMicroTrack__h
24 Float_t
getPt()
const {
return mP*sin(2*atan(exp(-mEta))); }
25 Float_t
getP()
const {
return mP; }
26 Float_t
getEta()
const {
return mEta; }
27 Float_t
getPhi()
const {
return mPhi; }
30 Short_t
getCharge()
const {
return (Int_t)mCharge; }
31 Float_t
getDca()
const {
return mDca; }
33 Float_t
getChi2()
const {
return (Float_t)mChi2/1000.; }
36 Int_t
getNhits()
const {
return (Int_t)mNhits; }
42 Int_t
getFlag()
const {
return (Int_t)mFlag; }
44 void setP(Float_t p) { mP = p; }
45 void setEta(Float_t eta) { mEta = eta; }
46 void setPhi(Float_t phi) { mPhi = phi; }
47 void setCurvature(Float_t c) { mCurvature = c; }
48 void setOrigin(Float_t x,Float_t y,Float_t z) { mX[0]=x; mX[1]=y; mX[2]=z;}
49 void setCharge(Short_t charge) { mCharge = (Char_t)charge; }
50 void setDca(Float_t dca) { mDca = dca; }
51 void setDcaSigned(Float_t sdca) { mDcaSigned = sdca; }
52 void setChi2(Float_t chi2) { mChi2 = (Int_t)(chi2*1000.); }
53 void setFitPts(Int_t fitPts) { mFitPts = (Char_t)fitPts; }
54 void setMaxPts(Int_t maxPts) { mMaxPts = (Char_t)maxPts; }
55 void setNhits(Int_t nhits) { mNhits = (Char_t)nhits; }
56 void setDedx(Float_t Dedx) { mDedx = Dedx; }
57 void setDedxErr(Float_t err) { mDedxErr = err; }
58 void setNdedxPts(Int_t ndedxPts) { mNdedxPts = (Char_t)ndedxPts; }
59 void setTrackLength(Float_t tl) { mTrackLength = tl; }
60 void setTrackNodeNumber(Int_t n) { mTrackNode = n; }
61 void setFlag(Int_t n) { mFlag = (Char_t)n; }
Float_t getOrigin(Int_t i) const
Return Origin of the track (0=X, 1=Y, 2=Z)
Float_t getPt() const
Return PT of the track.
Float_t getChi2() const
Return ChiSquare of the track.
Float_t getPhi() const
Return Phi of the track.
Int_t getNhits() const
Return Number of hits of the track.
Float_t getDcaSigned() const
Return DCA signed of the track.
Short_t getCharge() const
Return Charge of the track.
Float_t getDca() const
Return DCA of the track.
Float_t getDedx() const
Return dE/dX of the track.
Int_t getFitPts() const
Return Number of fit points of the track.
Int_t getMaxPts() const
Return Max number of points of the track.
Float_t getDedxErr() const
Return dE/dX error on mean value.
Float_t getCurvature() const
Return Curvature of the track.
Int_t getNdedxPts() const
Return dE/dX number of points of the track.
Float_t getTrackLength() const
Return track length.
Float_t getP() const
Return P of the track.
Float_t getEta() const
Return Eta of the track.
Int_t getTrackNode() const
Return track node (useful for StEvent Reconstruction)
Int_t getFlag() const
Return flag of the track.