The Raw TLU class Class for data from DAQ PC for TLU(Trigger Logic Unit) It is supposed to be used only in the DESY beam test.
More...
|
| RawTLU () |
| Default constructor.
|
|
virtual | ~RawTLU () |
| Destructor.
|
|
int | GetNwordsHeader (int n) |
| Get the size of the header.
|
|
unsigned int | GetNodeID (int n) |
| Get Node ID.
|
|
unsigned int | GetEveNo (int n) |
| Get Event #.
|
|
unsigned int | GetMagicTrailer (int n) |
| Get Magic Trailer #.
|
|
int | GetRunNo (int n) |
| Get Run #.
|
|
unsigned int | GetTLUEventTag (int n) |
| Get TLU event tag.
|
|
void | CheckData (int n, unsigned int prev_evenum, unsigned int *cur_evenum) |
| check data contents
|
|
virtual void | SetBuffer (int *bufin, int nwords, int delete_flag, int num_events, int num_nodes) |
| set buffer ( delete_flag : m_buffer is freeed( = 0 )/ not freeed( = 1 ) in Destructer )
|
|
virtual int | TotalBufNwords () |
| Get total length of m_buffer.
|
|
virtual int | GetBufferPos (int n) |
| get position of data block in word
|
|
virtual int * | GetBuffer (int n) |
| get nth buffer pointer
|
|
virtual int * | GetWholeBuffer () |
| get pointer to buffer(m_buffer)
|
|
virtual int | GetNumEntries () |
| get # of data blocks = (# of nodes)*(# of events)
|
|
virtual int | GetNumNodes () |
| get # of data sources(e.g. # of COPPER boards) in m_buffer
|
|
virtual int | GetNumEvents () |
| get # of events in m_buffer
|
|
virtual int | GetPreAllocFlag () |
| get malloc_flag
|
|
virtual int | GetBlockNwords (int n) |
| get size of a data block
|
|
virtual int | CheckFTSWID (int n) |
| get FTSW ID to check whether this data block is FTSW data or not
|
|
virtual int | CheckTLUID (int n) |
| get FTSW ID to check whether this data block is FTSW data or not
|
|
virtual void | CopyBlock (int n, int *buf_to) |
| Copy one datablock to buffer.
|
|
virtual void | PrintData (int *buf, int nwords) |
| print data
|
|
The Raw TLU class Class for data from DAQ PC for TLU(Trigger Logic Unit) It is supposed to be used only in the DESY beam test.
Definition at line 27 of file RawTLU.h.