class Packet_tec_dcm0: public Packet_w4

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

Inheritance:


Public Methods

[more]virtual int iValue(const int channel, const char *what)
with the "what" parameter you can decide which aspect of the data is made available.
[more]virtual int iValue(const int channel, const int time)
The iValue(const int channel,const int time) interface returns the (channel-number, time bin) value.


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 TEC_DCM0 format. It inherits from Packet_w4 because the data are 32bit entities.
ovirtual int iValue(const int channel, const char *what)
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.

There is

 packet->iValue(0,"EVTNR")  The FEM event number
 packet->iValue(0,"MODULE")   The Module ID
 packet->iValue(0,"FLAGS")    The "FLAGS: word (who can explain what this is) 
 packet->iValue(0,"BCLK")     Beam clock value from FEM
 packet->iValue(0,"USERWORD")   The User word
 packet->iValue(0,"PARITY")   The longitudinal parity

ovirtual int iValue(const int channel, const int time)
The iValue(const int channel,const int time) interface returns the (channel-number, time bin) value. It is the main interface to the data.

There are also the fillIntArray and getIntArray interfaces, which return all 64*80 samples in one big linear array.


Direct child classes:
Packet_tec_dcm1

Alphabetic index HTML hierarchy of classes or Java



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