StMcEvent Class Reference

Event data structure to hold all information from a Monte Carlo simulation. This class is the interface to access all information from the GEANT simulations in STAR. From here one can get all vertices, tracks, hits in the event. More...

List of all members.

Public Member Functions

 StMcEvent (g2t_event_st *)
int operator== (const StMcEvent &) const
int operator!= (const StMcEvent &) const
unsigned long eventGeneratorEventLabel () const
unsigned long eventNumber () const
unsigned long runNumber () const
unsigned long type () const
unsigned long zWest () const
unsigned long nWest () const
unsigned long zEast () const
unsigned long nEast () const
unsigned long eventGeneratorFinalStateTracks () const
unsigned long numberOfPrimaryTracks () const
unsigned long subProcessId () const
float impactParameter () const
float phiReactionPlane () const
float triggerTimeOffset () const
unsigned long nBinary () const
unsigned long nWoundedEast () const
unsigned long nWoundedWest () const
unsigned long nJets () const
StMcVertex * primaryVertex ()
const StMcVertex * primaryVertex () const
StSPtrVecMcVertex & vertices ()
const StSPtrVecMcVertex & vertices () const
StSPtrVecMcTrack & tracks ()
const StSPtrVecMcTrack & tracks () const
StMcTpcHitCollection * tpcHitCollection ()
const StMcTpcHitCollection * tpcHitCollection () const
StMcSvtHitCollection * svtHitCollection ()
const StMcSvtHitCollection * svtHitCollection () const
StMcSsdHitCollection * ssdHitCollection ()
const StMcSsdHitCollection * ssdHitCollection () const
StMcFtpcHitCollection * ftpcHitCollection ()
const StMcFtpcHitCollection * ftpcHitCollection () const
StMcRichHitCollection * richHitCollection ()
const StMcRichHitCollection * richHitCollection () const
StMcCtbHitCollection * ctbHitCollection ()
const StMcCtbHitCollection * ctbHitCollection () const
StMcEmcHitCollection * emcHitCollection (const Char_t *name)
const StMcEmcHitCollection * emcHitCollection (const Char_t *name) const
StMcEmcHitCollection * bemcHitCollection ()
const StMcEmcHitCollection * bemcHitCollection () const
StMcEmcHitCollection * bprsHitCollection ()
const StMcEmcHitCollection * bprsHitCollection () const
StMcEmcHitCollection * bsmdeHitCollection ()
const StMcEmcHitCollection * bsmdeHitCollection () const
StMcEmcHitCollection * bsmdpHitCollection ()
const StMcEmcHitCollection * bsmdpHitCollection () const
StMcTofHitCollection * tofHitCollection ()
const StMcTofHitCollection * tofHitCollection () const
StMcBTofHitCollection * btofHitCollection ()
const StMcBTofHitCollection * btofHitCollection () const
StMcMtdHitCollection * mtdHitCollection ()
const StMcMtdHitCollection * mtdHitCollection () const
StMcEmcHitCollection * eemcHitCollection ()
const StMcEmcHitCollection * eemcHitCollection () const
StMcEmcHitCollection * eprsHitCollection ()
const StMcEmcHitCollection * eprsHitCollection () const
StMcEmcHitCollection * esmduHitCollection ()
const StMcEmcHitCollection * esmduHitCollection () const
StMcEmcHitCollection * esmdvHitCollection ()
const StMcEmcHitCollection * esmdvHitCollection () const
StMcEmcHitCollection * fpdHitCollection ()
const StMcEmcHitCollection * fpdHitCollection () const
StMcEmcHitCollection * fscHitCollection ()
const StMcEmcHitCollection * fscHitCollection () const
StMcPixelHitCollection * pixelHitCollection ()
const StMcPixelHitCollection * pixelHitCollection () const
StMcIstHitCollection * istHitCollection ()
const StMcIstHitCollection * istHitCollection () const
StMcFgtHitCollection * fgtHitCollection ()
const StMcFgtHitCollection * fgtHitCollection () const
void setEventGeneratorEventLabel (unsigned long)
void setEventNumber (unsigned long)
void setRunNumber (unsigned long)
void setType (unsigned long)
void setZWest (unsigned long)
void setNWest (unsigned long)
void setZEast (unsigned long)
void setNEast (unsigned long)
void setEventGeneratorFinalStateTracks (unsigned long)
void setNumberOfPrimaryTracks (unsigned long)
void setImpactParameter (float)
void setPhiReactionPlane (float)
void setTriggerTimeOffset (float)
void setNBinary (unsigned long)
void setNWoundedEast (unsigned long)
void setNWoundedWest (unsigned long)
void setNJets (unsigned long)
void setPrimaryVertex (StMcVertex *)
void setTpcHitCollection (StMcTpcHitCollection *)
void setSvtHitCollection (StMcSvtHitCollection *)
void setSsdHitCollection (StMcSsdHitCollection *)
void setFtpcHitCollection (StMcFtpcHitCollection *)
void setRichHitCollection (StMcRichHitCollection *)
void setCtbHitCollection (StMcCtbHitCollection *)
void setTofHitCollection (StMcTofHitCollection *)
void setBTofHitCollection (StMcBTofHitCollection *)
void setMtdHitCollection (StMcMtdHitCollection *)
void setPixelHitCollection (StMcPixelHitCollection *)
void setIstHitCollection (StMcIstHitCollection *)
void setFgtHitCollection (StMcFgtHitCollection *)
virtual void Print (Option_t *option="") const

Static Public Member Functions

static const TString & cvsTag ()

Protected Attributes

char mBeg [1]
unsigned long mEventGeneratorEventLabel
unsigned long mEventNumber
unsigned long mRunNumber
unsigned long mType
unsigned long mZWest
unsigned long mNWest
unsigned long mZEast
unsigned long mNEast
unsigned long mEvGenFSTracks
unsigned long mPrimaryTracks
unsigned long mSubProcessId
float mImpactParameter
float mPhiReactionPlane
float mTriggerTimeOffset
unsigned long mNBinary
unsigned long mNWoundedEast
unsigned long mNWoundedWest
unsigned long mNJets
StMcVertex * mPrimaryVertex
StObject * mBegColl [1]
StMcTpcHitCollection * mTpcHits
StMcSvtHitCollection * mSvtHits
StMcSsdHitCollection * mSsdHits
StMcFtpcHitCollection * mFtpcHits
StMcRichHitCollection * mRichHits
StMcCtbHitCollection * mCtbHits
StMcTofHitCollection * mTofHits
StMcBTofHitCollection * mBTofHits
StMcMtdHitCollection * mMtdHits
StMcPixelHitCollection * mPixelHits
StMcIstHitCollection * mIstHits
StMcFgtHitCollection * mFgtHits
StObject * mEndColl [1]
char mEnd [1]
StSPtrVecMcVertex mVertices
StSPtrVecMcTrack mTracks

Static Protected Attributes

static TString mCvsTag = "$Id: StMcEvent.cc,v 2.31 2011/10/11 01:12:14 perev Exp $"


Detailed Description

Event data structure to hold all information from a Monte Carlo simulation. This class is the interface to access all information from the GEANT simulations in STAR. From here one can get all vertices, tracks, hits in the event.

Author:
Manuel Calderon de la Barca Sanchez (Yale, BNL, IU) calderon@iucf.indiana.edu
Date:
July 1999
Id
StMcEvent.cc,v 2.31 2011/10/11 01:12:14 perev Exp
Log
StMcEvent.cc,v
Revision 2.31 2011/10/11 01:12:14 perev Mtd added

Revision 2.30 2011/03/22 22:30:33 perev Bug#2111 Remove redundant zeroing

Revision 2.29 2009/07/24 19:08:06 perev Cleanup + Btof added (Geurts)

Revision 2.28 2007/10/16 19:49:13 fisyak rename Hft => Pxl, remove Hpd, Igt and Fst

Revision 2.27 2006/09/25 14:31:15 fisyak remove duplicated SafeDelete(mTofHits)

Revision 2.24 2005/11/22 21:44:51 fisyak Add compress Print for McEvent, add Ssd collections

Revision 2.23 2005/10/03 16:58:17 calderon Fixed bug in logic of printing 2nd vertex.

Revision 2.22 2005/10/01 00:01:10 calderon Fixed bug in printing of parent tracks. Was calling the hit array out of bounds.

Revision 2.21 2005/09/29 01:01:10 calderon Fixed bugs in printing event and hit information. Format operator<< for various classes.

Revision 2.20 2005/09/28 21:30:14 fisyak Persistent StMcEvent

Revision 2.19 2005/07/07 18:20:49 calderon Added support for IGT detector.

Revision 2.18 2005/05/27 23:37:25 calderon Update for EEMC, add eprs, esmdu esdmv hits to StMcEvent.

Revision 2.17 2005/04/18 20:11:32 calderon Addition of Fgt and Fst files. Modified other files to accomodate changes.

Revision 2.16 2005/01/27 23:40:47 calderon Adding persistency to StMcEvent as a step for Virtual MonteCarlo.

Revision 2.15 2004/09/14 05:00:29 calderon Added support for Ist, Ssd and changes to Pixel, from "El Kai".

Revision 2.14 2003/12/04 05:56:47 calderon Inclusion of Endcap EMC hit collection in StMcEvent and of the Endcap hit vector in StMcTrack. fix const of StMcVertex::parent() to avoid warnings in user code

Revision 2.13 2003/08/20 18:50:21 calderon Addition of Tof classes and Pixel classes. Modified track, event, and container code to reflect this. Fix bug in StMcVertex and in clearing of some hit collections.

Revision 2.12 2003/05/15 18:28:47 calderon Added data members from modified g2t_event table: Event Generator Final State Tracks, N Binary Collisions, N Wounded Nucleons East and West, N Jets.

Revision 2.11 2003/04/17 18:01:24 calderon print the subprocess id when dumping event info in operator<<

Revision 2.10 2003/03/18 22:37:39 calderon Added member mSubProcessId which is used for Pythia events. Only is set from constructor from g2t_event table.

Revision 2.9 2003/02/19 03:16:05 calderon Introduction of Ctb Hit Class and Ctb Hit Collection class, modified StMcTrack, and StMcEvent accordingly. Clearing of hits in StMcSvtWaferHitCollection.

Revision 2.8 2000/06/06 02:58:40 calderon Introduction of Calorimeter classes. Modified several classes accordingly.

Revision 2.7 2000/05/11 14:27:23 calderon use clear() in destructors to reduce size of containers

Revision 2.6 2000/04/17 23:01:14 calderon Added local momentum to hits as per Lee's request

Revision 2.5 2000/03/06 18:05:21 calderon 1) Modified SVT Hits storage scheme from layer-ladder-wafer to barrel-ladder-wafer. 2) Added Rich Hit class and collection, and links to them in other classes.

Revision 2.4 2000/01/18 20:52:31 calderon Works with CC5

Revision 2.3 1999/12/14 07:04:49 calderon Numbering scheme as per SVT request.

Revision 2.2 1999/12/03 00:51:51 calderon Tested with new StMcEventMaker. Added messages for diagnostics.

Revision 2.1 1999/11/19 19:06:31 calderon Recommit after redoing the files.

Revision 2.0 1999/11/17 02:12:15 calderon Completely revised for new StEvent

Revision 1.3 1999/09/23 21:25:50 calderon Added Log & Id Modified includes according to Yuri

Revision 1.2 1999/07/28 20:27:32 calderon Version with SL99f libraries

Definition at line 156 of file StMcEvent.hh.


The documentation for this class was generated from the following files:

Generated on Fri Feb 10 04:28:10 2012 for StRoot by  doxygen 1.5.9