StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtTTreeTrack.h
1 /***************************************************************************
2  *
3  * $Id: StHbtTTreeTrack.h,v 1.1 2001/06/21 19:15:47 laue Exp $
4  *
5  * Author: Frank Laue, BNL, laue@bnl.gov
6  ***************************************************************************/
7 
8 #ifndef StHbtTTreeTrack_h
9 #define StHbtTTreeTrack_h
10 
11 #include "TObject.h"
12 #include "StarClassLibrary/StPhysicalHelixD.hh"
13 #include "StarClassLibrary/StHelixD.hh"
14 
15 // a StPhysicalHelix is 104 byes, so we make our own helix
16 
17 /* class smallHelix { */
18 /* public: */
19 /* smallHelix() {}; */
20 /* smallHelix(const StHelixD& hh) { */
21 /* c = hh.curvature(); */
22 /* dip = hh.dipAngle(); */
23 /* phase = hh.phase(); */
24 /* x = hh.origin().x(); */
25 /* y = hh.origin().y(); */
26 /* z = hh.origin().z(); */
27 /* h = hh.h(); */
28 /* } */
29 /* StPhysicalHelixD physicalHelix() { return StPhysicalHelixD(c,dip,phase,StThreeVectorD(x,y,z),h); } */
30 /* StHelixD helix() { return StHelixD(c,dip,phase,StThreeVectorD(x,y,z),h); } */
31 /* double c; */
32 /* double dip; */
33 /* double phase; */
34 /* double x; */
35 /* double y; */
36 /* double z; */
37 /* int h; */
38 /* }; */
39 
40 class StHbtEvent;
41 class StHbtTrack;
42 
43 //----------------------------------------------------------------------------
44 //----------------------------------------------------------------------------
45 //----------------------------------------------------------------------------
46 class StHbtTTreeTrack : public TObject {
47 public:
48  StHbtTTreeTrack(){/* no-op*/};
49  StHbtTTreeTrack(const StHbtEvent*, const StHbtTrack*);
50  // virtual ~StHbtTTreeTrack(){/* no-op*/};//!
51 private:
52  Short_t mTrackType;
53  Short_t mNHits;
54  Short_t mNHitsPoss;
55  Short_t mNHitsDedx;
56  Short_t mPidProbElectron;
57  Short_t mPidProbPion;
58  Short_t mPidProbKaon;
59  Short_t mPidProbProton;
60  Short_t mHelixH;
61  Short_t mHelixGlobalH;
62  Short_t mTrackId;
63  Float_t mNSigmaElectron;
64  Float_t mNSigmaPion;
65  Float_t mNSigmaKaon;
66  Float_t mNSigmaProton;
67  Float_t mdEdx;
68  Float_t mChiSqXY;
69  Float_t mChiSqZ;
70  UInt_t mMap[2];
71  Float_t mHelixC;
72  Float_t mHelixDip;
73  Float_t mHelixPhase;
74  Float_t mHelixX;
75  Float_t mHelixY;
76  Float_t mHelixZ;
77  Float_t mHelixGlobalC;
78  Float_t mHelixGlobalDip;
79  Float_t mHelixGlobalPhase;
80  Float_t mHelixGlobalX;
81  Float_t mHelixGlobalY;
82  Float_t mHelixGlobalZ;
83 
84  friend class StHbtTTreeReader;
85  friend class StHbtEvent;
86  friend class StHbtTrack;
87  ClassDef(StHbtTTreeTrack,1)
88 };
89 
90 #endif
91 
92 /***************************************************************************
93  *
94  * $Log: StHbtTTreeTrack.h,v $
95  * Revision 1.1 2001/06/21 19:15:47 laue
96  * Modified fiels:
97  * CTH.hh : new constructor added
98  * StHbtEvent, StHbtKink, StHbtTrack : constructors from the persistent
99  * (TTree) classes added
100  * StHbtLikeSignAnalysis : minor changes, for debugging
101  * StHbtTypes: split into different files
102  * Added files: for the new TTree muDst's
103  * StExceptions.cxx StExceptions.hh StHbtEnumeration.hh
104  * StHbtHelix.hh StHbtHisto.hh StHbtString.hh StHbtTFile.hh
105  * StHbtTTreeEvent.cxx StHbtTTreeEvent.h StHbtTTreeKink.cxx
106  * StHbtTTreeKink.h StHbtTTreeTrack.cxx StHbtTTreeTrack.h
107  * StHbtTTreeV0.cxx StHbtTTreeV0.h StHbtVector.hh
108  *
109  *
110  **************************************************************************/