NAIA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Types | Public Member Functions | Public Attributes | List of all members
NAIA::DAQData Class Reference

Container class for DAQ info. More...

#include <Containers/DAQ.h>

Inheritance diagram for NAIA::DAQData:
NAIA::DAQ

Public Types

enum  DAQError : short {
  HWError = 0x1, L3ProcError = 0x2, L3RunError = 0x4, L3EventError = 0x8,
  BuildConditionError = 0x10, BuildErrors = 0x20, CumulativeNodeStatus = 0x40
}
 enum for describing error type, used in DaqErrors More...
 

Public Member Functions

void Clear ()
 Clear the container. More...
 

Public Attributes

unsigned int DaqEventLength = 0
 Event length in bytes. More...
 
std::bitset< 8 > DaqErrors = 0
 Misc DAQ errors flags. More...
 
std::bitset< 14 > DaqReplyCodeErrors = 0
 Bit array showing presence of errors in any of the JINJ slaves reply codes as described in Table 6, Flight Software for xDR and JINx nodes... More...
 
std::bitset< 24 > DaqJinfRoomErrors = 0
 Bit array word flagging jinfs with room error. More...
 
std::bitset< 24 > JRoomError = 0
 Flag JINJ slaves with Room Errors. More...
 
std::array< unsigned int, 4 > JINJStatus
 JINJ-[0,1,2,3] status word. More...
 
std::array< unsigned int, 24 > JLength
 Untruncated length in bytes of corresponding slave in JINJ block. More...
 

Detailed Description

Container class for DAQ info.

This container class holds all the relevant data describing the status of the AMS DAQ for the current event.

Definition at line 32 of file DAQ.h.

Member Enumeration Documentation

enum for describing error type, used in DaqErrors

Enumerator
HWError 
L3ProcError 
L3RunError 
L3EventError 
BuildConditionError 
BuildErrors 
CumulativeNodeStatus 

Definition at line 37 of file DAQ.h.

Member Function Documentation

void NAIA::DAQData::Clear ( )

Clear the container.

Definition at line 6 of file DAQ.cpp.

References DaqErrors, DaqEventLength, DaqJinfRoomErrors, DaqReplyCodeErrors, JINJStatus, JLength, and JRoomError.

Referenced by NAIA::Event::Clear().

Member Data Documentation

std::bitset<8> NAIA::DAQData::DaqErrors = 0

Misc DAQ errors flags.

Definition at line 49 of file DAQ.h.

Referenced by Clear().

unsigned int NAIA::DAQData::DaqEventLength = 0

Event length in bytes.

Definition at line 48 of file DAQ.h.

Referenced by Clear().

std::bitset<24> NAIA::DAQData::DaqJinfRoomErrors = 0

Bit array word flagging jinfs with room error.

Definition at line 51 of file DAQ.h.

Referenced by Clear().

std::bitset<14> NAIA::DAQData::DaqReplyCodeErrors = 0

Bit array showing presence of errors in any of the JINJ slaves reply codes as described in Table 6, Flight Software for xDR and JINx nodes...

Definition at line 50 of file DAQ.h.

Referenced by Clear().

std::array<unsigned int, 4> NAIA::DAQData::JINJStatus

JINJ-[0,1,2,3] status word.

Definition at line 55 of file DAQ.h.

Referenced by Clear().

std::array<unsigned int, 24> NAIA::DAQData::JLength

Untruncated length in bytes of corresponding slave in JINJ block.

Definition at line 56 of file DAQ.h.

Referenced by Clear().

std::bitset<24> NAIA::DAQData::JRoomError = 0

Flag JINJ slaves with Room Errors.

Definition at line 52 of file DAQ.h.

Referenced by Clear().


The documentation for this class was generated from the following files: