#include <TArtDataFormat.h>
Inheritance diagram for TArtDataFormat:
Public Member Functions | |
virtual void | Delete () |
virtual ArtBlockStat_t | GetNextBlock (TArtDataSource *source)=0 |
Get next block from the source. | |
virtual ArtEventStat_t | GetNextEvent (unsigned short *buf, unsigned short *runbuf, unsigned short *rnum, int &nw)=0 |
Get next event data. | |
virtual void | FindSegment (unsigned short *evtdata, int *evtsize, int *addr, int *nw, int *maxsegid)=0 |
Search find segmentids in the event data. | |
virtual | ~TArtDataFormat () |
Default destructor. | |
Static Public Attributes | |
const unsigned int | kMaxBlockLen = 512*1024/sizeof(short) |
The size of the buffer allocated to fBlock. | |
Protected Attributes | |
unsigned short * | fBlock |
a buffer of a block, which will be allocated in the default constructor | |
unsigned int | fBlockLen |
block length | |
ArtBlockType_t | fBlockType |
block type | |
unsigned int | fPointer |
offset of the current position to the buffer |
|
Search find segmentids in the event data.
|
|
Get next block from the source. The head position, the length and the type of the new block should be assigned to fBlock, fBlockLen, and fBlockType, respectively, in this method.
|
|
Get next event data. The information of the next event data will be returned to arguments.
|