GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSEP / V3-4-1 > qsepprint / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

QSEP_pvtdef.h File Reference

Application specific private context. More...

#include <QSEP/QSEP_ctx.h>
#include <QDFP_ctxdef.h>
#include <QDFP_evtdef.h>
#include <QSE/QSE_ctx.h>
#include <QSE/QSE_evt.h>
#include <QSP/QFCP_cache.h>
#include <QSP/QFCP_files.h>
#include <EDS/EBF_gem.h>
#include <EDS/EBF_ebw.h>
#include <EDS/EBF_esw.h>
#include <LDT/BFU.h>
#include <LPA_DB/LPA_DB_schema.h>

Classes

struct  _QSEP_dtxChecksum
 The application specific private context for the checksum. More...
struct  _QSEP_dtxRsd
 The application specific private context for the result summary data. More...
struct  _QSEP_cacheCfg
 The configuration file caches. More...
struct  _QSEP_cache
 The QSEP file caches. More...
struct  _QSEP_dtxCtx
 Collection of all the context structures. More...
struct  _QSEP_dtxEvt
 Collection of all the decode event structures. More...
struct  _QSEP_dtx
 The application specific private context. More...
struct  _QSEP
 The event handle for physics events. More...

Typedefs

typedef struct _QDF_esbCtx QDF_esbCtx
typedef struct _QDF_gemCtx QDF_gemCtx
typedef struct _QDFP_acdCtx QDFP_acdCtx
typedef struct _QDFP_calCtx QDFP_calCtx
typedef struct _QDFP_tkrCtx QDFP_tkrCtx
typedef struct _QSEP_dtxChecksum QSEP_dtxChecksum
 Typedef for struct _QSEP_dtxChecksum.
typedef struct _QSEP_dtxRsd QSEP_dtxRsd
 Typedef for struct _QSEP_dtxRsd.
typedef struct _QSEP_cacheCfg QSEP_cacheCfg
 Typedef for struct _QSEP_cacheCfg.
typedef struct _QSEP_cache QSEP_cache
 Typedef for _QSEP_cache.
typedef struct _QSEP_dtxCtx QSEP_dtxCtx
 Typedef for struct _QSEP_dtxCtx.
typedef struct _QSEP_dtx QSEP_dtx
 Typedef for struct _QSEP_dtx.
typedef struct _QSE_ctxUpdateInfo QSE_ctxUpdateInfo
typedef int(* QSEP_evt_update )(QSEP_dtx *dtx, const LSF_record *ievt, QSE_ctxUpdateInfo *info)
 The event update routine.
typedef int(* QSEP_evt_decode )(QSEP_dtx *dtx, const LSF_record *ievt, QSE_ebfEvt *ebf, int ebf_size, unsigned int *ret_size)
 The event decode routine.
typedef struct _QSEP_dtxEvt QSEP_dtxEvt
 Typedef for struct _QSEP_dtxEvt.
typedef struct _QSEP QSEP
 Typedef for struct _QSEP.

Functions

static __inline unsigned int qsep__ebw_construct (unsigned int src, unsigned int dst, unsigned int rsp, unsigned int len)
 Constructs the Event Build Word from the pieces.
static __inline unsigned int qsep__esw_construct (unsigned int seq, unsigned int dgnblk, unsigned int errblk, unsigned int marker, unsigned int suppress, unsigned int range)
 Constructs the Event Summary Word from the pieces.


Detailed Description

Application specific private context.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QSEP_pvtdef.h,v 1.13 2011/03/29 18:49:04 russell Exp $

Typedef Documentation

typedef int(* QSEP_evt_decode)(QSEP_dtx *dtx, const LSF_record *ievt, QSE_ebfEvt *ebf, int ebf_size, unsigned int *ret_size)

The event decode routine.

Returns:
Decoding status
Parameters:
dtx The decoding context
ievt The input event data to decode
ebf The output EBF event structure
ebf_size The number of bytes available in ebf
ret_size The number of bytes actually used.

int(* QSEP_evt_update)(QSEP_dtx *dtx, const LSF_record *rec, QSE_ctxUpdateInfo *info)

The event update routine.

Returns:
Status
Parameters:
dtx The application specific update context
rec The event record
info The generic event context


Function Documentation

static __inline unsigned int qsep__ebw_construct ( unsigned int  src,
unsigned int  dst,
unsigned int  rsp,
unsigned int  len 
) [static]

Constructs the Event Build Word from the pieces.

Returns:
The construct Event Builder Word
Parameters:
src The LATp source node (ie one of the EBF_CID_K_xxx values
dst The LATp destination CPU
rsp The value of the more bit (0 = NO MORE)
len The length, in 32-bit words, of the contribution

static __inline unsigned int qsep__esw_construct ( unsigned int  seq,
unsigned int  dgnblk,
unsigned int  errblk,
unsigned int  marker,
unsigned int  suppress,
unsigned int  range 
) [static]

Constructs the Event Summary Word from the pieces.

Returns:
The constructed Event Summary Word
Parameters:
seq The 17 bit sequence number
dgnblk Diagnostic block present
errblk Error block present
marker Value of the marker field
suppress Zero suppress enable flag
range Four range readout flag


Generated on Tue Nov 29 20:32:36 2011 by  doxygen 1.5.8