StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHltHeavyFragment.h
1 /***************************************************************************
2  *
3  * $Id: StHltHeavyFragment.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: StHltHeavyFragment.h,v $
13  * Revision 2.1 2011/02/01 19:45:47 ullrich
14  * Initial Revision
15  *
16  **************************************************************************/
17 #ifndef StHltHeavyFragment_hh
18 #define StHltHeavyFragment_hh
19 
20 #include <Stiostream.h>
21 #include "StObject.h"
22 #include "StArray.h"
23 
24 #include "StHltTrack.h"
25 #include "StHltBTofHit.h"
26 #include "StHltBEmcTowerHit.h"
27 #include "StHltTriggerReasonCapable.h"
28 
30 
31 public:
32 
35 
36  StHltTrack& primaryTrack();
37  const StHltTrack& primaryTrack() const;
39  const StHltTrack& globalTrack() const;
40  StHltBTofHit& bTofHit();
41  const StHltBTofHit& bTofHit() const;
42  StHltBEmcTowerHit& bEmcTowerHit();
43  const StHltBEmcTowerHit& bEmcTowerHit() const;
44 
45  int globalTrackSN() const;
46  int primaryTrackSN() const;
47  int tofHitSN() const;
48  int emcTowerSN() const;
49 
50  double bEmcMatchPhiDiff() const;
51  double bEmcMatchZEdge() const;
52 
53  float bTofProjChannel() const;
54  float bTofCellLocalY() const;
55  float bTofCellLocalZ() const;
56  float bTofPathLength() const;
57  float beta() const;
58  float tof() const;
59 
60  void setGlobalTrack(const StHltTrack &);
61  void setPrimaryTrack(const StHltTrack &);
62  void setBTofHit(const StHltBTofHit &);
63  void setBEmcTowerHit(const StHltBEmcTowerHit &);
64  void setGlobalTrackSN(int);
65  void setPrimaryTrackSN(int);
66  void setTofHitSN(int);
67  void setEmcTowerSN(int);
68  void setBEmcMatchPhiDiff(double);
69  void setBEmcMatchZEdge(double);
70  void setBTofProjChannel(float);
71  void setBTofCellLocalY(float);
72  void setBTofCellLocalZ(float);
73  void setBTofPathLength(float);
74  void setBeta(float);
75  void setTof(float);
76 
77 private:
78 
79  StHltTrack mPrimaryTrack;
80  StHltTrack mGlobalTrack;
81  StHltBTofHit mBTofHit;
82  StHltBEmcTowerHit mBEmcTowerHit;
83 
84  double mBEmcMatchPhiDiff;
85  double mBEmcMatchZEdge;
86 
87  int mGlobalTrackSN;
88  int mPrimaryTrackSN;
89  int mTofHitSN;
90  int mEmcTowerSN;
91 
92  float mBTofProjChannel;
93  float mBTofCellLocalY;
94  float mBTofCellLocalZ;
95  float mBTofPathLength;
96  float mBeta;
97  float mTof;
98 
99  ClassDef(StHltHeavyFragment,1)
100 };
101 
102 ostream& operator<<(ostream&, const StHltHeavyFragment&);
103 
104 
105 #endif
106 
107 
Definition: tof.h:15