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

Public Member Functions

 StPxlDigiHit (const double(&localPos)[3], unsigned sector, unsigned ladder, unsigned sensor, unsigned short idTruth)
 
 StPxlDigiHit (const StPxlCluster &cluster, unsigned sector, unsigned ladder, unsigned sensor)
 
 StPxlDigiHit (const double(&localPos)[3], unsigned sector, unsigned ladder, unsigned sensor, const StThreeVectorF &position, const StThreeVectorF &error, unsigned int hwPosition, float charge, unsigned char trachRefCount, unsigned short idTruth, unsigned short quality, unsigned short id)
 
void setMeanRow (double val)
 
void setMeanColumn (double val)
 
void setLocalPosition (const double(&coords)[3])
 
- Public Member Functions inherited from StPxlHit
 StPxlHit (const double localPos[3], unsigned int sector, unsigned int ladder, unsigned int sensor, const StThreeVectorF &position, const StThreeVectorF &error, unsigned int hwPosition, float charge, unsigned char trackRefCount=0, unsigned short idTruth=0, unsigned short quality=0, unsigned short id=0)
 
 StPxlHit (const double localPos[3], unsigned int sector, unsigned int ladder, unsigned int sensor, unsigned short idTruth)
 
 StPxlHit (float meanRow, float meanColumn, unsigned int sector, unsigned int ladder, unsigned int sensor)
 
StDetectorId detector () const
 
unsigned int sector () const
 
unsigned int ladder () const
 
unsigned int sensor () const
 
float meanRow () const
 
float meanColumn () const
 
unsigned int nRawHits () const
 
unsigned int layer () const
 
float localPosition (unsigned int) const
 
const float * localPosition () const
 
void setLocalPosition (float, float, float)
 
void setLocalY (float y)
 
void setSector (unsigned char)
 
void setLadder (unsigned char)
 
void setSensor (unsigned char)
 
void setDetectorId (StDetectorId)
 
void setMeanRow (float)
 
void setMeanColumn (float)
 
void setNRawHits (unsigned char)
 
virtual bool isSortable () const
 
void * operator new (size_t sz, void *p)
 
void * operator new (size_t)
 
void operator delete (void *p)
 
- Public Member Functions inherited from StHit
 StHit (const StThreeVectorF &position, const StThreeVectorF &errors, unsigned int hardware, float charge, unsigned char trakRefCount=0, int idTruth=0, unsigned short quality=0, unsigned short id=0)
 
int operator== (const StHit &) const
 
int operator!= (const StHit &) const
 
float charge () const
 
unsigned int trackReferenceCount () const
 
unsigned int flag () const
 
StThreeVectorF positionError () const
 
StMatrixF covariantMatrix () const
 
int usedInFit () const
 
int idTruth () const
 
int qaTruth () const
 
int id () const
 
const StHitnextHit () const
 
unsigned int hardwarePosition () const
 
void setCharge (float)
 
void setFlag (unsigned short val)
 
void setFitFlag (unsigned char)
 
void setTrackReferenceCount (unsigned char)
 
void setHardwarePosition (unsigned int)
 
void setPositionError (const StThreeVectorF &)
 
void setId (int Id)
 
void setIdTruth (int idtru, int qatru=0)
 
void SetNextHit (StHit *next=0)
 
virtual void Print (Option_t *option="") const
 
- Public Member Functions inherited from StMeasuredPoint
 StMeasuredPoint (const StThreeVectorF &)
 
int operator== (const StMeasuredPoint &) const
 
int operator!= (const StMeasuredPoint &) const
 
virtual const StThreeVectorFposition () const
 
virtual void setPosition (const StThreeVectorF &)
 
- 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

- Protected Member Functions inherited from StHit
unsigned int bits (unsigned int, unsigned int) const
 
- Protected Attributes inherited from StPxlHit
UChar_t mSector
 
UChar_t mLadder
 
UChar_t mSensor
 
Float_t mMeanRow
 
Float_t mMeanColumn
 
UChar_t mNRawHits
 
Float_t mLocalPosition [3]
 
StDetectorId mDetectorId
 
- Protected Attributes inherited from StHit
UInt_t mHardwarePosition
 
StThreeVectorF mPositionError
 
Float_t mCharge
 
Int_t mId
 
Int_t mIdTruth
 
UShort_t mQuality
 
UChar_t mFitFlag
 
UChar_t mTrackRefCount
 
UShort_t mFlag
 
StHitmNextHit
 
- Protected Attributes inherited from StMeasuredPoint
StThreeVectorF mPosition
 
- Static Protected Attributes inherited from StPxlHit
static StMemoryPool mPool
 

Detailed Description

Definition at line 10 of file StPxlDigiHit.h.

Constructor & Destructor Documentation

StPxlDigiHit::StPxlDigiHit ( const double(&)  localPos[3],
unsigned  sector,
unsigned  ladder,
unsigned  sensor,
unsigned short  idTruth 
)

Suitable for constructing a PXL hit in a fast simulation.

Definition at line 16 of file StPxlDigiHit.cxx.

StPxlDigiHit::StPxlDigiHit ( const StPxlCluster cluster,
unsigned  sector,
unsigned  ladder,
unsigned  sensor 
)

Suitable for constructing a PXL hit from a cluster.

Definition at line 27 of file StPxlDigiHit.cxx.

References StPxlCluster::idTruth(), and StPxlCluster::nRawHits().

Member Function Documentation

void StPxlDigiHit::setLocalPosition ( const double(&)  coords[3])

Update hit coordinates by providing values in cm.

Definition at line 68 of file StPxlDigiHit.cxx.

void StPxlDigiHit::setMeanColumn ( double  val)

Update local Z hit coordinate using pixel unit representation.

Definition at line 60 of file StPxlDigiHit.cxx.

void StPxlDigiHit::setMeanRow ( double  val)

Update local X hit coordinate using pixel unit representation.

Definition at line 52 of file StPxlDigiHit.cxx.


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