Classes | Namespaces | Macros | Enumerations | Functions | Variables
RawTriggerHeaderV0.h File Reference
#include "DAQDataFormats/RawDAQData.h"
#include "DAQDataFormats/Macros.h"
#include "DAQDataFormats/BitFields.h"
#include "DAQDataFormats/DataFormatFirst.inc"
#include "DAQDataFormats/DataFormatLast.inc"

Go to the source code of this file.

Classes

class  daqdataformats::VERSION_NAMESPACE::RawTriggerHeader
 Class to hold the data from the global trigger header in the correct format. More...
 

Namespaces

 daqdataformats
 Class to hold the data from the FEBs in correct formats.
 
 daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE
 
 daqdataformats::VERSION_NAMESPACE
 
 daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE
 

Macros

#define CURRENT_CLASS   RawTriggerHeader
 
#define CURRENT_CLASS_VERSION   0
 
#define CURRENT_FIELDS_SUB_NAMESPACE   triggerheader
 

Enumerations

enum  daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::TriggerHeaderMASKS {
  daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::MASK_Delimiter = 0xFFFF0000, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::MASK_Version = 0x00000FFF, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::MASK_HWFlag = 0x80000000, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::MASK_Source = 0x78000000,
  daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::MASK_SourceSubID = 0x00FF0000, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::MASK_SourceID = 0x0000FFFF, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::MASK_TriggerNumberLow = 0xFFFFFFFF, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::MASK_TriggerNumberHigh = 0x000000FF,
  daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::MASK_MasterTriggerNumberLow = 0xFFFFFFFF, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::MASK_MasterTriggerNumberHigh = 0x000000FF
}
 
enum  daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::TriggerHeaderWORDS {
  daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::WORD_Delimiter = 0, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::WORD_Version = 0, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::WORD_HWFlag = 1, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::WORD_Source = 1,
  daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::WORD_SourceSubID = 1, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::WORD_SourceID = 1, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::WORD_TriggerNumberLow = 2, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::WORD_TriggerNumberHigh = 3,
  daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::WORD_MasterTriggerNumberLow = 4, daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::WORD_MasterTriggerNumberHigh = 5
}
 

Functions

 daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK (Delimiter)
 
 daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK (Version)
 
 daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK (HWFlag)
 
 daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK (Source)
 
 daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK (SourceSubID)
 
 daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK (SourceID)
 
 daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK (TriggerNumberLow)
 
 daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK (TriggerNumberHigh)
 
 daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK (MasterTriggerNumberLow)
 
 daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK (MasterTriggerNumberHigh)
 

Variables

static const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::TriggerHeaderDelimiter = 0xAAAA
 
static const uint32_t daqdataformats::VERSION_NAMESPACE::CURRENT_FIELDS_SUB_NAMESPACE::TRIGGERHEADER_SIZE = 6
 

Macro Definition Documentation

#define CURRENT_CLASS   RawTriggerHeader

It is requred to

  1. include DAQDataFormats/DataFormatFirst.inc
  2. define CURRENT_CLASS
  3. define CURRENT_CLASS_VERSION for version of the class OR define LAST_CLASS_VERSION for the main structure of the class
  4. (optional) define CURRENT_FIELDS_SUB_NAMESPACE
  5. include DAQDataFormats/DataFormatLast.inc before the declaration of the DataFormat version class in the header.

Definition at line 16 of file RawTriggerHeaderV0.h.

#define CURRENT_CLASS_VERSION   0

Definition at line 17 of file RawTriggerHeaderV0.h.

#define CURRENT_FIELDS_SUB_NAMESPACE   triggerheader

Definition at line 18 of file RawTriggerHeaderV0.h.