StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHltEvent.cxx
1 /***************************************************************************
2  *
3  * $Id: StHltEvent.cxx,v 2.1 2011/02/01 19:45:48 ullrich Exp $
4  *
5  * Author: Liang Xue, Aihong Tang, Jan 2011
6  ***************************************************************************
7  *
8  * Description:
9  *
10  ***************************************************************************
11  *
12  * $Log: StHltEvent.cxx,v $
13  * Revision 2.1 2011/02/01 19:45:48 ullrich
14  * Initial Revision
15  *
16  **************************************************************************/
17 #include "StHltEvent.h"
18 #include "StHltTrack.h"
19 #include "StHltTrackNode.h"
20 #include "StHltBTofHit.h"
21 #include "StHltVpdHit.h"
22 #include "StHltBEmcTowerHit.h"
23 #include "StHltHighPt.h"
24 #include "StHltDiElectron.h"
25 #include "StHltTriggerReason.h"
26 
27 
28 #ifndef ST_NO_NAMESPACES
29 using std::swap;
30 #endif
31 
32 ClassImp(StHltEvent)
33 
35  mVersion = 0;
36  mTriggerReasonBitOred = 0;
37  mVpdVertexZ = 0;
38  mT0 = 0;
39  mInnerSecGain = 0;
40  mOuterSecGain = 0;
41 }
42 
43 StHltEvent::~StHltEvent() { /* noop */ }
44 
46 StHltEvent::vertex() {return mVertex;}
47 
48 const StThreeVectorF&
49 StHltEvent::vertex() const {return mVertex;}
50 
52 StHltEvent::lowMultVertex() {return mLowMultVertex;}
53 
54 const StThreeVectorF&
55 StHltEvent::lowMultVertex() const {return mLowMultVertex;}
56 
57 void
58 StHltEvent::setVersion(unsigned int i) { mVersion = i;}
59 
60 void
61 StHltEvent::setTriggerReasonBitOred(unsigned int i)
62 {
63  mTriggerReasonBitOred = i;
64 }
65 
66 void
67 StHltEvent::setVertex(const StThreeVectorF& val)
68 {
69  mVertex = val;
70 }
71 
72 void
73 StHltEvent::setLowMultVertex(const StThreeVectorF& val)
74 {
75  mLowMultVertex = val;
76 }
77 
78 
79 void
80 StHltEvent::setVpdVertexZ(float val)
81 {
82  mVpdVertexZ = val;
83 }
84 
85 void
86 StHltEvent::setT0(float val)
87 {
88  mT0 = val;
89 }
90 
91 
92 void
93 StHltEvent::setInnerSecGain(float val)
94 {
95  mInnerSecGain = val;
96 }
97 void
98 StHltEvent::setOuterSecGain(float val)
99 {
100  mOuterSecGain = val;
101 }
102 
103 void
104 StHltEvent::addGlobalTrack(const StHltTrack* val)
105 {
106  if(val) mGlobalTrack.push_back(val);
107 }
108 
109 void
110 StHltEvent::addPrimaryTrack(const StHltTrack* val)
111 {
112  if(val) mPrimaryTrack.push_back(val);
113 }
114 
115 void
116 StHltEvent::addTrackNode(const StHltTrackNode* val)
117 {
118  if(val) mTrackNode.push_back(val);
119 }
120 
121 void
122 StHltEvent::addBEmcTowerHit(const StHltBEmcTowerHit* val)
123 {
124  if(val) mBEmcTowerHits.push_back(val);
125 }
126 
127 void
128 StHltEvent::addBTofHit(const StHltBTofHit* val)
129 {
130  if(val) mBTofHit.push_back(val);
131 }
132 
133 void
134 StHltEvent::addVpdHit(const StHltVpdHit* val)
135 {
136  if(val) mVpdHit.push_back(val);
137 }
138 
139 void
140 StHltEvent::addHighPt(const StHltHighPt* val)
141 {
142  if(val) mHighPt.push_back(val);
143 }
144 
145 void
146 StHltEvent::addHeavyFragment(const StHltHeavyFragment* val)
147 {
148  if(val) mHeavyFragment.push_back(val);
149 }
150 
151 void
152 StHltEvent::addDiElectron(const StHltDiElectron* val)
153 {
154  if(val) mDiElectron.push_back(val);
155 }
156 
157 void
158 StHltEvent::addTriggerReason(const StHltTriggerReason* val)
159 {
160  if(val) mTriggerReason.push_back(val);
161 }
162 
163 
164 
165 
166 
167 
168 
169 
170 
171