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

Accessor class for DAQ info. More...

#include <Containers/DAQ.h>

Inheritance diagram for NAIA::DAQ:
NAIA::OnDemandContainer< DAQ > NAIA::DAQData

Public Member Functions

 DAQ ()
 
- Public Member Functions inherited from NAIA::OnDemandContainer< DAQ >
 OnDemandContainer ()=default
 
void LoadEvent ()
 Wrapper to call GetEntry on the underlying TBranch. More...
 
void SetTreeEntry (unsigned long long treeEntry)
 Set the TTree entry number. More...
 
void Branch (TTree *tree)
 Create the TBranch associated with this container. More...
 
void MirrorBranch (TTree *targetTree, const DAQ *sourceContainer)
 Create a TBranch associated with this container mirroring from an existing container. More...
 
void SetBranchAddress (TTree *tree)
 Setup reading of the data container. More...
 
void DisableIO () const
 Disables I/O for this container. It won't be written on disk and trying to read it will cause an exception. More...
 
DAQoperator-> ()
 Access operator. Use this to access container data More...
 
- Public Member Functions inherited from NAIA::DAQData
void Clear ()
 Clear the container. More...
 

Static Public Attributes

static const std::string BranchName = "DAQ"
 

Additional Inherited Members

- Public Types inherited from NAIA::DAQData
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 Attributes inherited from NAIA::DAQData
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

Accessor class for DAQ info.

Wrapper implementing read-on-demand behavior for DAQ data.

Definition at line 79 of file DAQ.h.

Constructor & Destructor Documentation

NAIA::DAQ::DAQ ( )
inline

Definition at line 83 of file DAQ.h.

Member Data Documentation

const std::string NAIA::DAQ::BranchName = "DAQ"
static

Definition at line 81 of file DAQ.h.


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