StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
StMcPxlHit Class Reference
Inheritance diagram for StMcPxlHit:
StMcHit StObject

Public Member Functions

 StMcPxlHit (const StThreeVectorF &x, const StThreeVectorF &p, float de=0, float ds=0, float tof=0, long int k=0, long int volId=0, StMcTrack *parent=0)
 StMcPxlHit (g2t_pix_hit_st *pt)
int sector () const
int ladder () const
int sensor () const
virtual void Print (Option_t *option="") const
- Public Member Functions inherited from StMcHit
 StMcHit (const StThreeVectorF &x, const StThreeVectorF &p, Float_t de, Float_t ds, Float_t tof, Long_t k, Long_t volId, StMcTrack *parent=0)
 StMcHit (g2t_hits_st *pt)
Int_t operator== (const StMcHit &h) const
Int_t operator!= (const StMcHit &h) const
virtual const StThreeVectorFposition () const
virtual const StThreeVectorFlocalMomentum () const
virtual Float_t dE () const
virtual Float_t dS () const
virtual Float_t tof () const
virtual Long_t key () const
virtual Long_t volumeId () const
virtual StMcTrackparentTrack () const
virtual void setPosition (const StThreeVectorF &val)
virtual void setLocalMomentum (const StThreeVectorF &val)
virtual void setdE (Float_t val)
virtual void setdS (Float_t val)
virtual void setTof (Float_t tof)
virtual void setKey (Long_t val)
virtual void setVolumeId (Long_t val)
virtual void setParentTrack (StMcTrack *val)
- Public Member Functions inherited from StObject
 StObject (const StObject &sto)
StObjectoperator= (const StObject &sto)
virtual TObject * clone () const
Int_t isZombie () const
virtual void makeZombie (int flg=1)
UInt_t Ztreamer (TBuffer &R__b)
 ClassDef (StObject, 3) static UInt_t fgTally

Additional Inherited Members

- Public Types inherited from StMcHit
enum  EMcHitBits { kMatched = BIT(23) }
- Protected Attributes inherited from StMcHit
StThreeVectorF mPosition
StThreeVectorF mLocalMomentum
Float_t mdE
Float_t mdS
Float_t mTof
Long_t mKey
Long_t mVolumeId

Detailed Description

Definition at line 18 of file StMcPxlHit.hh.

Member Function Documentation

int StMcPxlHit::ladder ( ) const

Returns ladder number (ladders are numbered CW 1-4 when viewed from East, 4 is inner ladder)

Definition at line 37 of file StMcPxlHit.hh.

Referenced by StPxlFastSim::addPxlHits(), and sensor().

int StMcPxlHit::sector ( ) const

Returns sector number (sectors are numbered CW 1-10 when viewed from East. see

Definition at line 33 of file StMcPxlHit.hh.

Referenced by StPxlFastSim::addPxlHits(), and sensor().

int StMcPxlHit::sensor ( ) const

Returns sensor number (sensors are numbered 1-10 from East to West)

Definition at line 41 of file StMcPxlHit.hh.

References ladder(), and sector().

Referenced by StPxlFastSim::addPxlHits().

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