#include "hmdctbarray.h"

HMdcTBArray


class description - source file - inheritance tree (.pdf)

class HMdcTBArray

Inheritance Chart:
HMdcTBArray

    public:
HMdcTBArray() HMdcTBArray(const HMdcTBArray&) ~HMdcTBArray() static TClass* Class() static void clear(UChar_t* pF, UChar_t* pL) static Int_t compare(const UChar_t* pF1, const UChar_t* pF2, Int_t nBytes) static Int_t first(const UChar_t* pF, const UChar_t* pL) static UChar_t get(const UChar_t* pF, Int_t pos) static Int_t getNSet(const UChar_t* pF, const UChar_t* pL) virtual TClass* IsA() const static Int_t last(const UChar_t* pF, const UChar_t* pL) static Int_t next(const UChar_t* pF, const UChar_t* pL, Int_t prPos) HMdcTBArray& operator=(const HMdcTBArray&) static Int_t position(const UChar_t* pF, const UChar_t* pL, Int_t idx) static Int_t previous(const UChar_t* pF, const UChar_t* pL, Int_t prPos) static void set(UChar_t* pF, Int_t pos, UChar_t cont) static void shiftLeft(UChar_t* pF, UChar_t* pL, UChar_t* pS) static void shiftRight(UChar_t* pF, UChar_t* pL, UChar_t* pS) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) static void unset(UChar_t* pF, Int_t pos, UChar_t cont)

Data Members


    protected:
static UChar_t nTBitLookUp[256] static UChar_t pTBitLookUp[4][256] static UChar_t nextTBit[4] static UChar_t prevTBit[4]

Class Description

 HMdcTBArray

  LookupTable and some useful functions for working
  with an array of two bits.
  For MDC it can be used for keeping information about
  number of cell times:
 only time1 - 1
 only time2 - 2
 time1 & time2 - 3

   void clear(UChar_t *pF, UChar_t *pL);
   void set(UChar_t *pF, Int_t pos, UChar_t cont);
   Int_t get(UChar_t *pF, Int_t pos);
   void unset(UChar_t *pF, Int_t pos, UChar_t cont);
   Int_t getNSet(UChar_t *pF, UChar_t *pL);
   Int_t position(UChar_t *pF, UChar_t *pL, Int_t idx);
        = content of two bits or =-1
   Int_t first(UChar_t *pF, UChar_t *pL);
        = content of two bits or =-1
   Int_t last(UChar_t *pF, UChar_t *pL);
        = content of two bits or =-1
   Int_t next(UChar_t *pF, UChar_t *pL, Int_t prPos);
        = content of two bits or =-1
   Int_t previous(UChar_t *pF, UChar_t *pL, Int_t prPos);
        = content of two bits or =-1
   void shiftRight(UChar_t *pF, UChar_t *pL, UChar_t *pS);
   void shiftLeft(UChar_t *pF, UChar_t *pL, UChar_t *pS);
   Int_t compare(UChar_t *pF1, UChar_t *pF2, Int_t nBytes);

 pF - pointer to the first byte of bytes array
 pL - pointer to the last byte of bytes array
 cont - content of two bits, can be = 0,1,2,3
 pos - position of element in two bit array (for examp. - num. cell MDC)
 idx - index of element
 prPos - position of the element, used for geting position of the
         next or previous position aftre or before pos. prPos
 pS - pointer to the byte which mast be moved to *pL (shift to right)
                                        or to *pT (shift to left)





Inline Functions


                void ~HMdcTBArray()
                void clear(UChar_t* pF, UChar_t* pL)
                void set(UChar_t* pF, Int_t pos, UChar_t cont)
             UChar_t get(const UChar_t* pF, Int_t pos)
                void unset(UChar_t* pF, Int_t pos, UChar_t cont)
               Int_t getNSet(const UChar_t* pF, const UChar_t* pL)
               Int_t position(const UChar_t* pF, const UChar_t* pL, Int_t idx)
               Int_t first(const UChar_t* pF, const UChar_t* pL)
               Int_t last(const UChar_t* pF, const UChar_t* pL)
               Int_t next(const UChar_t* pF, const UChar_t* pL, Int_t prPos)
               Int_t previous(const UChar_t* pF, const UChar_t* pL, Int_t prPos)
                void shiftRight(UChar_t* pF, UChar_t* pL, UChar_t* pS)
                void shiftLeft(UChar_t* pF, UChar_t* pL, UChar_t* pS)
               Int_t compare(const UChar_t* pF1, const UChar_t* pF2, Int_t nBytes)
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
         HMdcTBArray HMdcTBArray()
         HMdcTBArray HMdcTBArray(const HMdcTBArray&)
        HMdcTBArray& operator=(const HMdcTBArray&)


Author: V. Pechenov
Last update: Fri Jan 26 12:15:53 2007


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.