StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
EztEmcRawData Class Reference
Inheritance diagram for EztEmcRawData:

Public Types

enum  { MAXEMCDATABANK =60 }
 
enum  { WRDCNT =0, ERRFLG =1, TOKEN =2, CRATE =3 }
 
enum  {
  bitCrateID =1<<0, bitToken =1<<1, bitLenCount =1<<2, bitTrigComm =1<<3,
  bitErrFlag =1<<4, bitN256 =1<<5, bitGhost =1<<6, bitCrateOff =1<<7,
  bitStall =1<<8
}
 

Public Member Functions

 EztEmcRawData (const EztEmcRawData &)
 
const UShort_t * header (int) const
 
const UShort_t * data (int) const
 
const int sizeHeader (int) const
 
const int sizeData (int) const
 
const int getNBlocks () const
 
void createBank (int, int, int)
 
void setHeader (int, unsigned short *)
 
void setData (int, unsigned short *)
 
const UShort_t getCorruption (int ib) const
 
void setCorruption (int ib, UShort_t x)
 
bool isCrateVoid (int ib) const
 
UShort_t getErrFlag (int ib) const
 
UShort_t getLenCount (int ib) const
 
UShort_t getToken (int ib) const
 
UShort_t getTrigComm (int ib) const
 
UShort_t getCrateID (int ib) const
 
bool doHeadCorruptionTest (int token, int lenCount, int firstCrId, int errFlag=0)
 
bool doTowerHeadCorruptionTest (int token)
 
bool doMapmtHeadCorruptionTest (int token)
 
bool purgeCrateOFF (int ib)
 
void tagHeadValid (int ib, int token, int crId, int len, int trigComm, int errFlag, int dbg=0)
 
void print (int ib, int flag)
 
void print (int flag=0)
 

Static Public Member Functions

static UShort_t getErrFlag (const UShort_t *hd)
 
static UShort_t getLenCount (const UShort_t *hd)
 
static UShort_t getToken (const UShort_t *hd)
 
static UShort_t getTrigComm (const UShort_t *hd)
 
static UShort_t getCrateID (const UShort_t *hd)
 
static bool isCrateOFF (const UShort_t *hd)
 
static UShort_t isHeadValid (const UShort_t *hd, int token, int crId, int len, int trigComm, int errFlag, int dbg=0)
 
static void print (const UShort_t *hd, const UShort_t *d=0, int nd=0)
 

Protected Attributes

TArrayS mHeader [MAXEMCDATABANK]
 
TArrayS mData [MAXEMCDATABANK]
 
UShort_t mCorrupt [MAXEMCDATABANK]
 

Detailed Description

Definition at line 18 of file EztEmcRawData.h.


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