StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
StBTofHeader Class Reference

#include <StBTofHeader.h>

Inheritance diagram for StBTofHeader:
StObject

Public Types

enum  { MAXFIBER =4, MAXVPD =19, MAXVPDVZ =20 }
 

Public Member Functions

short fiberHeader (int fiberId) const
 
unsigned int fiberTriggerWord (int fiberId) const
 
unsigned int vpdHitPattern (StBeamDirection eastwest) const
 
unsigned short numberOfVpdHits (StBeamDirection eastwest) const
 
bool isVpdHit (StBeamDirection eastwest, int tubeId) const
 
float vpdVz (int rank=0) const
 
double tStart () const
 
double tStartError () const
 
double tDiff () const
 
double vpdTime (StBeamDirection eastwest, int tubeId) const
 
unsigned int triggerTime (int fiberId) const
 
int nTzero () const
 
int nTzeroCan () const
 
double tCanFirst () const
 
double tCanLast () const
 
int vpdEHits () const
 
int vpdWHits () const
 
int vpdEGoodHits () const
 
int vpdWGoodHits () const
 
double earliestVpdEHit () const
 
double earliestVpdWHit () const
 
double closestVpdEHit () const
 
double closestVpdWHit () const
 
double latestVpdEHit () const
 
double latestVpdWHit () const
 
void setFiberHeader (int fiberId, short val)
 
void setFiberTriggerWord (int fiberId, unsigned int val)
 
void setVpdHit (StBeamDirection eastwest, int tubeId)
 
void removeVpdHit (StBeamDirection eastwest, int tubeId)
 
void setVpdHitPattern (StBeamDirection eastwest, unsigned int val)
 
void setVpdVz (float vz, int rank=0)
 
void setTStart (double t)
 
void setTStartError (double t_err)
 
void setTDiff (double tdiff)
 
void setVpdTime (StBeamDirection eastwest, int tubeId, double t)
 
void setTriggerTime (unsigned int tdc, int fiberId)
 
void setNTzero (short n)
 
void setNTzeroCan (short nCan)
 
void setTCanFirst (double tFirst)
 
void setTCanLast (double tLast)
 
void setVpdEHits (short vpdEHits)
 
void setVpdWHits (short vpdWHits)
 
void setVpdEGoodHits (short vpdEGoodHits)
 
void setVpdWGoodHits (short vpdWGoodHits)
 
void setEarliestVpdEHit (double earliestVpdEHit)
 
void setEarliestVpdWHit (double earliestVpdWHit)
 
void setClosestVpdEHit (double closestVpdEHit)
 
void setClosestVpdWHit (double closestVpdWHit)
 
void setLatestVpdEHit (double latestVpdEHit)
 
void setLatestVpdWHit (double latestVpdWHit)
 
- 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
 

Protected Attributes

Short_t mFiberHeader [MAXFIBER]
 
UInt_t mFiberTriggerWord [MAXFIBER]
 
UInt_t mVpdHitPattern [2]
 
Float_t mVpdVz [MAXVPDVZ]
 
Double_t mTStart
 
Double_t mTStartErr
 
Double_t mTDiff
 
Double_t mVpdTime [2][MAXVPD]
 
UInt_t mTriggerTime [MAXFIBER]
 
Short_t mNTzero
 
Short_t mNTzeroCan
 
Double_t mTCanFirst
 
Double_t mTCanLast
 
Double_t mVpdEHits
 
Double_t mVpdWHits
 
Double_t mVpdEGoodHits
 
Double_t mVpdWGoodHits
 
Double_t mEarliestVpdEHit
 
Double_t mEarliestVpdWHit
 
Double_t mClosestVpdEHit
 
Double_t mClosestVpdWHit
 
Double_t mLatestVpdEHit
 
Double_t mLatestVpdWHit
 

Detailed Description

Author
Xin Dong, Nov 2008

Definition at line 43 of file StBTofHeader.h.


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