Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

TArtRDF Class Reference

TArtRD. More...

#include <TArtRDF.h>

Inheritance diagram for TArtRDF:

TArtDataFormat List of all members.

Public Member Functions

virtual ArtBlockStat_t GetNextBlock (TArtDataSource *source)
 Get next block from the source.
virtual ArtEventStat_t GetNextEvent (unsigned short *buf, unsigned short *runbuf, unsigned short *rnum, int &nw)
 Get next event data.
virtual void FindSegment (unsigned short *evtdata, int *evtsize, int *addr, int *nw, int *maxsegid)
 Search find segmentids in the event data.

Static Public Member Functions

TArtDataFormatInstance ()

Static Public Attributes

const int kBlockSize = 16 * 1024

Detailed Description

TArtRD.


Member Function Documentation

void TArtRDF::FindSegment unsigned short *  evtdata,
int *  evtsize,
int *  addr,
int *  nw,
int *  maxsegid
[virtual]
 

Search find segmentids in the event data.

Parameters:
evtdata [in] the event data to be seached
evtsize [in] the size of the event data
addr [out] an array with the length of maxsegid where the offset of each segment is saved
nw [out] an array with the length of maxsegid where the number of words of each segment is saved
maxsegid [in] the length of the array

Implements TArtDataFormat.

ArtBlockStat_t TArtRDF::GetNextBlock TArtDataSource source  )  [virtual]
 

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.

Parameters:
source data source
Returns:
status of block data

Implements TArtDataFormat.

ArtEventStat_t TArtRDF::GetNextEvent unsigned short *  buf,
unsigned short *  runbuf,
unsigned short *  rnum,
int &  nw
[virtual]
 

Get next event data.

The information of the next event data will be returned to arguments.

Parameters:
buf [out] the pointer to the new event
runbuf [out] the pointer to the run number in comment block
rnum [out] the pointer to the run number (used for dump data)
nw [out] the number of words in the new event
Returns:
status of event data

Implements TArtDataFormat.


The documentation for this class was generated from the following files:
Generated on Mon Sep 8 08:58:21 2008 by  doxygen 1.3.9.1