147 #include "StMcContainers.hh"
149 #include "TDataSet.h"
150 #include "TBrowser.h"
158 #include "StMcEmcHitCollection.hh"
175 virtual void Browse(TBrowser *b);
176 virtual bool IsFolder()
const {
return true;};
188 static const TString& cvsTag() {
return mCvsTag; }
189 unsigned long eventGeneratorEventLabel()
const {
return mEventGeneratorEventLabel; }
190 unsigned long eventNumber()
const {
return mEventNumber; }
191 unsigned long runNumber()
const {
return mRunNumber;}
192 unsigned long type()
const {
return mType;}
193 unsigned long zWest()
const {
return mZWest;}
194 unsigned long nWest()
const {
return mNWest;}
195 unsigned long zEast()
const {
return mZEast;}
196 unsigned long nEast()
const {
return mNEast;}
197 unsigned long eventGeneratorFinalStateTracks()
const {
return mEvGenFSTracks;}
198 unsigned long numberOfPrimaryTracks()
const {
return mPrimaryTracks;}
199 unsigned long subProcessId()
const {
return mSubProcessId;}
200 float impactParameter()
const {
return mImpactParameter; }
201 float phiReactionPlane()
const {
return mPhiReactionPlane; }
202 float triggerTimeOffset()
const {
return mTriggerTimeOffset;}
203 unsigned long nBinary()
const {
return mNBinary;}
204 unsigned long nWoundedEast()
const {
return mNWoundedEast;}
205 unsigned long nWoundedWest()
const {
return mNWoundedWest;}
206 unsigned long nJets()
const {
return mNJets;}
207 StMcVertex* primaryVertex() {
return mPrimaryVertex;}
208 const StMcVertex* primaryVertex()
const {
return mPrimaryVertex;}
209 StSPtrVecMcVertex& vertices() {
return mVertices;}
210 const StSPtrVecMcVertex& vertices()
const {
return mVertices;}
211 StSPtrVecMcTrack& tracks() {
return mTracks;}
212 const StSPtrVecMcTrack& tracks()
const {
return mTracks;}
228 if (! emcHitColl) {emcHitColl =
new StMcEmcHitCollection(); emcHitColl->SetName(name); Add(emcHitColl);}
277 void setEventGeneratorEventLabel(
unsigned long);
278 void setEventNumber(
unsigned long);
279 void setRunNumber(
unsigned long);
280 void setType(
unsigned long);
281 void setZWest(
unsigned long);
282 void setNWest(
unsigned long);
283 void setZEast(
unsigned long);
284 void setNEast(
unsigned long);
285 void setEventGeneratorFinalStateTracks(
unsigned long);
286 void setNumberOfPrimaryTracks(
unsigned long);
287 void setImpactParameter(
float);
288 void setPhiReactionPlane(
float);
289 void setTriggerTimeOffset(
float);
290 void setNBinary(
unsigned long);
291 void setNWoundedEast(
unsigned long);
292 void setNWoundedWest(
unsigned long);
293 void setNJets(
unsigned long);
306 virtual void Print(Option_t *option=
"")
const;
309 unsigned long mEventGeneratorEventLabel;
310 unsigned long mEventNumber;
311 unsigned long mRunNumber;
313 unsigned long mZWest;
314 unsigned long mNWest;
315 unsigned long mZEast;
316 unsigned long mNEast;
317 unsigned long mEvGenFSTracks;
318 unsigned long mPrimaryTracks;
319 unsigned long mSubProcessId;
320 float mImpactParameter;
321 float mPhiReactionPlane;
322 float mTriggerTimeOffset;
323 unsigned long mNBinary;
324 unsigned long mNWoundedEast;
325 unsigned long mNWoundedWest;
326 unsigned long mNJets;
344 StSPtrVecMcVertex mVertices;
345 StSPtrVecMcTrack mTracks;
346 static TString mCvsTag;
353 ostream& operator<<(ostream& os,
const StMcEvent&);
virtual void Browse(TBrowser *b)
Browse this dataset (called by TBrowser).
Event data structure to hold all information from a Monte Carlo simulation. This class is the interfa...
virtual TDataSet * Find(const char *path) const