Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

EBFcontribution Class Reference

Class for decoding a EBF contribution to an event. More...

#include <EBFcontribution.h>

Inheritance diagram for EBFcontribution:

Inheritance graph
[legend]
List of all members.

Public Types

enum  {
  Tower_00 = 0, Tower_01 = 1, Tower_02 = 2, Tower_03 = 3,
  Tower_04 = 4, Tower_05 = 5, Tower_06 = 6, Tower_07 = 7,
  Tower_08 = 8, Tower_09 = 9, Tower_10 = 10, Tower_11 = 11,
  Tower_12 = 12, Tower_13 = 13, Tower_14 = 14, Tower_15 = 15,
  PDU_0 = 16, PDU_1 = 17, GEM = 18, AEM = 19,
  EBM = 20, CRU = 30, Broadcast = 31, OSW = 32
}
enum  { Parity = 1, Truncated = 2, WriteFault = 3, TimedOut = 4 }
enum  { NumberOfContributions = 64 }

Public Member Functions

unsigned header () const
 Return the LATp header in the contribution.
unsigned packetError () const
 Return the packet error value in the contribution.
unsigned sequence () const
 Return the sequence number in the contribution.
unsigned length () const
 Return the contribution's size in units of bytes.
unsigned summary () const
 Return the event's summary word.
EBFcontributionnext () const
 Return a pointer to the next EBFcontribution.
unsigned payloadSize () const
 Return the size of the payload in the contribution.
char * payload () const
 Return a pointer to the payload in the contribution.
TEMcontributiontemContribution () const
 Return a pointer to this contribution cast as a TEMcontribution.
AEMcontributionaemContribution () const
 Return a pointer to this contribution cast as a AEMcontribution.
GEMcontributiongemContribution () const
 Return a pointer to this contribution cast as a GEMcontribution.
GLTcontributiongltContribution () const
 Return a pointer to this contribution cast as a GLTcontribution.
OSWcontribution * oswContribution () const
 Return a pointer to this contribution cast as a OSWcontribution.

Detailed Description

Class for decoding a EBF contribution to an event.

Author:
R. Claus -- GLAST LAT I&T/Online - (claus@slac.stanford.edu)
Revision
1.6
Date:
January 23, 2003 -- Created
Id
EBFcontribution.h,v 1.6 2004/10/18 00:32:13 claus Exp

Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.


Member Function Documentation

AEMcontribution * EBFcontribution::aemContribution  )  const [inline]
 

Return a pointer to this contribution cast as a AEMcontribution.

Returns:
A pointer to this contribution cast as a AEMcontribution

GEMcontribution * EBFcontribution::gemContribution  )  const [inline]
 

Return a pointer to this contribution cast as a GEMcontribution.

Returns:
A pointer to this contribution cast as a GEMcontribution

GLTcontribution * EBFcontribution::gltContribution  )  const [inline]
 

Return a pointer to this contribution cast as a GLTcontribution.

Returns:
A pointer to this contribution cast as a GLTcontribution

unsigned EBFcontribution::header  )  const [inline]
 

Return the LATp header in the contribution.

Returns:
The LATp header in the contribution

unsigned EBFcontribution::length  )  const [inline]
 

Return the contribution's size in units of bytes.

Returns:
The contribution's size in units of bytes.

EBFcontribution * EBFcontribution::next  )  const [inline]
 

Return a pointer to the next EBFcontribution.

Returns:
A pointer to the next EBFcontribution

OSWcontribution * EBFcontribution::oswContribution  )  const [inline]
 

Return a pointer to this contribution cast as a OSWcontribution.

Returns:
A pointer to this contribution cast as a OSWcontribution

unsigned EBFcontribution::packetError  )  const [inline]
 

Return the packet error value in the contribution.

Returns:
The packet error value in the contribution

char * EBFcontribution::payload  )  const [inline]
 

Return a pointer to the payload in the contribution.

Returns:
A pointer to the payload in the contribution

unsigned EBFcontribution::payloadSize  )  const [inline]
 

Return the size of the payload in the contribution.

Returns:
The size of the payload in the contribution

unsigned EBFcontribution::sequence  )  const [inline]
 

Return the sequence number in the contribution.

Returns:
The sequence number in the contribution

unsigned EBFcontribution::summary  )  const [inline]
 

Return the event's summary word.

Returns:
The event's summary word.

TEMcontribution * EBFcontribution::temContribution  )  const [inline]
 

Return a pointer to this contribution cast as a TEMcontribution.

Returns:
A pointer to this contribution cast as a TEMcontribution


The documentation for this class was generated from the following file:
Generated on Thu Sep 29 12:13:37 2005 for LDF v05-07-00 by doxygen 1.3.9.1