Classes | Enumerations | Functions | Variables
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE Namespace Reference

Classes

class  ConfigurationBlockConstructor
 
class  ConfigurationHeaderConstructor
 
class  ConfigurationNameConstructor
 
class  ConfigurationSystemIDConstructor
 
class  ConfigurationTailConstructor
 
class  DataBlockHeaderConstructor
 
class  EventHeaderConstructor
 
class  EventTailConstructor
 
class  MicroBlockConstructor
 
class  MicroBlockHeaderConstructor
 
class  NanoSliceConstructor
 
class  NanoSliceHeaderConstructor
 
class  RunHeaderConstructor
 
class  TriggerMaskConstructor
 

Enumerations

enum  DCMChanMASKS { MASK_DiblockId = 0x00FF, MASK_DCMId = 0x1F00, MASK_DetId = 0xE000, MASK_GlobalDCMID = 0xFFFF }
 
enum  DCMChanWORDS { WORD_DiblockId = 0, WORD_DCMId = 0, WORD_DetId = 0, WORD_GlobalDCMID = 0 }
 
enum  Mode_t { Mode_Keep_All_MicroSlices = 0, Mode_Discard_Empty_MicroSlices = 1 }
 
enum  MilliSliceHeaderMASKS {
  MASK_Marker = 0xFFFF0000, MASK_Version = 0x00000FFF, MASK_SliceSize = 0xFFFFFFFF, MASK_Partition = 0xFC000000,
  MASK_DestBuffID = 0x03FF0000, MASK_DiblockId = 0x00FF, MASK_DCMId = 0x1F00, MASK_DetId = 0xE000,
  MASK_GlobalDCMID = 0xFFFF, MASK_MilliSliceSEQ = 0xFFFFFFFF, MASK_TimeStartLow = 0xFFFFFFFF, MASK_TimeStartHigh = 0x00FFFFFF,
  MASK_TimeLength = 0x03FFFFFF, MASK_Complete = 0x04000000, MASK_Mode = 0x08000000, MASK_ConnectionInitialization = 0x10000000,
  MASK_CloseConnection = 0x20000000, MASK_CorruptData = 0x40000000, MASK_MissingData = 0x80000000, MASK_MicrosliceNumber = 0x003FFFFF,
  MASK_FrameSEQ = 0xFFC00000, MASK_MilliSliceIndexNumber = 0x0000FFFF, MASK_MicroSliceTimeLength_usec = 0x0FFF0000, MASK_MonteCarloFlag = 0x20000000,
  MASK_CRCCalculationUsed = 0x40000000, MASK_MilliSliceIndexUsed = 0x80000000
}
 
enum  MilliSliceHeaderWORDS {
  WORD_Marker = 0, WORD_Version = 0, WORD_SliceSize = 1, WORD_Partition = 2,
  WORD_DestBuffID = 2, WORD_DiblockId = 0, WORD_DCMId = 0, WORD_DetId = 0,
  WORD_GlobalDCMID = 0, WORD_MilliSliceSEQ = 3, WORD_TimeStartLow = 4, WORD_TimeStartHigh = 5,
  WORD_TimeLength = 6, WORD_Complete = 6, WORD_Mode = 6, WORD_ConnectionInitialization = 6,
  WORD_CloseConnection = 6, WORD_CorruptData = 6, WORD_MissingData = 6, WORD_MicrosliceNumber = 7,
  WORD_FrameSEQ = 7, WORD_MilliSliceIndexNumber = 8, WORD_MicroSliceTimeLength_usec = 8, WORD_MonteCarloFlag = 8,
  WORD_CRCCalculationUsed = 8, WORD_MilliSliceIndexUsed = 8
}
 
enum  MilliSliceIndexMASKS { MASK_Time = 0xFFFFFFFF, MASK_Offset = 0x000FFFFF }
 
enum  MilliSliceIndexWORDS { WORD_Time = 0, WORD_Offset = 1 }
 
enum  MilliSliceIndexHeaderMASKS { MASK_Version = 0x00000FFF, MASK_Closed = 0x00008000, MASK_IndexNumber = 0xFFFF0000 }
 
enum  MilliSliceIndexHeaderWORDS { WORD_Version = 0, WORD_Closed = 0, WORD_IndexNumber = 0 }
 
enum  TriggerVersion { RAWTRIGGER_MAXIMUM_SIZE = 50 }
 
enum  TriggerVersions {
  TriggerTimingMarker, TriggerRange, TriggerTime, TriggerMask,
  LAST
}
 order in the version vector More...
 
enum  ConfigurationHeaderTestValues {
  TEST_VALUE_DetectorID = 3, TEST_VALUE_ConfigurationBlockSize = 13, TEST_VALUE_ResourceManagerID = 14, TEST_VALUE_RunNumber = 15,
  TEST_VALUE_RunType = 16, TEST_VALUE_ConfigurationIDX = 17, TEST_VALUE_Partition = 18, TEST_VALUE_Subrun = 19,
  TEST_VALUE_SystemNumber = 20, TEST_VALUE_SystemVersionIDX = 21
}
 
enum  ConfigurationTailTestValues { TEST_VALUE_DAQSystemID = 12, TEST_VALUE_DAQSubSystemID = 13, TEST_VALUE_CRC = 12345 }
 
enum  ConfigurationTailTestValues { TEST_VALUE_DAQSystemID = 12, TEST_VALUE_DAQSubSystemID = 13, TEST_VALUE_CRC = 12345 }
 
enum  DataBlockHeaderTestValues {
  TEST_VALUE_TrigNumLo = 123, TEST_VALUE_TrigNumHi = 124, TEST_VALUE_NumMicroBlocks = 125, TEST_VALUE_BuffId = 126,
  TEST_VALUE_DataSize = 128, TEST_VALUE_MonteCarloFlag = 1, TEST_VALUE_CRCCalculationUsed = 1, TEST_VALUE_ConnectionInitialization = 1,
  TEST_VALUE_CloseConnection = 1, TEST_VALUE_MissingData = 1
}
 
enum  EventHeaderTestValues {
  TEST_VALUE_DataLoggerID = 123, TEST_VALUE_RunNumber = 15, TEST_VALUE_RunType = 16, TEST_VALUE_ConfigIDX = 126,
  TEST_VALUE_Partition = 18, TEST_VALUE_Subrun = 19, TEST_VALUE_EventNumberLo = 129, TEST_VALUE_EventNumberHi = 130,
  TEST_VALUE_EventType = 131, TEST_VALUE_EventSize = 132, TEST_VALUE_DataBlockNumber = 133, TEST_VALUE_TriggerFilled = 1,
  TEST_VALUE_TailFilled = 1, TEST_VALUE_MonteCarloFlag = 1, TEST_VALUE_CRCCalculationUsed = 1, TEST_VALUE_EventIncomplete = 1,
  TEST_VALUE_EventNumber = 123
}
 
enum  EventTailTestValues { TEST_VALUE_EventNumberLo = 129, TEST_VALUE_EventNumberHi = 130, TEST_VALUE_EventSize = 132 }
 
enum  MicroBlockHeaderTestValues { TEST_VALUE_DestBuffID = 12, TEST_VALUE_Partition = 18 }
 
enum  NanoSliceTestValues { TEST_VALUE_TimeStamp = 1067, TEST_VALUE_PulseHeight = 34, TEST_VALUE_Value1 = 12 }
 
enum  NanoSliceHeaderTestValues {
  TEST_VALUE_LinkStatus = 1, TEST_VALUE_DataPresent = 1, TEST_VALUE_DebugMode = 1, TEST_VALUE_FEBId = 2,
  TEST_VALUE_FEBStatus = 3, TEST_VALUE_PixelAddr = 4, TEST_VALUE_Sequence = 6, TEST_VALUE_Pad3 = 4,
  TEST_VALUE_DAQEnabled = 1, TEST_VALUE_BufferEmpty = 1, TEST_VALUE_BufferFull = 1, TEST_VALUE_CommError = 1,
  TEST_VALUE_PacketError = 1, TEST_VALUE_OverflowError = 1, TEST_VALUE_ADCError = 1
}
 
enum  RunHeaderTestValues {
  TEST_VALUE_RunNumber = 15, TEST_VALUE_RunType = 16, TEST_VALUE_ConfigIDX = 126, TEST_VALUE_Partition = 18,
  TEST_VALUE_Subrun = 19, TEST_VALUE_ConfigurationBlockSet = 1, TEST_VALUE_RunControlVersion = 63, TEST_VALUE_RunControlID = 129,
  TEST_VALUE_DataLoggerVersion = 56, TEST_VALUE_DataLoggerID = 123, TEST_VALUE_RunStartTime = 136, TEST_VALUE_SubRunStartTime = 137,
  TEST_VALUE_SubRunEndTime = 138, TEST_VALUE_RunEndTime = 139, TEST_VALUE_TotalEvents = 140, TEST_VALUE_UniversalEventStartLo = 141,
  TEST_VALUE_UniversalEventStartHi = 142, TEST_VALUE_UniversalEventEndLo = 143, TEST_VALUE_UniversalEventEndHi = 144, TEST_VALUE_RunSize = 145,
  TEST_VALUE_TriggerVersion = 146, TEST_VALUE_TriggerCtrlID = 147, TEST_VALUE_TriggerMC = 1, TEST_VALUE_VTMod = 1,
  TEST_VALUE_ValidTriggerTypesLow = 149, TEST_VALUE_ValidTriggerTypesHigh = 150, TEST_VALUE_ValidTriggerTypesHigh2 = 151, TEST_VALUE_TriggerListIDX = 152,
  TEST_VALUE_TriggerPrescaleListIDX = 153, TEST_VALUE_CRC = 12345, TEST_VALUE_UniversalEventStart = 155, TEST_VALUE_UniversalEventEnd = 156
}
 
enum  TriggerMaskTestValues {
  TEST_VALUE_MonteCarloFlag = 1, TEST_VALUE_TrigMod = 2, TEST_VALUE_TrigMask_Low = 3, TEST_VALUE_TrigMask_High = 4,
  TEST_VALUE_TrigMask_High2 = 5, TEST_VALUE_Prescale = 6
}
 

Functions

 DEFINE_SHIFT_FROM_MASK (DiblockId)
 
 DEFINE_SHIFT_FROM_MASK (DCMId)
 
 DEFINE_SHIFT_FROM_MASK (DetId)
 
 DEFINE_SHIFT_FROM_MASK (GlobalDCMID)
 
 DEFINE_SHIFT_FROM_MASK (Marker)
 
 DEFINE_SHIFT_FROM_MASK (Version)
 
 DEFINE_SHIFT_FROM_MASK (SliceSize)
 
 DEFINE_SHIFT_FROM_MASK (Partition)
 
 DEFINE_SHIFT_FROM_MASK (DestBuffID)
 
 DEFINE_SHIFT_FROM_MASK (MilliSliceSEQ)
 
 DEFINE_SHIFT_FROM_MASK (TimeStartLow)
 
 DEFINE_SHIFT_FROM_MASK (TimeStartHigh)
 
 DEFINE_SHIFT_FROM_MASK (TimeLength)
 
 DEFINE_SHIFT_FROM_MASK (Complete)
 
 DEFINE_SHIFT_FROM_MASK (Mode)
 
 DEFINE_SHIFT_FROM_MASK (ConnectionInitialization)
 
 DEFINE_SHIFT_FROM_MASK (CloseConnection)
 
 DEFINE_SHIFT_FROM_MASK (CorruptData)
 
 DEFINE_SHIFT_FROM_MASK (MissingData)
 
 DEFINE_SHIFT_FROM_MASK (MicrosliceNumber)
 
 DEFINE_SHIFT_FROM_MASK (FrameSEQ)
 
 DEFINE_SHIFT_FROM_MASK (MilliSliceIndexNumber)
 
 DEFINE_SHIFT_FROM_MASK (MicroSliceTimeLength_usec)
 
 DEFINE_SHIFT_FROM_MASK (MonteCarloFlag)
 
 DEFINE_SHIFT_FROM_MASK (CRCCalculationUsed)
 
 DEFINE_SHIFT_FROM_MASK (MilliSliceIndexUsed)
 
 DEFINE_SHIFT_FROM_MASK (Time)
 
 DEFINE_SHIFT_FROM_MASK (Offset)
 
 DEFINE_SHIFT_FROM_MASK (Closed)
 
 DEFINE_SHIFT_FROM_MASK (IndexNumber)
 

Variables

static const uint32_t ConfigurationBlockMaximumSize = 10000
 
static const uint32_t Marker_value [2] = {0x464E4F43, 0x54525453}
 
const uint32_t MAXIMUM_SIZE = 1000
 
static const version_t RAWCONFIGURATIONSYSTEMID_LATEST_VERSION = LAST_CLASS_VERSION
 
static const uint32_t Marker_value [2] = {0x464E4F43, 0x44444E45}
 
static const uint32_t DataBlock_Marker = 0xDABC
 
static const uint32_t SummaryBlock_Marker = 0xFABC
 
static const version_t RAWEVENTHEADER_LATEST_VERSION = LAST_CLASS_VERSION
 
static const uint32_t Marker_value [2] = {0xE929, 0xE929}
 Event header delimiter. More...
 
static const version_t RAWEVENTTAIL_LATEST_VERSION = LAST_CLASS_VERSION
 
static const uint32_t Marker_value [3] = {0xEEEE, 0x929E, 0x929E}
 
static const int32_t MC_FLAG_UNKNOWN = -1
 
static const version_t RAWMICROSLICE_LATEST_VERSION = LAST_CLASS_VERSION
 
static const version_t RAWMICROSLICE_DEFAULT_VERSION = 0
 
static const uint32_t MILLISLICEHEADER_SIZE = 9
 
static const uint32_t MILLISLICEHEADER_SIZE_PLUS_ONE = MILLISLICEHEADER_SIZE + 1
 
static const uint32_t Marker_value [2] = {0x00007777, 0x00007778}
 
static const uint32_t MILLISLICEINDEX_SIZE = 2
 
static const uint32_t RAWMILLISLICEINDEXHEADER_SIZE = 1
 MilliSliceIndexHeader size in words. More...
 
static const version_t RAWNANOSLICE_LATEST_VERSION = LAST_CLASS_VERSION
 
static const version_t RAWNANOSLICE_DEFAULT_VERSION = 0
 
static const version_t RAWRUNHEADER_LATEST_VERSION = LAST_CLASS_VERSION
 
static const uint32_t Marker_value [2] = {0x41764F4E, 0x39323945}
 
static const version_t RAWSUMMARYDCMDATA_LATEST_VERSION = LAST_CLASS_VERSION
 
static const version_t RAWSUMMARYDCMDATAPOINT_LATEST_VERSION = LAST_CLASS_VERSION
 
static const version_t RAWSUMMARYDROPPEDMICROBLOCK_LATEST_VERSION = LAST_CLASS_VERSION
 
static const uint32_t TriggerHeaderDelimiter = 0xAAAA
 
static const version_t RAWTRIGGERRANGE_LATEST_VERSION = LAST_CLASS_VERSION
 
static const version_t RAWTRIGGERTIME_LATEST_VERSION = LAST_CLASS_VERSION
 
const std::string TEST_VALUE_Name = "test1"
 
const std::string TEST_VALUE_VersionName = "NOvA Testing the Version name."
 

Enumeration Type Documentation

Enumerator
TEST_VALUE_DetectorID 
TEST_VALUE_ConfigurationBlockSize 
TEST_VALUE_ResourceManagerID 
TEST_VALUE_RunNumber 
TEST_VALUE_RunType 
TEST_VALUE_ConfigurationIDX 
TEST_VALUE_Partition 

Link Status (1 bit)

TEST_VALUE_Subrun 
TEST_VALUE_SystemNumber 
TEST_VALUE_SystemVersionIDX 

Definition at line 31 of file ConfigurationHeaderConstructor.h.

31  {
36  TEST_VALUE_RunType = 16,
39  TEST_VALUE_Subrun = 19,
42  };// end of ConfigurationHeaderMASKS
Enumerator
TEST_VALUE_DAQSystemID 
TEST_VALUE_DAQSubSystemID 
TEST_VALUE_CRC 

Definition at line 31 of file ConfigurationTailConstructor.h.

31  {
32  TEST_VALUE_CRC = 12345,
33  };// end of ConfigurationTailMASKS
Enumerator
TEST_VALUE_DAQSystemID 
TEST_VALUE_DAQSubSystemID 
TEST_VALUE_CRC 

Definition at line 33 of file ConfigurationSystemIDConstructor.h.

Enumerator
TEST_VALUE_TrigNumLo 
TEST_VALUE_TrigNumHi 
TEST_VALUE_NumMicroBlocks 
TEST_VALUE_BuffId 
TEST_VALUE_DataSize 
TEST_VALUE_MonteCarloFlag 
TEST_VALUE_CRCCalculationUsed 
TEST_VALUE_ConnectionInitialization 
TEST_VALUE_CloseConnection 
TEST_VALUE_MissingData 

Definition at line 30 of file DataBlockHeaderConstructor.h.

30  {
34  TEST_VALUE_BuffId = 126,
35  TEST_VALUE_DataSize = 128,
41  };// end of DataBlockHeaderMASKS
Enumerator
MASK_DiblockId 
MASK_DCMId 
MASK_DetId 
MASK_GlobalDCMID 

Definition at line 24 of file RawDCMChan.h.

Enumerator
WORD_DiblockId 
WORD_DCMId 
WORD_DetId 
WORD_GlobalDCMID 

Definition at line 31 of file RawDCMChan.h.

Enumerator
TEST_VALUE_DataLoggerID 
TEST_VALUE_RunNumber 
TEST_VALUE_RunType 
TEST_VALUE_ConfigIDX 
TEST_VALUE_Partition 

Link Status (1 bit)

TEST_VALUE_Subrun 
TEST_VALUE_EventNumberLo 
TEST_VALUE_EventNumberHi 
TEST_VALUE_EventType 
TEST_VALUE_EventSize 
TEST_VALUE_DataBlockNumber 
TEST_VALUE_TriggerFilled 
TEST_VALUE_TailFilled 
TEST_VALUE_MonteCarloFlag 
TEST_VALUE_CRCCalculationUsed 
TEST_VALUE_EventIncomplete 
TEST_VALUE_EventNumber 

Definition at line 30 of file EventHeaderConstructor.h.

30  {
33  TEST_VALUE_RunType = 125,
36  TEST_VALUE_Subrun = 12,
48  };// end of EventHeaderMASKS
Enumerator
TEST_VALUE_DestBuffID 
TEST_VALUE_Partition 

Link Status (1 bit)

Definition at line 31 of file MicroBlockHeaderConstructor.h.

31  {
32  TEST_VALUE_DestBuffID = 12, //! Link Status (1 bit)
33  TEST_VALUE_Partition = 4, //! Denis Perevalov Present/Absent flag (1 bit)
34  };// end of MicroBlockHeaderMASKS
Enumerator
MASK_Marker 

Marker Mask (16 bits)

MASK_Version 

Version Mask (12 bits)

MASK_SliceSize 

MilliSlice Size Mask (32 bits)

MASK_Partition 

Partition ( 6 bits)

MASK_DestBuffID 

Dest Buffer ID Mask (10 bits)

MASK_DiblockId 
MASK_DCMId 
MASK_DetId 
MASK_GlobalDCMID 
MASK_MilliSliceSEQ 

Slice Seq Mask (32 bits)

MASK_TimeStartLow 

Start Time Low Mask (32 bits)

MASK_TimeStartHigh 

Start Time High Mask (24 bits)

MASK_TimeLength 

MilliSlice Time Length Mask (26 bits)

MASK_Complete 

Completetess bit Mask.

MASK_Mode 

DCM Mode Mask.

MASK_ConnectionInitialization 

Initialization Connection bit Mask.

MASK_CloseConnection 

Close Connection bit.

MASK_CorruptData 

Corrupt data bit.

MASK_MissingData 

Missing data bit.

MASK_MicrosliceNumber 

Number of MicroSlices Mask (22 bits)

MASK_FrameSEQ 

Frame Seq Mask (10 bits)

MASK_MilliSliceIndexNumber 

The number of MilliSlice index entries (16 bits)

MASK_MicroSliceTimeLength_usec 

The conf'd time length of MicroSlices, in usec. (12 bits)

MASK_MonteCarloFlag 

SIM flag (1 bit)

MASK_CRCCalculationUsed 

Is CRC calculation used? (1 bit)

MASK_MilliSliceIndexUsed 

Do we EVER produce the MilliSlice index? (1 bit)

Definition at line 28 of file RawMilliSliceHeader.h.

28  {
29  MASK_Marker = 0xFFFF0000, ///< Marker Mask (16 bits)
30  MASK_Version = 0x00000FFF, ///< Version Mask (12 bits)
31  MASK_SliceSize = 0xFFFFFFFF, ///< MilliSlice Size Mask (32 bits)
32  MASK_Partition = 0xFC000000, ///< Partition ( 6 bits)
33  MASK_DestBuffID = 0x03FF0000, ///< Dest Buffer ID Mask (10 bits)
34  MASK_DiblockId = 0x000000FF, // Diblock ID
35  MASK_DCMId = 0x00001F00, // DCM ID
36  MASK_DetId = 0x0000E000, // Detector ID
37  MASK_GlobalDCMID = 0x0000FFFF, // Global ID
38  MASK_MilliSliceSEQ = 0xFFFFFFFF, ///< Slice Seq Mask (32 bits)
39  MASK_TimeStartLow = 0xFFFFFFFF, ///< Start Time Low Mask (32 bits)
40  MASK_TimeStartHigh = 0x00FFFFFF, ///< Start Time High Mask (24 bits)
41  MASK_TimeLength = 0x03FFFFFF, ///< MilliSlice Time Length Mask (26 bits)
42  MASK_Complete = 0x04000000, ///< Completetess bit Mask
43  MASK_Mode = 0x08000000, ///< DCM Mode Mask
44  MASK_ConnectionInitialization = 0x10000000, ///< Initialization Connection bit Mask
45  MASK_CloseConnection = 0x20000000, ///< Close Connection bit
46  MASK_CorruptData = 0x40000000, ///< Corrupt data bit
47  MASK_MissingData = 0x80000000, ///< Missing data bit
48  MASK_MicrosliceNumber = 0x003FFFFF, ///< Number of MicroSlices Mask (22 bits)
49  MASK_FrameSEQ = 0xFFC00000, ///< Frame Seq Mask (10 bits)
50  MASK_MilliSliceIndexNumber = 0x0000FFFF, ///< The number of MilliSlice index entries (16 bits)
51  MASK_MicroSliceTimeLength_usec= 0x0FFF0000, ///< The conf'd time length of MicroSlices, in usec. (12 bits)
52  MASK_MonteCarloFlag = 0x20000000, ///< SIM flag (1 bit)
53  MASK_CRCCalculationUsed = 0x40000000, ///< Is CRC calculation used? (1 bit)
54  MASK_MilliSliceIndexUsed = 0x80000000, ///< Do we EVER produce the MilliSlice index? (1 bit)
55  };
The conf&#39;d time length of MicroSlices, in usec. (12 bits)
Enumerator
WORD_Marker 
WORD_Version 

Version Mask (12 bits)

WORD_SliceSize 
WORD_Partition 
WORD_DestBuffID 
WORD_DiblockId 
WORD_DCMId 
WORD_DetId 
WORD_GlobalDCMID 
WORD_MilliSliceSEQ 
WORD_TimeStartLow 
WORD_TimeStartHigh 
WORD_TimeLength 
WORD_Complete 
WORD_Mode 
WORD_ConnectionInitialization 
WORD_CloseConnection 
WORD_CorruptData 
WORD_MissingData 
WORD_MicrosliceNumber 
WORD_FrameSEQ 
WORD_MilliSliceIndexNumber 
WORD_MicroSliceTimeLength_usec 
WORD_MonteCarloFlag 
WORD_CRCCalculationUsed 
WORD_MilliSliceIndexUsed 

Definition at line 58 of file RawMilliSliceHeader.h.

58  {
59  WORD_Marker = 0,
60  WORD_Version = 0,
61  WORD_SliceSize = 1,
62  WORD_Partition = 2,
63  WORD_DestBuffID = 2,
64  WORD_DiblockId = 2, // Diblock ID
65  WORD_DCMId = 2, // DCM ID
66  WORD_DetId = 2, // Detector ID
67  WORD_GlobalDCMID = 2, // Global ID
71  WORD_TimeLength = 6,
72  WORD_Complete = 6,
73  WORD_Mode = 6,
76  WORD_CorruptData = 6,
77  WORD_MissingData = 6,
79  WORD_FrameSEQ = 7,
85  };
Enumerator
MASK_Version 

Version Mask (12 bits)

MASK_Closed 

Is the MilliSliceIndex Closed (1 bit)

MASK_IndexNumber 

Number of indeces (16 bits)

Definition at line 18 of file RawMilliSliceIndexHeader.h.

18  {
19  MASK_Version = 0x00000FFF, ///< Version Mask (12 bits)
20  MASK_Closed = 0x00008000, ///< Is the MilliSliceIndex Closed (1 bit)
21  MASK_IndexNumber = 0xFFFF0000 ///< Number of indeces (16 bits)
22  };// end of MilliSliceIndexHeaderMASKS
Enumerator
WORD_Version 

Version Mask (12 bits)

WORD_Closed 

Is the MilliSliceIndex Closed (1 bit)

WORD_IndexNumber 

Number of indeces (16 bits)

Definition at line 24 of file RawMilliSliceIndexHeader.h.

24  {
25  WORD_Version = 0, ///< Version Mask (12 bits)
26  WORD_Closed = 0, ///< Is the MilliSliceIndex Closed (1 bit)
27  WORD_IndexNumber = 0 ///< Number of indeces (16 bits)
28  };// end of MilliSliceIndexHeaderMASKS
Enumerator
MASK_Time 
MASK_Offset 

Definition at line 20 of file RawMilliSliceIndex.h.

20  {
21  MASK_Time = 0xFFFFFFFF, // Time length since the MilliSlice start time
22  MASK_Offset = 0x000FFFFF // Offset
23  };// end of MilliSliceIndexMASKS
Enumerator
WORD_Time 
WORD_Offset 

Definition at line 25 of file RawMilliSliceIndex.h.

Enumerator
TEST_VALUE_LinkStatus 
TEST_VALUE_DataPresent 

Link Status (1 bit)

TEST_VALUE_DebugMode 

Denis Perevalov Present/Absent flag (1 bit)

TEST_VALUE_FEBId 

Debug Mode (1 bit)

TEST_VALUE_FEBStatus 

FEB ID (6 bit)

TEST_VALUE_PixelAddr 

FEB Status (7 bit)

TEST_VALUE_Sequence 

Pixel Address (5 bit)

TEST_VALUE_Pad3 

Sequence number (3 bit)

TEST_VALUE_DAQEnabled 

Pad3 (3 bit)

TEST_VALUE_BufferEmpty 

DAQ Enabled Status Bit (1 bit)

TEST_VALUE_BufferFull 

APD Data Buffer Empty (1 bit)

TEST_VALUE_CommError 

APD Data Buffer Full (1 bit)

TEST_VALUE_PacketError 

FEB Communications Error (1 bit)

TEST_VALUE_OverflowError 

FEB Packet Error (1 bit)

TEST_VALUE_ADCError 

FEB Data Buff Overflow Error (1 bit)

Definition at line 31 of file NanoSliceHeaderConstructor.h.

31  {
32  TEST_VALUE_LinkStatus = 1, //! Link Status (1 bit)
33  TEST_VALUE_DataPresent = 1, //! Denis Perevalov Present/Absent flag (1 bit)
34  TEST_VALUE_DebugMode = 1, //! Debug Mode (1 bit)
35  TEST_VALUE_FEBId = 2, //! FEB ID (6 bit)
36  TEST_VALUE_FEBStatus = 3, //! FEB Status (7 bit)
37  TEST_VALUE_PixelAddr = 4, //! Pixel Address (5 bit)
38  TEST_VALUE_Sequence = 6, //! Sequence number (3 bit)
39  TEST_VALUE_Pad3 = 4, //! Pad3 (3 bit)
40  TEST_VALUE_DAQEnabled = 1, //! DAQ Enabled Status Bit (1 bit)
41  TEST_VALUE_BufferEmpty = 1, //! APD Data Buffer Empty (1 bit)
42  TEST_VALUE_BufferFull = 1, //! APD Data Buffer Full (1 bit)
43  TEST_VALUE_CommError = 1, //! FEB Communications Error (1 bit)
44  TEST_VALUE_PacketError = 1, //! FEB Packet Error (1 bit)
45  TEST_VALUE_OverflowError= 1, //! FEB Data Buff Overflow Error (1 bit)
46  TEST_VALUE_ADCError = 1, //! FEB ADC Error (1 bit)
47  };// end of NanoSliceHeaderMASKS
Enumerator
TEST_VALUE_RunNumber 
TEST_VALUE_RunType 
TEST_VALUE_ConfigIDX 
TEST_VALUE_Partition 

Link Status (1 bit)

TEST_VALUE_Subrun 
TEST_VALUE_ConfigurationBlockSet 
TEST_VALUE_RunControlVersion 
TEST_VALUE_RunControlID 
TEST_VALUE_DataLoggerVersion 
TEST_VALUE_DataLoggerID 
TEST_VALUE_RunStartTime 
TEST_VALUE_SubRunStartTime 
TEST_VALUE_SubRunEndTime 
TEST_VALUE_RunEndTime 
TEST_VALUE_TotalEvents 
TEST_VALUE_UniversalEventStartLo 
TEST_VALUE_UniversalEventStartHi 
TEST_VALUE_UniversalEventEndLo 
TEST_VALUE_UniversalEventEndHi 
TEST_VALUE_RunSize 
TEST_VALUE_TriggerVersion 
TEST_VALUE_TriggerCtrlID 
TEST_VALUE_TriggerMC 
TEST_VALUE_VTMod 
TEST_VALUE_ValidTriggerTypesLow 
TEST_VALUE_ValidTriggerTypesHigh 
TEST_VALUE_ValidTriggerTypesHigh2 
TEST_VALUE_TriggerListIDX 
TEST_VALUE_TriggerPrescaleListIDX 
TEST_VALUE_CRC 
TEST_VALUE_UniversalEventStart 
TEST_VALUE_UniversalEventEnd 

Definition at line 30 of file RunHeaderConstructor.h.

30  {
32  TEST_VALUE_RunType = 124,
35  TEST_VALUE_Subrun = 12,
50  TEST_VALUE_RunSize = 145,
54  TEST_VALUE_VTMod = 1,
60  TEST_VALUE_CRC = 154,
63  };// end of RunHeaderMASKS
Enumerator
RAWTRIGGER_MAXIMUM_SIZE 

needed to reserve the buffer

Definition at line 24 of file RawTrigger.h.

24  {
25  RAWTRIGGER_MAXIMUM_SIZE = 50 ///< needed to reserve the buffer
26  };// end of NanoSliceVersion

Function Documentation

daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( Time  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( Offset  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( Closed  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( IndexNumber  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( DiblockId  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( DCMId  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( DetId  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( GlobalDCMID  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( Marker  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( Version  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( SliceSize  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( Partition  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( DestBuffID  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( MilliSliceSEQ  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( TimeStartLow  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( TimeStartHigh  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( TimeLength  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( Complete  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( Mode  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( ConnectionInitialization  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( CloseConnection  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( CorruptData  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( MissingData  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( MicrosliceNumber  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( FrameSEQ  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( MilliSliceIndexNumber  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( MicroSliceTimeLength_usec  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( MonteCarloFlag  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( CRCCalculationUsed  )
daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DEFINE_SHIFT_FROM_MASK ( MilliSliceIndexUsed  )

Variable Documentation

const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::ConfigurationBlockMaximumSize = 10000
static
const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::DataBlock_Marker = 0xDABC
static
const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::Marker_value[2] = {0x464E4F43, 0x54525453}
static
const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::Marker_value[2] = {0xE929, 0xE929}
static

Event header delimiter.

Definition at line 25 of file RawEventHeaderV0.h.

const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::Marker_value[2] = {0x00007777, 0x00007778}
static

Definition at line 25 of file RawMilliSliceHeader.h.

const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::Marker_value[2] = {0x464E4F43, 0x44444E45}
static

Definition at line 25 of file RawConfigurationTailV0.h.

const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::Marker_value[3] = {0xEEEE, 0x929E, 0x929E}
static

Definition at line 26 of file RawEventTailV0.h.

const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::Marker_value[2] = {0x41764F4E, 0x39323945}
static

Definition at line 26 of file RawRunHeaderV0.h.

const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::MAXIMUM_SIZE = 1000

Definition at line 23 of file RawConfigurationSystemID.h.

const int32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::MC_FLAG_UNKNOWN = -1
static

Definition at line 32 of file RawEventV0.h.

Referenced by daqdataformats::VERSION_NAMESPACE::RawEvent::init().

const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::MILLISLICEHEADER_SIZE = 9
static
const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::MILLISLICEHEADER_SIZE_PLUS_ONE = MILLISLICEHEADER_SIZE + 1
static
const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::MILLISLICEINDEX_SIZE = 2
static
const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWCONFIGURATIONSYSTEMID_LATEST_VERSION = LAST_CLASS_VERSION
static

Definition at line 25 of file RawConfigurationSystemID.h.

const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWEVENTHEADER_LATEST_VERSION = LAST_CLASS_VERSION
static

Definition at line 21 of file RawEventHeader.h.

const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWEVENTTAIL_LATEST_VERSION = LAST_CLASS_VERSION
static

Definition at line 22 of file RawEventTail.h.

const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWMICROSLICE_DEFAULT_VERSION = 0
static

Definition at line 28 of file RawMicroSliceHeader.h.

const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWMICROSLICE_LATEST_VERSION = LAST_CLASS_VERSION
static

Definition at line 27 of file RawMicroSliceHeader.h.

const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWMILLISLICEINDEXHEADER_SIZE = 1
static

MilliSliceIndexHeader size in words.

Definition at line 16 of file RawMilliSliceIndexHeader.h.

Referenced by daqdataformats::RawMilliSliceIndexHeader::sizeofdata().

const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWNANOSLICE_DEFAULT_VERSION = 0
static

Definition at line 24 of file RawNanoSliceHeader.h.

Referenced by daqdataformats::RawMicroSlice::getVersion().

const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWNANOSLICE_LATEST_VERSION = LAST_CLASS_VERSION
static

Definition at line 23 of file RawNanoSliceHeader.h.

const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWRUNHEADER_LATEST_VERSION = LAST_CLASS_VERSION
static

Definition at line 23 of file RawRunHeader.h.

const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWSUMMARYDCMDATA_LATEST_VERSION = LAST_CLASS_VERSION
static

Definition at line 23 of file RawSummaryDCMDataHeader.h.

const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWSUMMARYDCMDATAPOINT_LATEST_VERSION = LAST_CLASS_VERSION
static
const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWSUMMARYDROPPEDMICROBLOCK_LATEST_VERSION = LAST_CLASS_VERSION
static

Definition at line 25 of file RawSummaryDroppedMicroblock.h.

const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWTRIGGERRANGE_LATEST_VERSION = LAST_CLASS_VERSION
static

Definition at line 23 of file RawTriggerRange.h.

const version_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::RAWTRIGGERTIME_LATEST_VERSION = LAST_CLASS_VERSION
static

Definition at line 24 of file RawTriggerTime.h.

const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::SummaryBlock_Marker = 0xFABC
static
const std::string daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::TEST_VALUE_Name = "test1"
const std::string daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::TEST_VALUE_VersionName = "NOvA Testing the Version name."
const uint32_t daqdataformats::CURRENT_FIELDS_SUB_NAMESPACE::TriggerHeaderDelimiter = 0xAAAA
static