StMcTrack Class Reference

Monte Carlo Track class All information on a simulated track is stored in this class: kinematics, particle identificiation, hits left in the detector and start/stop vertices. More...

#include <StMcTrack.hh>

List of all members.

Public Member Functions

 StMcTrack (g2t_track_st *trk)
 StMcTrack (particle_st *trk)
int operator== (const StMcTrack &) const
int operator!= (const StMcTrack &) const
void initToZero ()
const StLorentzVectorF & fourMomentum () const
const StThreeVectorF & momentum () const
float energy () const
float pt () const
float rapidity () const
float pseudoRapidity () const
StMcVertex * startVertex ()
const StMcVertex * startVertex () const
StMcVertex * stopVertex ()
const StMcVertex * stopVertex () const
StMcTrackparent ()
const StMcTrackparent () const
StPtrVecMcVertex & intermediateVertices ()
const StPtrVecMcVertex & intermediateVertices () const
StPtrVecMcTpcHit & tpcHits ()
const StPtrVecMcTpcHit & tpcHits () const
StPtrVecMcSvtHit & svtHits ()
const StPtrVecMcSvtHit & svtHits () const
StPtrVecMcSsdHit & ssdHits ()
const StPtrVecMcSsdHit & ssdHits () const
StPtrVecMcFtpcHit & ftpcHits ()
const StPtrVecMcFtpcHit & ftpcHits () const
StPtrVecMcRichHit & richHits ()
const StPtrVecMcRichHit & richHits () const
StPtrVecMcCtbHit & ctbHits ()
const StPtrVecMcCtbHit & ctbHits () const
StPtrVecMcCalorimeterHit & bemcHits ()
const StPtrVecMcCalorimeterHit & bemcHits () const
StPtrVecMcCalorimeterHit & bprsHits ()
const StPtrVecMcCalorimeterHit & bprsHits () const
StPtrVecMcCalorimeterHit & bsmdeHits ()
const StPtrVecMcCalorimeterHit & bsmdeHits () const
StPtrVecMcCalorimeterHit & bsmdpHits ()
const StPtrVecMcCalorimeterHit & bsmdpHits () const
StPtrVecMcTofHit & tofHits ()
const StPtrVecMcTofHit & tofHits () const
StPtrVecMcCalorimeterHit & eemcHits ()
const StPtrVecMcCalorimeterHit & eemcHits () const
StPtrVecMcCalorimeterHit & eprsHits ()
const StPtrVecMcCalorimeterHit & eprsHits () const
StPtrVecMcCalorimeterHit & esmduHits ()
const StPtrVecMcCalorimeterHit & esmduHits () const
StPtrVecMcCalorimeterHit & esmdvHits ()
const StPtrVecMcCalorimeterHit & esmdvHits () const
StPtrVecMcPixelHit & pixelHits ()
const StPtrVecMcPixelHit & pixelHits () const
StPtrVecMcIstHit & istHits ()
const StPtrVecMcIstHit & istHits () const
StPtrVecMcFgtHit & fgtHits ()
const StPtrVecMcFgtHit & fgtHits () const
StParticleDefinition * particleDefinition ()
const StParticleDefinition * particleDefinition () const
const StPtrVecMcHit * Hits (StDetectorId Id) const
const StPtrVecMcCalorimeterHit * CalorimeterHits (StDetectorId Id) const
int isShower () const
long geantId () const
long pdgId () const
long key () const
long eventGenLabel () const
void setFourMomentum (const StLorentzVectorF &)
void setStartVertex (StMcVertex *)
void setStopVertex (StMcVertex *)
void setIntermediateVertices (StPtrVecMcVertex &)
void setTpcHits (StPtrVecMcTpcHit &)
void setSvtHits (StPtrVecMcSvtHit &)
void setSsdHits (StPtrVecMcSsdHit &)
void setFtpcHits (StPtrVecMcFtpcHit &)
void setRichHits (StPtrVecMcRichHit &)
void setCtbHits (StPtrVecMcCtbHit &)
void setBemcHits (StPtrVecMcCalorimeterHit &)
void setBprsHits (StPtrVecMcCalorimeterHit &)
void setBsmdeHits (StPtrVecMcCalorimeterHit &)
void setBsmdpHits (StPtrVecMcCalorimeterHit &)
void setTofHits (StPtrVecMcTofHit &)
void setEemcHits (StPtrVecMcCalorimeterHit &)
void setEprsHits (StPtrVecMcCalorimeterHit &)
void setEsmduHits (StPtrVecMcCalorimeterHit &)
void setEsmdvHits (StPtrVecMcCalorimeterHit &)
void setPixelHits (StPtrVecMcPixelHit &)
void setIstHits (StPtrVecMcIstHit &)
void setFgtHits (StPtrVecMcFgtHit &)
void setShower (char)
void setGeantId (long)
void setPdgId (long)
void setKey (long)
void setEventGenLabel (long)
void setParent (StMcTrack *)
void setPrimary (Bool_t val)
void addTpcHit (StMcTpcHit *)
void addSvtHit (StMcSvtHit *)
void addSsdHit (StMcSsdHit *)
void addFtpcHit (StMcFtpcHit *)
void addRichHit (StMcRichHit *)
void addCtbHit (StMcCtbHit *)
void addBemcHit (StMcCalorimeterHit *)
void addBprsHit (StMcCalorimeterHit *)
void addBsmdeHit (StMcCalorimeterHit *)
void addBsmdpHit (StMcCalorimeterHit *)
void addTofHit (StMcTofHit *)
void addEemcHit (StMcCalorimeterHit *)
void addEprsHit (StMcCalorimeterHit *)
void addEsmduHit (StMcCalorimeterHit *)
void addEsmdvHit (StMcCalorimeterHit *)
void addPixelHit (StMcPixelHit *)
void addIstHit (StMcIstHit *)
void addFgtHit (StMcFgtHit *)
void removeTpcHit (StMcTpcHit *)
void removeSvtHit (StMcSvtHit *)
void removeSsdHit (StMcSsdHit *)
void removeFtpcHit (StMcFtpcHit *)
void removeRichHit (StMcRichHit *)
void removeCtbHit (StMcCtbHit *)
void removeCalorimeterHit (StPtrVecMcCalorimeterHit &, StMcCalorimeterHit *)
void removeBemcHit (StMcCalorimeterHit *)
void removeBprsHit (StMcCalorimeterHit *)
void removeBsmdeHit (StMcCalorimeterHit *)
void removeBsmdpHit (StMcCalorimeterHit *)
void removeTofHit (StMcTofHit *)
void removeEemcHit (StMcCalorimeterHit *)
void removeEprsHit (StMcCalorimeterHit *)
void removeEsmduHit (StMcCalorimeterHit *)
void removeEsmdvHit (StMcCalorimeterHit *)
void removePixelHit (StMcPixelHit *)
void removeIstHit (StMcIstHit *)
void removeFgtHit (StMcFgtHit *)
void Print (Option_t *option="") const
Bool_t IsPrimary () const

Protected Attributes

StLorentzVectorF mFourMomentum
StMcVertex * mStartVertex
StMcVertex * mStopVertex
StPtrVecMcVertex mIntermediateVertices
StPtrVecMcTpcHit mTpcHits
StPtrVecMcSvtHit mSvtHits
StPtrVecMcSsdHit mSsdHits
StPtrVecMcFtpcHit mFtpcHits
StPtrVecMcRichHit mRichHits
StPtrVecMcCtbHit mCtbHits
StPtrVecMcCalorimeterHit mBemcHits
StPtrVecMcCalorimeterHit mBprsHits
StPtrVecMcCalorimeterHit mBsmdeHits
StPtrVecMcCalorimeterHit mBsmdpHits
StPtrVecMcTofHit mTofHits
StPtrVecMcCalorimeterHit mEemcHits
StPtrVecMcCalorimeterHit mEprsHits
StPtrVecMcCalorimeterHit mEsmduHits
StPtrVecMcCalorimeterHit mEsmdvHits
StPtrVecMcPixelHit mPixelHits
StPtrVecMcIstHit mIstHits
StPtrVecMcFgtHit mFgtHits
StParticleDefinition * mParticleDefinition
StMcTrackmParent
char mIsShower
long mGeantId
long mPdgId
long mKey
long mEventGenLabel
Bool_t mIsPrimary


Detailed Description

Monte Carlo Track class All information on a simulated track is stored in this class: kinematics, particle identificiation, hits left in the detector and start/stop vertices.

Author:
Manuel Calderon de la Barca Sanchez
Date:
July 1999
Id
StMcTrack.cc,v 2.26 2007/10/16 19:49:20 fisyak Exp

Log
StMcTrack.cc,v
Revision 2.26 2007/10/16 19:49:20 fisyak rename Hft => Pxl, remove Hpd, Igt and Fst

Revision 2.25 2006/09/25 14:20:43 fisyak Add Hpd Hits

Revision 2.24 2006/09/22 19:19:34 fisyak Add generic access functions for tracking and calorimeter hits

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

Revision 2.22 2005/09/28 21:30:15 fisyak Persistent StMcEvent

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

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

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

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

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

Revision 2.16 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.15 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.14 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.2 2003/02/18 00:00:00 gans Introduction of Ctb classes. Modified several classes accordingly.

Id
StMcTrack.cc,v 2.26 2007/10/16 19:49:20 fisyak Exp
Log
StMcTrack.cc,v
Revision 2.26 2007/10/16 19:49:20 fisyak rename Hft => Pxl, remove Hpd, Igt and Fst

Revision 2.25 2006/09/25 14:20:43 fisyak Add Hpd Hits

Revision 2.24 2006/09/22 19:19:34 fisyak Add generic access functions for tracking and calorimeter hits

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

Revision 2.22 2005/09/28 21:30:15 fisyak Persistent StMcEvent

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

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

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

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

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

Revision 2.16 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.15 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.14 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.13 2000/06/22 23:52:27 calderon Alexei fixed typo in ostream<< for Bsdme

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

Revision 2.11 2000/05/05 15:25:44 calderon Reduced dependencies and made constructors more efficient

Revision 2.10 2000/05/04 22:46:01 calderon read the pdg Id ALSO from the g2t_track table. This caused problems for embedded tracks.

Revision 2.9 2000/04/18 00:55:14 calderon added printout of local momentum to operator<<

Revision 2.8 2000/04/12 21:32:05 calderon Chech particle definition pointer before writing name

Revision 2.7 2000/04/06 23:29:10 calderon Store the parent track for all tracks.

Revision 2.6 2000/04/06 08:34:56 calderon Version using the particle table: 1) Constructor for particle_st* 2) Pointer to parent track from particle table 3) PDG encoding when track is from particle table 4) Generator label, used to index entries in the table for debugging

Revision 2.5 2000/03/06 18:05:23 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:50 calderon Numbering scheme as per SVT request.

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

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

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

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

Definition at line 126 of file StMcTrack.hh.


The documentation for this class was generated from the following files:
Generated on Tue Mar 17 04:56:33 2009 for StRoot by doxygen 1.3.7