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:
StObject

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
 0-110591
 
int getGeoId () const
 1-110592
 
unsigned char getLadder () const
 1-24
 
unsigned char getSensor () const
 1-6
 
unsigned char getRow () const
 1-64
 
unsigned char getColumn () const
 1-12
 
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-5
 
unsigned char getApv () const
 0-23
 
unsigned char getChannel () const
 0-127
 
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).

Author
Yaping Wang
Date
March 2013

Definition at line 17 of file StIstRawHit.h.

Member Function Documentation

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

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: