This is the packet which deals with data in RICH_DCM0 format.
![[more]](icon1.gif) int iValue(const int ich, const char *what)
int iValue(const int ich, const char *what)
![[more]](icon1.gif) int iValue(const int ich, const int iy)
int iValue(const int ich, const int iy)
![[more]](icon1.gif) int fillIntArray(int iarr[], const int nlen, int *nwout, const char *what="")
int fillIntArray(int iarr[], const int nlen, int *nwout, const char *what="")
 virtual   float rValue(const int channel)
virtual   float rValue(const int channel)
 virtual   float rValue(const int channel, const char * what)
virtual   float rValue(const int channel, const char * what)
 virtual   float rValue(const int channel, const int iy)
virtual   float rValue(const int channel, const int iy)
 virtual   int getArraylength(const char * what ="")
virtual   int getArraylength(const char * what ="")
 virtual   int fillFloatArray(float destination[],  const int length,  int * nw,  const char * what="")
virtual   int fillFloatArray(float destination[],  const int length,  int * nw,  const char * what="")
 virtual   int* getIntArray(int * nw, const char * ="")
virtual   int* getIntArray(int * nw, const char * ="")
 virtual   float* getFloatArray(int * nw, const char * ="")
virtual   float* getFloatArray(int * nw, const char * ="")
 virtual   int is_pointer_type() const
virtual   int is_pointer_type() const 
 virtual   int convert()
virtual   int convert()
 virtual   int getLength() const
virtual   int getLength() const 
 virtual   int getDebugLength() const
virtual   int getDebugLength() const 
 virtual   int getIdentifier() const
virtual   int getIdentifier() const 
 virtual   int getPadding() const
virtual   int getPadding() const 
 virtual   int getStructure() const
virtual   int getStructure() const 
 virtual   int getHitFormat() const
virtual   int getHitFormat() const 
 virtual   int getDataLength() const
virtual   int getDataLength() const 
 virtual   voidfullIdentify (std::ostream& os = std::cout) const (ostream & os = cout) const
virtual   voidfullIdentify (std::ostream& os = std::cout) const (ostream & os = cout) const 
 virtual   void dump(std::ostream& os = std::cout)
virtual   void dump(std::ostream& os = std::cout)
 virtual   void gdump(const int how = EVT_HEXADECIMAL, std::ostream& os = std::cout) const
virtual   void gdump(const int how = EVT_HEXADECIMAL, std::ostream& os = std::cout) const 
 
 
This is the packet which deals with data in RICH_DCM0 format. It inherits from Packet_w4 because the data are 32bit entities.
 int iValue(const int ich, const char *what)
int iValue(const int ich, const char *what)
The AMU info is available as
packet->iValue(0,"AMU") AMU cell from timing conversion packet->iValue(1,"AMU") AMU cell from "pre" conversion packet->iValue(2,"AMU") AMU cell from "post" conversionIn addition, there is
packet->iValue(0,"ID") The detector id packet->iValue(0,"EVTNR") The FEM event number packet->iValue(0,"MODULE") The Module ID packet->iValue(0,"FLAG") The Flag value packet->iValue(0,"BCLK") Beam clock value from FEM packet->iValue(i,"PARITY") The longitudinal parity packet->iValue(i,"USERWORD") The USERWORD i, where i is from 0 through 7
 We chose to
implement the 3 words of information as the two-dimensional
interface, so packet->iValue(k,i) gives you the word "i" of
channel k, where i is 
 There are definitions which make this a bit more trasnparent; you can use 
 
 returns you the actually fired channels. richChannelList is defined as
 
 int iValue(const int ich, const int iy)
int iValue(const int ich, const int iy)
packet->iValue(k,0) timing tag (TDC)
packet->iValue(k,1) post sample
packet->iValue(k,2) pre sample
and "k" is the channel number from 0 through 160. 
packet->iValue(k,RICH_TIME) timing tag (TDC)
packet->iValue(k,RICH_POSTSAMPLE) post sample
packet->iValue(k,RICH_PRESAMPLE) pre sample
 int fillIntArray(int iarr[], const int nlen, int *nwout, const char *what="")
int fillIntArray(int iarr[], const int nlen, int *nwout, const char *what="")
struct richChannelList rcl[160];
int nw, NumberOfChannels;
NumberOfChannels = p->fillIntArray ( (int *) rcl, 160*sizeof(*rcl), &nw, "SPARSE");
struct richChannelList
{
  int channel;
  int time;
  int post;
  int pre;
};
Alphabetic index HTML hierarchy of classes or Java