class Packet_bbc_fpga: public Packet_w4

This is the packet which deals with data in BBC_DCM0 format.

Inheritance:


Public Methods

[more]int iValue(const int channel)
with the "what" parameter you can decide which aspect of the data is made available.


Inherited from Packet_w4:


Inherited from Packet_A:


Inherited from Packet:

Public Methods

ovirtual float rValue(const int channel)
ovirtual float rValue(const int channel, const char * what)
ovirtual float rValue(const int channel, const int iy)
ovirtual int getArraylength(const char * what ="")
ovirtual int fillIntArray(int destination[], const int length, int * nw, const char * what="")
ovirtual int fillFloatArray(float destination[], const int length, int * nw, const char * what="")
ovirtual int* getIntArray(int * nw, const char * ="")
ovirtual float* getFloatArray(int * nw, const char * ="")
ovirtual int is_pointer_type() const
ovirtual int convert()
ovirtual int getLength() const
ovirtual int getDebugLength() const
ovirtual int getIdentifier() const
ovirtual int getPadding() const
ovirtual int getStructure() const
ovirtual int getHitFormat() const
ovirtual int getDataLength() const
ovirtual voidfullIdentify (std::ostream& os = std::cout) const (ostream & os = cout) const
ovirtual void dump(std::ostream& os = std::cout)
ovirtual void gdump(const int how = EVT_HEXADECIMAL, std::ostream& os = std::cout) const

Public

o


Documentation

This is the packet which deals with data in BBC_DCM0 format. It inherits from Packet_w4 because the data are 32bit entities.
oint iValue(const int channel)
with the "what" parameter you can decide which aspect of the data is made available. This class is one of those which have several different "kinds" of data; we use this to bring up the misc. items in the FEM headers and trailers.

BBC has charge information and two time infos. Charge is considered the default return value, so iValue(i) gives you the charge info of channel i.

With iValue(i, "T1") you get the discriminator 1 time, and iValue(i, "T2") gives you the discriminator 2 time.

Each of the boards has an ID embedded in the data stream. There are at most 16 boards. With

 packet->iValue(i,"BOARD")
you get the board id of board i.

In 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


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.