CMS 3D CMS Logo

Classes | Macros
DTDDUWords.h File Reference
#include <iostream>
#include <cstdint>

Go to the source code of this file.

Classes

class  DTDDUFirstStatusWord
 
class  DTDDUSecondStatusWord
 
class  DTLocalTriggerDataWord
 
class  DTLocalTriggerHeaderWord
 
class  DTLocalTriggerSectorCollectorHeaderWord
 
class  DTLocalTriggerSectorCollectorSubHeaderWord
 
class  DTLocalTriggerTrailerWord
 
class  DTROBHeaderWord
 
class  DTROBTrailerWord
 
class  DTROSDebugWord
 
class  DTROSErrorWord
 
class  DTROSHeaderWord
 
class  DTROSTrailerWord
 
class  DTROSWordType
 
class  DTTDCErrorWord
 
class  DTTDCHeaderWord
 
class  DTTDCMeasurementWord
 
class  DTTDCTrailerWord
 

Macros

#define BUNCH_ID_MASK   0xFFF
 
#define CEROS_ID_CEROS_STATUS_MASK   0x1F0000
 
#define CEROS_ID_CEROS_STATUS_SHIFT   16
 
#define CEROS_ID_ROS_STATUS_MASK   0x1F
 
#define DEBUG_MESSAGE_MASK   0x7FFF
 
#define DEBUG_TYPE_MASK   0xE00000
 
#define DEBUG_TYPE_SHIFT   21
 
#define DONTREAD_CEROS_STATUS_MASK   0x3F
 
#define ERROR_CEROS_ID_MASK   0x3F
 
#define ERROR_ROB_ID_MASK   0x1F0000
 
#define ERROR_ROB_ID_SHIFT   16
 
#define ERROR_TYPE_MASK   0xE00000
 
#define ERROR_TYPE_SHIFT   21
 
#define ERRORMASK   0x8000
 to distinguish between ROS and TDC error More...
 
#define ERRORSHIFT   15
 
#define EV_ID_CEROS_STATUS_MASK   0xFC0
 
#define EV_ID_CEROS_STATUS_SHIFT   6
 
#define EVENT_ID_MASK   0xFFF000
 
#define EVENT_ID_SHIFT   12
 
#define EVENT_WORD_COUNT_MASK   0xFFFF
 
#define L1A_FIFO_OCC_MASK   0x3F0000
 
#define L1A_FIFO_OCC_SHIFT   16
 
#define PAF_MASK   0x4000000
 
#define PAF_SHIFT   26
 
#define PC_MASK   0x8000000
 
#define PC_SHIFT   27
 
#define ROB_ID_MASK   0x1F000000
 
#define SC_BXC_MASK   0xFFF
 
#define SC_LAT_MASK   0x7F
 
#define SC_LAT_SHIFT   8
 
#define SC_NW_MASK   0xFF
 
#define SC_TRIGGERDLY_MASK   0x7
 
#define SC_TRIGGERDLY_SHIFT   12
 
#define SCFO_MASK   0xFF
 
#define TDC_CHANNEL_MASK   0xF80000
 
#define TDC_CHANNEL_SHIFT   19
 
#define TDC_ERROR_MASK   0x7FFF
 
#define TDC_ID_MASK   0x3000000
 
#define TDC_ID_SHIFT   24
 
#define TDC_TIME_MASK   0x7FFFC
 
#define TDC_TIME_SHIFT   2
 
#define TFF_MASK   0x800000
 
#define TFF_SHIFT   23
 
#define TPX_MASK   0x400000
 
#define TPX_SHIFT   22
 
#define TRIGGER_DATA_MASK   0xFFFF
 
#define TRIGGER_WORD_COUNT_MASK   0xFFFF
 
#define TTC_EVENT_COUNTER_MASK   0xFFFFFF
 
#define WORD_COUNT_MASK   0xFFF
 
#define WORDCONTROLMASK   0xE0000000
 
#define WORDCONTROLSHIFT   29
 
#define WORDTYPEMASK   0x1F000000
 
#define WORDTYPESHIFT   24
 

Detailed Description

MASKS and SHIFTS definition. Documentation at:

https://uimon.cern.ch/twiki/bin/view/CMS/FEDDataFormats

Definition in file DTDDUWords.h.

Macro Definition Documentation

◆ BUNCH_ID_MASK

#define BUNCH_ID_MASK   0xFFF

Definition at line 48 of file DTDDUWords.h.

◆ CEROS_ID_CEROS_STATUS_MASK

#define CEROS_ID_CEROS_STATUS_MASK   0x1F0000

Definition at line 22 of file DTDDUWords.h.

◆ CEROS_ID_CEROS_STATUS_SHIFT

#define CEROS_ID_CEROS_STATUS_SHIFT   16

Definition at line 23 of file DTDDUWords.h.

◆ CEROS_ID_ROS_STATUS_MASK

#define CEROS_ID_ROS_STATUS_MASK   0x1F

Definition at line 27 of file DTDDUWords.h.

◆ DEBUG_MESSAGE_MASK

#define DEBUG_MESSAGE_MASK   0x7FFF

Definition at line 21 of file DTDDUWords.h.

◆ DEBUG_TYPE_MASK

#define DEBUG_TYPE_MASK   0xE00000

Definition at line 19 of file DTDDUWords.h.

◆ DEBUG_TYPE_SHIFT

#define DEBUG_TYPE_SHIFT   21

Definition at line 20 of file DTDDUWords.h.

◆ DONTREAD_CEROS_STATUS_MASK

#define DONTREAD_CEROS_STATUS_MASK   0x3F

Definition at line 26 of file DTDDUWords.h.

◆ ERROR_CEROS_ID_MASK

#define ERROR_CEROS_ID_MASK   0x3F

Definition at line 43 of file DTDDUWords.h.

◆ ERROR_ROB_ID_MASK

#define ERROR_ROB_ID_MASK   0x1F0000

Definition at line 41 of file DTDDUWords.h.

◆ ERROR_ROB_ID_SHIFT

#define ERROR_ROB_ID_SHIFT   16

Definition at line 42 of file DTDDUWords.h.

◆ ERROR_TYPE_MASK

#define ERROR_TYPE_MASK   0xE00000

Definition at line 39 of file DTDDUWords.h.

◆ ERROR_TYPE_SHIFT

#define ERROR_TYPE_SHIFT   21

Definition at line 40 of file DTDDUWords.h.

◆ ERRORMASK

#define ERRORMASK   0x8000

to distinguish between ROS and TDC error

Definition at line 16 of file DTDDUWords.h.

◆ ERRORSHIFT

#define ERRORSHIFT   15

Definition at line 17 of file DTDDUWords.h.

◆ EV_ID_CEROS_STATUS_MASK

#define EV_ID_CEROS_STATUS_MASK   0xFC0

Definition at line 24 of file DTDDUWords.h.

◆ EV_ID_CEROS_STATUS_SHIFT

#define EV_ID_CEROS_STATUS_SHIFT   6

Definition at line 25 of file DTDDUWords.h.

◆ EVENT_ID_MASK

#define EVENT_ID_MASK   0xFFF000

Definition at line 46 of file DTDDUWords.h.

◆ EVENT_ID_SHIFT

#define EVENT_ID_SHIFT   12

Definition at line 47 of file DTDDUWords.h.

◆ EVENT_WORD_COUNT_MASK

#define EVENT_WORD_COUNT_MASK   0xFFFF

Definition at line 37 of file DTDDUWords.h.

◆ L1A_FIFO_OCC_MASK

#define L1A_FIFO_OCC_MASK   0x3F0000

Definition at line 35 of file DTDDUWords.h.

◆ L1A_FIFO_OCC_SHIFT

#define L1A_FIFO_OCC_SHIFT   16

Definition at line 36 of file DTDDUWords.h.

◆ PAF_MASK

#define PAF_MASK   0x4000000

Definition at line 53 of file DTDDUWords.h.

◆ PAF_SHIFT

#define PAF_SHIFT   26

Definition at line 54 of file DTDDUWords.h.

◆ PC_MASK

#define PC_MASK   0x8000000

Definition at line 51 of file DTDDUWords.h.

◆ PC_SHIFT

#define PC_SHIFT   27

Definition at line 52 of file DTDDUWords.h.

◆ ROB_ID_MASK

#define ROB_ID_MASK   0x1F000000

Definition at line 45 of file DTDDUWords.h.

◆ SC_BXC_MASK

#define SC_BXC_MASK   0xFFF

Definition at line 78 of file DTDDUWords.h.

◆ SC_LAT_MASK

#define SC_LAT_MASK   0x7F

Definition at line 72 of file DTDDUWords.h.

◆ SC_LAT_SHIFT

#define SC_LAT_SHIFT   8

Definition at line 71 of file DTDDUWords.h.

◆ SC_NW_MASK

#define SC_NW_MASK   0xFF

Definition at line 74 of file DTDDUWords.h.

◆ SC_TRIGGERDLY_MASK

#define SC_TRIGGERDLY_MASK   0x7

Definition at line 76 of file DTDDUWords.h.

◆ SC_TRIGGERDLY_SHIFT

#define SC_TRIGGERDLY_SHIFT   12

Definition at line 77 of file DTDDUWords.h.

◆ SCFO_MASK

#define SCFO_MASK   0xFF

Definition at line 65 of file DTDDUWords.h.

◆ TDC_CHANNEL_MASK

#define TDC_CHANNEL_MASK   0xF80000

Definition at line 58 of file DTDDUWords.h.

◆ TDC_CHANNEL_SHIFT

#define TDC_CHANNEL_SHIFT   19

Definition at line 59 of file DTDDUWords.h.

◆ TDC_ERROR_MASK

#define TDC_ERROR_MASK   0x7FFF

Definition at line 63 of file DTDDUWords.h.

◆ TDC_ID_MASK

#define TDC_ID_MASK   0x3000000

Definition at line 55 of file DTDDUWords.h.

◆ TDC_ID_SHIFT

#define TDC_ID_SHIFT   24

Definition at line 56 of file DTDDUWords.h.

◆ TDC_TIME_MASK

#define TDC_TIME_MASK   0x7FFFC

Definition at line 60 of file DTDDUWords.h.

◆ TDC_TIME_SHIFT

#define TDC_TIME_SHIFT   2

Definition at line 61 of file DTDDUWords.h.

◆ TFF_MASK

#define TFF_MASK   0x800000

Definition at line 31 of file DTDDUWords.h.

◆ TFF_SHIFT

#define TFF_SHIFT   23

Definition at line 32 of file DTDDUWords.h.

◆ TPX_MASK

#define TPX_MASK   0x400000

Definition at line 33 of file DTDDUWords.h.

◆ TPX_SHIFT

#define TPX_SHIFT   22

Definition at line 34 of file DTDDUWords.h.

◆ TRIGGER_DATA_MASK

#define TRIGGER_DATA_MASK   0xFFFF

Definition at line 69 of file DTDDUWords.h.

◆ TRIGGER_WORD_COUNT_MASK

#define TRIGGER_WORD_COUNT_MASK   0xFFFF

Definition at line 67 of file DTDDUWords.h.

◆ TTC_EVENT_COUNTER_MASK

#define TTC_EVENT_COUNTER_MASK   0xFFFFFF

Definition at line 29 of file DTDDUWords.h.

◆ WORD_COUNT_MASK

#define WORD_COUNT_MASK   0xFFF

Definition at line 49 of file DTDDUWords.h.

◆ WORDCONTROLMASK

#define WORDCONTROLMASK   0xE0000000

Definition at line 10 of file DTDDUWords.h.

◆ WORDCONTROLSHIFT

#define WORDCONTROLSHIFT   29

Definition at line 11 of file DTDDUWords.h.

◆ WORDTYPEMASK

#define WORDTYPEMASK   0x1F000000

Definition at line 12 of file DTDDUWords.h.

◆ WORDTYPESHIFT

#define WORDTYPESHIFT   24

Definition at line 13 of file DTDDUWords.h.