This is the packet which deals with data in EMC_FPGA format.
This is the packet which deals with data in EMC_FPGA format. It inherits from Packet_w4 because the data are 32bit entities.
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,"EVTNR") The FEM event number packet->iValue(0,"MODULE") The Module ID packet->iValue(0,"FLAG") The Module ID packet->iValue(0,"BCLK") Beam clock value from FEM packet->iValue(i,"PARITY") The longitudinal parity packet->iValue(i,"SUMMARY") The DCM summary word
We chose to
implement the 5 words of information as the two-dimensional
interface, so packet->iValue(k,i) gives you the word "i" of
channel k, where i is
struct emcChannelLongList ecl[144];
int nw, NumberOfChannels;
NumberOfChannels = p->fillIntArray ( (int *) ecl, sizeof(*ecl), &nw, "SPARSE"); returns you the actually fired channels.
int iValue(const int channel, const int iy)
packet->iValue(k,0) timing tag (TDC)
packet->iValue(k,1) high gain post sample
packet->iValue(k,2) low gain post sample
packet->iValue(k,3) high gain pre sample
packet->iValue(k,4) low gain pre sample
and "k" is the channel number from 0 through 143.
void dump( OSTREAM& )
Alphabetic index HTML hierarchy of classes or Java