StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHltTrackNode.h
1 /***************************************************************************
2  *
3  * $Id: StHltTrackNode.h,v 2.1 2011/02/01 19:45:47 ullrich Exp $
4  *
5  * Author: Liang Xue, Aihong Tang, Jan 2011
6  ***************************************************************************
7  *
8  * Description:
9  *
10  ***************************************************************************
11  *
12  * $Log: StHltTrackNode.h,v $
13  * Revision 2.1 2011/02/01 19:45:47 ullrich
14  * Initial Revision
15  *
16  **************************************************************************/
17 #ifndef StHltTrackNode_hh
18 #define StHltTrackNode_hh
19 
20 #include <Stiostream.h>
21 #include "StObject.h"
22 #include "StArray.h"
23 
24 #include "StHltTriggerReasonCapable.h"
25 
26 class StHltTrack;
27 class StHltBTofHit;
28 class StHltBEmcTowerHit;
29 
30 
32 public:
34  ~StHltTrackNode();
35 
37  const StHltTrack* globalTrack() const;
38 
39  StHltTrack* primaryTrack();
40  const StHltTrack* primaryTrack() const;
41 
42  StHltBTofHit* bTofHit();
43  const StHltBTofHit* bTofHit() const;
44 
45  StHltBEmcTowerHit* bEmcTowerHit();
46  const StHltBEmcTowerHit* bEmcTowerHit() const;
47 
48  int globalTrackSN() const;
49  int primaryTrackSN() const;
50  int tofHitSN() const;
51  int emcTowerSN() const;
52 
53  double bEmcMatchPhiDiff() const;
54  double bEmcMatchZEdge() const;
55 
56  float bTofProjChannel() const;
57  float bTofCellLocalY() const;
58  float bTofCellLocalZ() const;
59  float bTofPathLength() const;
60  float beta() const;
61  float tof() const;
62 
63  void setGlobalTrack(StHltTrack*);
64  void setPrimaryTrack(StHltTrack*);
65  void setBTofHit(StHltBTofHit*);
66  void setBEmcTowerHit(StHltBEmcTowerHit*);
67  void setGlobalTrackSN(int);
68  void setPrimaryTrackSN(int);
69  void setTofHitSN(int);
70  void setEmcTowerSN(int);
71  void setBEmcMatchPhiDiff(double);
72  void setBEmcMatchZEdge(double);
73  void setBTofProjChannel(float);
74  void setBTofCellLocalY(float);
75  void setBTofCellLocalZ(float);
76  void setBTofPathLength(float);
77  void setBeta(float);
78  void setTof(float);
79 
80 private:
81 
82 #ifdef __CINT__
83  StObjLink mGlobalTrack;
84  StObjLink mPrimaryTrack;
85  StObjLink mBTofHit;
86  StObjLink mBEmcTowerHit;
87 #else
88  StLink<StHltTrack> mGlobalTrack;
89  StLink<StHltTrack> mPrimaryTrack;
90  StLink<StHltBTofHit> mBTofHit;
91  StLink<StHltBEmcTowerHit> mBEmcTowerHit;
92 #endif //__CINT__
93 
94  double mBEmcMatchPhiDiff;
95  double mBEmcMatchZEdge;
96 
97  int mGlobalTrackSN;
98  int mPrimaryTrackSN;
99  int mTofHitSN;
100  int mEmcTowerSN;
101 
102  float mBTofProjChannel;
103  float mBTofCellLocalY;
104  float mBTofCellLocalZ;
105  float mBTofPathLength;
106  float mBeta;
107  float mTof;
108 
109  ClassDef(StHltTrackNode,1)
110 };
111 
112 ostream& operator<<(ostream&, const StHltTrackNode&);
113 
114 
115 #endif
116 
117 
118 
119 
120 
121 
Definition: tof.h:15