StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHltDiElectron.h
1 /***************************************************************************
2  *
3  * $Id: StHltDiElectron.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: StHltDiElectron.h,v $
13  * Revision 2.1 2011/02/01 19:45:47 ullrich
14  * Initial Revision
15  *
16  **************************************************************************/
17 #ifndef StHltDiElectron_hh
18 #define StHltDiElectron_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 public:
31  StHltDiElectron();
32  ~StHltDiElectron();
33 
34  float invariantMass() const;
35  float pt() const;
36  float psi() const;
37  float tanl() const;
38 
40  const StHltTrack& daughter1primaryTrack() const;
42  const StHltTrack& daughter1globalTrack() const;
44  const StHltBTofHit& daughter1bTofHit() const;
47  int daughter1SelectionBit() const;
48  int daughter1globalTrackSN() const;
49  int daughter1primaryTrackSN() const;
50  int daughter1tofHitSN() const;
51  int daughter1emcTowerSN() const;
52  double daughter1bEmcMatchPhiDiff() const;
53  double daughter1bEmcMatchZEdge() const;
54  float daughter1bTofProjChannel() const;
55  float daughter1bTofCellLocalY() const;
56  float daughter1bTofCellLocalZ() const;
57  float daughter1bTofPathLength() const;
58  float daughter1beta() const;
59  float daughter1tof() const;
60 
62  const StHltTrack& daughter2primaryTrack() const;
64  const StHltTrack& daughter2globalTrack() const;
66  const StHltBTofHit& daughter2bTofHit() const;
69  int daughter2SelectionBit() const;
70  int daughter2globalTrackSN() const;
71  int daughter2primaryTrackSN() const;
72  int daughter2tofHitSN() const;
73  int daughter2emcTowerSN() const;
74  double daughter2bEmcMatchPhiDiff() const;
75  double daughter2bEmcMatchZEdge() const;
76  float daughter2bTofProjChannel() const;
77  float daughter2bTofCellLocalY() const;
78  float daughter2bTofCellLocalZ() const;
79  float daughter2bTofPathLength() const;
80  float daughter2beta() const;
81  float daughter2tof() const;
82 
83  void setInvariantMass(float);
84  void setPt(float);
85  void setPsi(float);
86  void setTanl(float);
87 
88  void setDaughter1GlobalTrack(const StHltTrack &);
89  void setDaughter1PrimaryTrack(const StHltTrack &);
90  void setDaughter1BTofHit(const StHltBTofHit &);
91  void setDaughter1BEmcTowerHit(const StHltBEmcTowerHit &);
92  void setDaughter1SelectionBit(int);
93  void setDaughter1GlobalTrackSN(int);
94  void setDaughter1PrimaryTrackSN(int);
95  void setDaughter1TofHitSN(int);
96  void setDaughter1EmcTowerSN(int);
97  void setDaughter1BEmcMatchPhiDiff(double);
98  void setDaughter1BEmcMatchZEdge(double);
99  void setDaughter1BTofProjChannel(float);
100  void setDaughter1BTofCellLocalY(float);
101  void setDaughter1BTofCellLocalZ(float);
102  void setDaughter1BTofPathLength(float);
103  void setDaughter1Beta(float);
104  void setDaughter1Tof(float);
105 
106  void setDaughter2GlobalTrack(const StHltTrack &);
107  void setDaughter2PrimaryTrack(const StHltTrack &);
108  void setDaughter2BTofHit(const StHltBTofHit &);
109  void setDaughter2BEmcTowerHit(const StHltBEmcTowerHit &);
110  void setDaughter2SelectionBit(int);
111  void setDaughter2GlobalTrackSN(int);
112  void setDaughter2PrimaryTrackSN(int);
113  void setDaughter2TofHitSN(int);
114  void setDaughter2EmcTowerSN(int);
115  void setDaughter2BEmcMatchPhiDiff(double);
116  void setDaughter2BEmcMatchZEdge(double);
117  void setDaughter2BTofProjChannel(float);
118  void setDaughter2BTofCellLocalY(float);
119  void setDaughter2BTofCellLocalZ(float);
120  void setDaughter2BTofPathLength(float);
121  void setDaughter2Beta(float);
122  void setDaughter2Tof(float);
123 
124 private:
125 
126  float mInvariantMass;
127  float mPt;
128  float mPsi;
129  float mTanl;
130 
131  StHltTrack mDaughter1PrimaryTrack;
132  StHltTrack mDaughter1GlobalTrack;
133  StHltBTofHit mDaughter1BTofHit;
134  StHltBEmcTowerHit mDaughter1BEmcTowerHit;
135  double mDaughter1BEmcMatchPhiDiff;
136  double mDaughter1BEmcMatchZEdge;
137  int mDaughter1SelectionBit;
138  int mDaughter1GlobalTrackSN;
139  int mDaughter1PrimaryTrackSN;
140  int mDaughter1TofHitSN;
141  int mDaughter1EmcTowerSN;
142  float mDaughter1BTofProjChannel;
143  float mDaughter1BTofCellLocalY;
144  float mDaughter1BTofCellLocalZ;
145  float mDaughter1BTofPathLength;
146  float mDaughter1Beta;
147  float mDaughter1Tof;
148 
149  StHltTrack mDaughter2PrimaryTrack;
150  StHltTrack mDaughter2GlobalTrack;
151  StHltBTofHit mDaughter2BTofHit;
152  StHltBEmcTowerHit mDaughter2BEmcTowerHit;
153  double mDaughter2BEmcMatchPhiDiff;
154  double mDaughter2BEmcMatchZEdge;
155  int mDaughter2SelectionBit;
156  int mDaughter2GlobalTrackSN;
157  int mDaughter2PrimaryTrackSN;
158  int mDaughter2TofHitSN;
159  int mDaughter2EmcTowerSN;
160  float mDaughter2BTofProjChannel;
161  float mDaughter2BTofCellLocalY;
162  float mDaughter2BTofCellLocalZ;
163  float mDaughter2BTofPathLength;
164  float mDaughter2Beta;
165  float mDaughter2Tof;
166 
167  ClassDef(StHltDiElectron,1);
168 
169 };
170 
171 inline float StHltDiElectron::invariantMass() const {return mInvariantMass;}
172 inline float StHltDiElectron::pt() const {return mPt; }
173 inline float StHltDiElectron::psi() const {return mPsi;}
174 inline float StHltDiElectron::tanl() const {return mTanl;}
175 
176 
177 ostream& operator<<(ostream&, const StHltDiElectron&);
178 
179 #endif
180 
181 
182 
183 
StHltBEmcTowerHit & daughter1bEmcTowerHit()
return object of StHltBEmcTowerHit
StHltBTofHit & daughter2bTofHit()
return object of StHltBTofHit
StHltTrack & daughter1primaryTrack()
return object of StHltTrack
StHltBTofHit & daughter1bTofHit()
return object of StHltBTofHit
StHltDiElectron()
default constructor
float invariantMass() const
return invariant mass of di-electron pairs
StHltBEmcTowerHit & daughter2bEmcTowerHit()
return object of StHltBEmcTowerHit
StHltTrack & daughter2globalTrack()
return object of StHltTrack
StHltTrack & daughter1globalTrack()
return object of StHltTrack
StHltTrack & daughter2primaryTrack()
return object of StHltTrack