StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHiMicroTrack.h
1 /***************************************************************************
2  *
3  * $Id: StHiMicroTrack.h,v 1.1 2002/04/02 19:36:15 jklay Exp $
4  *
5  * Author: Bum Choi, UT Austin, Apr 2002
6  *
7  ***************************************************************************
8  *
9  * Description: This is a uDST for highpt Analysis: Track information
10  *
11  ***************************************************************************
12  *
13  * $Log: StHiMicroTrack.h,v $
14  * Revision 1.1 2002/04/02 19:36:15 jklay
15  * Bums highpt uDST format
16  *
17  *
18  **************************************************************************/
19 #ifndef StHiMicroTrack_H
20 #define StHiMicroTrack_H
21 
22 #include "TObject.h"
23 
24 class StHiMicroTrack : public TObject{
25  public:
27  virtual ~StHiMicroTrack();
28 
29 //Accessor methods
30  Float_t PtPr() const { return mPtPr; }
31  Float_t PtGl() const { return mPtGl; }
32  Float_t CurvPr() const { return mCurvPr; }
33  Float_t CurvGl() const { return mCurvGl; }
34  Float_t EtaPr() const { return mEtaPr; }
35  Float_t PhiPr() const { return mPhiPr; }
36  Float_t EtaGl() const { return mEtaGl; }
37  Float_t PhiGl() const { return mPhiGl; }
38  Float_t DcaPr() const { return mDcaPr; } //3d
39  Float_t DcaGl() const { return mDcaGl; } //3d
40  Float_t DcaXYPr() const { return mDcaXYPr; }
41  Float_t DcaXYGl() const { return mDcaXYGl; }
42  Float_t DcaZGl() const { return mDcaZGl; }
43  Float_t Dedx() const { return mDedx; }
44  Float_t Chi2() const { return mChi2; }
45  Float_t FirstZ() const { return mFirstZ; }
46  Float_t LastZ() const { return mLastZ; }
47  Short_t FirstPadRow() const { return mFirstPadrow; }
48  Short_t LastPadRow() const { return mLastPadrow; }
49  Short_t InnerPadList() const { return mInnerPadList; }
50  Int_t OuterPadList() const { return mOuterPadList; }
51  Short_t FirstSector() const { return mFirstSector; }
52  Short_t LastSector() const { return mLastSector; }
53  Float_t DipAnglePr() const { return mDipAnglePr; }
54  Float_t DipAngleGl() const { return mDipAngleGl; }
55  Float_t CrossingAngle() const { return mCrossingAngle; }
56  Float_t ResPtGlPr() const { return mResPtGlPr; }
57  Float_t ResCurvGlPr() const { return mResCurvGlPr; }
58  Short_t DedxPts() const { return mDedxPts; }
59  Short_t FitPts() const { return mFitPts; }
60  Short_t AllPts() const { return mAllPts; }
61  Short_t MaxPossPts() const { return mMaxPossPts; }
62  Short_t Flag() const { return mFlag; }
63  Short_t Charge() const { return mCharge; }
64  Float_t AvgOutXYRes() const { return mAvgOutXYRes; }
65  Float_t AvgInXYRes() const { return mAvgInXYRes; }
66 
67  //Set methods
68  void SetPtPr(Float_t val) { mPtPr=val;}
69  void SetPtGl(Float_t val) { mPtGl=val;}
70  void SetCurvPr(Float_t val) { mCurvPr=val;}
71  void SetCurvGl(Float_t val) { mCurvGl=val;}
72 
73  void SetEtaPr(Float_t val) { mEtaPr=val;}
74  void SetPhiPr(Float_t val) { mPhiPr=val;}
75  void SetEtaGl(Float_t val) { mEtaGl=val;}
76  void SetPhiGl(Float_t val) { mPhiGl=val;}
77  void SetDcaPr(Float_t val) { mDcaPr=val;}
78  void SetDcaGl(Float_t val) { mDcaGl=val;}
79  void SetDcaXYPr(Float_t val) { mDcaXYPr=val; }
80  void SetDcaXYGl(Float_t val) { mDcaXYGl=val; }
81  void SetDcaZGl(Float_t val) { mDcaZGl=val; }
82  void SetDedx(Float_t val) { mDedx=val; }
83  void SetDedxPts(Int_t val) { mDedxPts=val; }
84  void SetChi2(Float_t val) { mChi2=val; }
85  void SetFirstZ(Float_t val) { mFirstZ=val; }
86  void SetLastZ(Float_t val) { mLastZ=val; }
87  void SetFirstPadrow(Short_t val) { mFirstPadrow=val; }
88  void SetLastPadrow(Short_t val) { mLastPadrow=val; }
89  void SetInnerPadList(Short_t val) { mInnerPadList=val; }
90  void SetOuterPadList(Int_t val) { mOuterPadList=val; }
91  void SetFirstSector(Short_t val) { mFirstSector=val; }
92  void SetLastSector(Short_t val) { mLastSector=val; }
93  void SetDipAnglePr(Float_t val) { mDipAnglePr=val; }
94  void SetDipAngleGl(Float_t val) { mDipAngleGl=val;}
95  void SetCrossingAngle(Float_t val) { mCrossingAngle=val;}
96 
97  void SetFitPts(Short_t val) { mFitPts=val; }
98  void SetAllPts(Short_t val) { mAllPts=val; }
99  void SetMaxPossPts(Short_t val) { mMaxPossPts=val; }
100  void SetFlag(Short_t val) { mFlag=val; }
101  void SetCharge(Short_t val) { mCharge=val; }
102  void SetAvgOutXYRes(Float_t val) { mAvgOutXYRes=val; }
103  void SetAvgInXYRes(Float_t val) { mAvgInXYRes=val; }
104 
105  private:
106 
107  Float_t mPtPr;
108  Float_t mPtGl;
109  Float_t mCurvPr;
110  Float_t mCurvGl;
111  Float_t mEtaPr;
112  Float_t mPhiPr;
113  Float_t mEtaGl;
114  Float_t mPhiGl;
115  Float_t mDcaPr; // dca3d primary (0)
116  Float_t mDcaGl;
117  Float_t mDcaXYPr;
118  Float_t mDcaXYGl;
119  Float_t mDcaZGl;
120  Float_t mDedx;
121 
122  Float_t mChi2; // meaningless
123 
124  Float_t mFirstZ;
125  Float_t mLastZ;
126  Short_t mFirstPadrow;
127  Short_t mPadrowList;
128  Short_t mLastPadrow;
129  Short_t mInnerPadList; //Bitwise Encoded list of hit pads (Inner)
130  Int_t mOuterPadList; //Bitwise Encoded list of hit pads (Outer)
131  Short_t mFirstSector;
132  Short_t mLastSector;
133 
134  Float_t mDipAnglePr;
135  Float_t mDipAngleGl;
136 
137  Float_t mCrossingAngle;
138 
139  Float_t mResPtGlPr;
140  Float_t mResCurvGlPr;
141  Short_t mDedxPts;
142  Short_t mFitPts;
143  Short_t mAllPts;
144  Short_t mMaxPossPts;
145  Short_t mFlag;
146  Short_t mCharge;
147 
148  Float_t mAvgOutXYRes;
149  Float_t mAvgInXYRes;
150 
151  protected:
152  ClassDef(StHiMicroTrack,1)
153 };
154 
155 #endif