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
StIstRawHit Class Reference

#include <StIstRawHit.h>

Inheritance diagram for StIstRawHit:

Public Member Functions

template<typename Container >
 StIstRawHit (int channelId, int geoId, const Container &charges, const Container &chargeErrs=Container{}, UChar_t maxTimeBin=3, UShort_t idTruth=0)
int getChannelId () const
int getGeoId () const
unsigned char getLadder () const
unsigned char getSensor () const
unsigned char getRow () const
unsigned char getColumn () const
float getCharge (int tb=0) const
float getChargeErr (int tb=0) const
unsigned char getMaxTimeBin () const
unsigned char getRdo () const
unsigned char getArm () const
unsigned char getApv () const
unsigned char getChannel () const
unsigned short getIdTruth () const
 for embedding, 0 as background
void setChannelId (int rChannelId)
void setGeoId (int rChannelId)
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 IST pad (channel).

Yaping Wang
March 2013

Definition at line 17 of file StIstRawHit.h.

Member Function Documentation

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

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

Definition at line 53 of file StIstRawHit.h.

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