16 #ifndef StTinyRcTrack_H
17 #define StTinyRcTrack_H
26 void setValidGl() {mIsValidGl = 1;}
27 void setValidPr() {mIsValidPr = 1;}
28 void setPtPr(Float_t val){ mPtPr=val; }
29 void setPzPr(Float_t val){ mPzPr=val; }
30 void setEtaPr(Float_t val) { mEtaPr=val; }
31 void setPhiPr(Float_t val) { mPhiPr=val; }
32 void setDca(
int idca) { mIsDca=idca; }
33 void setDcaPr(Float_t val) { mDcaPr=val; }
35 void setDcaXYPr(Float_t val) { mDcaXYPr=val; }
36 void setDcaZPr(Float_t val) { mDcaZPrMcV=val; }
37 void setDcaXYPrMcV(Float_t val) { mDcaXYPrMcV=val; }
38 void setDcaZPrMcV(Float_t val) { mDcaZPr=val; }
39 void setCurvPr(Float_t val) {mCurvPr=val; }
40 void setTanLPr(Float_t val) {mTanLPr=val; }
41 void setErrPr(Float_t val[5]) {
for (
short j=0; j<5; ++j) mErrP[j] = val[j]; }
43 void setChi2Pr(Float_t val) { mChi2Pr=val; }
44 void setFlag(Short_t val) { mFlag=val; }
45 void setDedx(Float_t val) { mDedx=val; }
47 void setPtGl(Float_t val){ mPtGl=val; }
48 void setPzGl(Float_t val){ mPzGl=val; }
49 void setEtaGl(Float_t val) { mEtaGl=val; }
50 void setPhiGl(Float_t val) { mPhiGl=val; }
51 void setDca00(Float_t val) { mDca00=val; }
52 void setDcaGl(Float_t val) { mDcaGl=val; }
53 void setDcaXYGl(Float_t val) { mDcaXYGl=val; }
54 void setDcaZGl(Float_t val) { mDcaZGl=val; }
55 void setDcaXYGlMcV(Float_t val) { mDcaXYGlMcV=val; }
56 void setDcaZGlMcV(Float_t val) { mDcaZGlMcV=val; }
57 void setCurvGl(Float_t val) { mCurvGl=val; }
58 void setTanLGl(Float_t val) { mTanLGl=val; }
59 void setErrGl(Float_t val[5]) {
for (
short j=0; j<5; ++j) mErrG[j] = val[j]; }
61 void setPidPion(Float_t val) { mPidPion=val; }
62 void setPidProton(Float_t val) { mPidProton=val; }
63 void setPidKaon(Float_t val) { mPidKaon=val; }
64 void setPidElectron(Float_t val) { mPidElectron=val; }
66 void setFirstZ(Float_t val) { mFirstZ=val; }
67 void setLastZ(Float_t val) { mLastZ=val; }
68 void setFirstPadrow(Short_t val) { mFirstPadrow=val; }
69 void setLastPadrow(Short_t val) { mLastPadrow=val; }
70 void setFirstFitPadrow(Short_t val){ mFirstFitPadrow=val; }
71 void setLastFitPadrow(Short_t val) { mLastFitPadrow=val; }
73 void setRecoKey(Int_t val) { mRecoKey=val; }
74 void setFirstSector(Short_t val) { mFirstSector=val; }
75 void setLastSector(Short_t val) { mLastSector=val; }
76 void setFitPts(Short_t val) { mFitPts=val; }
77 void setFitFtpc(Short_t val) { mFitFtpc=val; }
78 void setFitSvt(Short_t val) { mFitSvt=val; }
79 void setFitSsd(Short_t val) { mFitSsd=val; }
80 void setDedxPts(Short_t val) { mDedxPts=val; }
81 void setAllPts(Short_t val) { mAllPts=val; }
82 void setCharge(Short_t val) { mCharge=val; }
83 void setNAssocMc(Short_t val) { mNAssocMc=val; }
84 void setNPossible(Short_t val) { mNPossible=val; }
86 void setEmcTowerAdc(Short_t val,
size_t index) {
if (index<3) mEmcTowerAdc[index]=val; }
87 void setEmcEnergyRcHit(Float_t val,
size_t index) {
if (index<3) mEmcEnergyRcHit[index]=val; }
88 void setEmcSoftIdHiTowerRc(Short_t val,
size_t index) {
if (index<3) mEmcSoftIdHiTowerRc[index]=val; }
89 void setSeedQuality(UShort_t qa) {mSeedQA = qa;}
90 float ptPr()
const {
return mPtPr; }
91 float pxPr()
const {
return mPtPr*cos(mPhiPr); }
92 float pyPr()
const {
return mPtPr*sin(mPhiPr); }
93 float pzPr()
const {
return mPzPr; }
94 float pPr()
const { return ::sqrt((mPtPr*mPtPr) + (mPzPr*mPzPr)); }
95 float etaPr()
const {
return mEtaPr; }
96 float phiPr()
const {
return mPhiPr; }
97 float dcaPr()
const {
return mDcaPr; }
98 float dcaXYPr()
const {
return mDcaXYPr; }
99 float dcaZPr()
const {
return mDcaZPr; }
100 float curvPr()
const {
return mCurvPr; }
101 float tanLPr()
const {
return mTanLPr; }
102 float errPr(
size_t i)
const {
return (i<5) ? mErrP[i] : 0; }
104 float chi2Pr()
const {
return mChi2Pr; }
105 short flag()
const {
return mFlag; }
106 float dedx()
const {
return mDedx; }
108 float ptGl()
const {
return mPtGl; }
109 float pxGl()
const {
return mPtGl*cos(mPhiGl); }
110 float pyGl()
const {
return mPtGl*sin(mPhiGl); }
111 float pzGl()
const {
return mPzGl; }
112 float pGl()
const { return ::sqrt((mPtGl*mPtGl) + (mPzGl*mPzGl)); }
113 float etaGl()
const {
return mEtaGl; }
114 float phiGl()
const {
return mPhiGl; }
115 float dcaGl()
const {
return mDcaGl; }
116 float dcaXYGl()
const {
return mDcaXYGl; }
117 float dcaZGl()
const {
return mDcaZGl; }
118 float curvGl()
const {
return mCurvGl; }
119 float tanLGl()
const {
return mTanLGl; }
120 float errGl(
size_t i)
const {
return (i<5) ? mErrG[i] : 0; }
122 float pidPion()
const {
return mPidPion; }
123 float pidProton()
const {
return mPidProton; }
124 float pidKaon()
const {
return mPidKaon; }
125 float pidElectron()
const {
return mPidElectron; }
127 float firstZ()
const {
return mFirstZ; }
128 float lastZ()
const {
return mLastZ; }
129 short firstPadrow()
const {
return mFirstPadrow; }
130 short lastPadrow()
const {
return mLastPadrow; }
131 short firstFitPadrow()
const {
return mFirstFitPadrow; }
132 short fastFitPadrow()
const {
return mLastFitPadrow; }
134 int recoKey()
const {
return mRecoKey; }
135 short firstSector()
const {
return mFirstSector; }
136 short lastSector()
const {
return mLastSector; }
137 short fitPts()
const {
return mFitPts; }
138 short fitPtsFtpc()
const {
return mFitFtpc; }
139 short fitPtsSvt()
const {
return mFitSvt; }
140 short fitPtsSsd()
const {
return mFitSsd; }
141 short dedxPts()
const {
return mDedxPts; }
142 short allPts()
const {
return mAllPts; }
143 short charge()
const {
return mCharge; }
144 short nAssocMc()
const {
return mNAssocMc; }
145 short nPossiblePts()
const {
return mNPossible; }
147 short emcTowerAdc(
size_t index)
const {
if (index<3)
return mEmcTowerAdc[index];
else return -999;}
148 float emcEnergyRcHit(
size_t index)
const {
if (index<3)
return mEmcEnergyRcHit[index];
else return -999;}
149 short emcSoftIdHiTowerRc(
size_t index)
const {
if (index<3)
return mEmcSoftIdHiTowerRc[index];
else return -999;}
150 UShort_t seedQuality() {
return mSeedQA;}
152 virtual void Print(Option_t *option=
"")
const;
202 Float_t mPidElectron;
213 Short_t mFirstPadrow;
215 Short_t mFirstFitPadrow;
216 Short_t mLastFitPadrow;
217 Short_t mFirstSector;
233 Short_t mEmcTowerAdc[3];
234 Float_t mEmcEnergyRcHit[3];
235 Short_t mEmcSoftIdHiTowerRc[3];