StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
StFstRawHit Class Reference

#include <StFstRawHit.h>

Inheritance diagram for StFstRawHit:
StObject

Public Member Functions

template<typename Container >
 StFstRawHit (int channelId, int geoId, const Container &charges, const Container &chargeErrs=Container{}, UChar_t maxTimeBin=1, UShort_t idTruth=0)
 
 StFstRawHit (const StFstRawHit &rawHit)
 
int getChannelId () const
 0-36863
 
int getGeoId () const
 0-36863
 
int getSeedhitflag () const
 0 or 1
 
unsigned char getDisk () const
 1-3
 
unsigned char getWedge () const
 1-36
 
unsigned char getPhiStrip () const
 0-127
 
unsigned char getRStrip () const
 0-7
 
float getCharge (int tb=0) const
 
float getChargeErr (int tb=0) const
 
unsigned char getMaxTimeBin () const
 
unsigned char getRdo () const
 1-6
 
unsigned char getArm () const
 0-2
 
unsigned char getApv () const
 0-15
 
unsigned char getSensor () const
 0-2
 
unsigned char getChannel () const
 0-127
 
unsigned short getIdTruth () const
 for embedding, 0 as background
 
void setChannelId (int rChannelId)
 
void setGeoId (int rChannelId)
 
void setSeedhitflag (int rSeedhitflag)
 
void setCharge (float charge, int tb=-1)
 
template<typename Container >
void setCharges (const Container &charges)
 
void setChargeErr (float chargeErr, int tb=-1)
 
void setMaxTimeBin (int tb)
 
void setIdTruth (unsigned short idTruth)
 
void Print (int nTimeBins) const
 
- 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
 

Static Public Member Functions

static unsigned char getDefaultTimeBin ()
 
static void setDefaultTimeBin (int tb)
 

Detailed Description

Data structure for individual FST pad (channel).

Author
Shenghui Zhang
Date
Aug. 2021

Definition at line 14 of file StFstRawHit.h.

Member Function Documentation

template<typename Container >
void StFstRawHit::setCharges ( const Container &  charges)
inline

Overwrites this channel's charges in all time bins by values in the provided container

Definition at line 55 of file StFstRawHit.h.


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