NAIA  1.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
DAQ.cpp
Go to the documentation of this file.
1 #include "Containers/DAQ.h"
2 
3 namespace NAIA {
4 const std::string DAQ::BranchName = "DAQ";
5 
6 void DAQData::Clear() {
7  DaqEventLength = 0;
8  DaqErrors = 0;
11  JRoomError = 0;
12  JINJStatus = std::array<unsigned int, 4>{0};
13  JLength = std::array<unsigned int, 24>{0};
14 }
15 } // namespace NAIA
std::array< unsigned int, 4 > JINJStatus
JINJ-[0,1,2,3] status word.
Definition: DAQ.h:55
void Clear()
Clear the container.
Definition: DAQ.cpp:6
std::bitset< 24 > JRoomError
Flag JINJ slaves with Room Errors.
Definition: DAQ.h:52
unsigned int DaqEventLength
Event length in bytes.
Definition: DAQ.h:48
DAQ container class description.
static const std::string BranchName
Definition: DAQ.h:81
std::bitset< 14 > DaqReplyCodeErrors
Bit array showing presence of errors in any of the JINJ slaves reply codes as described in Table 6...
Definition: DAQ.h:50
std::bitset< 24 > DaqJinfRoomErrors
Bit array word flagging jinfs with room error.
Definition: DAQ.h:51
std::bitset< 8 > DaqErrors
Misc DAQ errors flags.
Definition: DAQ.h:49
std::array< unsigned int, 24 > JLength
Untruncated length in bytes of corresponding slave in JINJ block.
Definition: DAQ.h:56