CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros
DTDDUWords.h File Reference
#include <boost/cstdint.hpp>
#include <iostream>

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   0x3F
 
#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

#define BUNCH_ID_MASK   0xFFF

Definition at line 49 of file DTDDUWords.h.

Referenced by DTROBHeaderWord::bunchID(), and DTTDCHeaderWord::bunchID().

#define CEROS_ID_CEROS_STATUS_MASK   0x1F0000

Definition at line 22 of file DTDDUWords.h.

Referenced by DTROSDebugWord::cerosIdCerosStatus().

#define CEROS_ID_CEROS_STATUS_SHIFT   16

Definition at line 23 of file DTDDUWords.h.

Referenced by DTROSDebugWord::cerosIdCerosStatus(), and DTROSDebugWord::set().

#define CEROS_ID_ROS_STATUS_MASK   0x3F

Definition at line 27 of file DTDDUWords.h.

Referenced by DTROSDebugWord::cerosIdRosStatus().

#define DEBUG_MESSAGE_MASK   0x7FFF

Definition at line 21 of file DTDDUWords.h.

Referenced by DTROSDebugWord::debugMessage().

#define DEBUG_TYPE_MASK   0xE00000

Definition at line 19 of file DTDDUWords.h.

Referenced by DTROSDebugWord::debugType().

#define DEBUG_TYPE_SHIFT   21

Definition at line 20 of file DTDDUWords.h.

Referenced by DTROSDebugWord::debugType(), and DTROSDebugWord::set().

#define DONTREAD_CEROS_STATUS_MASK   0x3F

Definition at line 26 of file DTDDUWords.h.

Referenced by DTROSDebugWord::dontRead().

#define ERROR_CEROS_ID_MASK   0x3F

Definition at line 44 of file DTDDUWords.h.

Referenced by DTROSErrorWord::cerosID().

#define ERROR_ROB_ID_MASK   0x1F0000

Definition at line 42 of file DTDDUWords.h.

Referenced by DTROSErrorWord::robID().

#define ERROR_ROB_ID_SHIFT   16

Definition at line 43 of file DTDDUWords.h.

Referenced by DTROSErrorWord::robID(), and DTROSErrorWord::set().

#define ERROR_TYPE_MASK   0xE00000

Definition at line 40 of file DTDDUWords.h.

Referenced by DTROSErrorWord::errorType().

#define ERROR_TYPE_SHIFT   21

Definition at line 41 of file DTDDUWords.h.

Referenced by DTROSErrorWord::errorType(), and DTROSErrorWord::set().

#define ERRORMASK   0x8000

to distinguish between ROS and TDC error

Definition at line 16 of file DTDDUWords.h.

#define ERRORSHIFT   15

Definition at line 17 of file DTDDUWords.h.

Referenced by DTROSErrorWord::set(), and DTTDCErrorWord::set().

#define EV_ID_CEROS_STATUS_MASK   0xFC0

Definition at line 24 of file DTDDUWords.h.

Referenced by DTROSDebugWord::evIdMis().

#define EV_ID_CEROS_STATUS_SHIFT   6

Definition at line 25 of file DTDDUWords.h.

Referenced by DTROSDebugWord::evIdMis().

#define EVENT_ID_MASK   0xFFF000
#define EVENT_ID_SHIFT   12
#define EVENT_WORD_COUNT_MASK   0xFFFF

Definition at line 38 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::EventWordCount().

#define L1A_FIFO_OCC_MASK   0x3F0000

Definition at line 36 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::l1AFifoOccupancy().

#define L1A_FIFO_OCC_SHIFT   16

Definition at line 37 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::l1AFifoOccupancy(), and DTROSTrailerWord::set().

#define PAF_MASK   0x4000000
#define PAF_SHIFT   26
#define PC_MASK   0x8000000
#define PC_SHIFT   27
#define ROB_ID_MASK   0x1F000000

Definition at line 46 of file DTDDUWords.h.

Referenced by DTROBHeaderWord::robID(), and DTROBTrailerWord::robID().

#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

Definition at line 66 of file DTDDUWords.h.

Referenced by DTLocalTriggerHeaderWord::SCFO().

#define TDC_CHANNEL_MASK   0xF80000

Definition at line 59 of file DTDDUWords.h.

Referenced by DTTDCMeasurementWord::tdcChannel().

#define TDC_CHANNEL_SHIFT   19

Definition at line 60 of file DTDDUWords.h.

Referenced by DTTDCMeasurementWord::set(), and DTTDCMeasurementWord::tdcChannel().

#define TDC_ERROR_MASK   0x7FFF

Definition at line 64 of file DTDDUWords.h.

Referenced by DTTDCErrorWord::tdcError().

#define TDC_ID_MASK   0x3000000
#define TDC_ID_SHIFT   24
#define TDC_TIME_MASK   0x7FFFC

Definition at line 61 of file DTDDUWords.h.

Referenced by DTTDCMeasurementWord::tdcTime().

#define TDC_TIME_SHIFT   2

Definition at line 62 of file DTDDUWords.h.

Referenced by DTTDCMeasurementWord::tdcTime().

#define TFF_MASK   0x800000

Definition at line 32 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::TFF().

#define TFF_SHIFT   23

Definition at line 33 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::set(), and DTROSTrailerWord::TFF().

#define TPX_MASK   0x400000

Definition at line 34 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::TPX().

#define TPX_SHIFT   22

Definition at line 35 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::set(), and DTROSTrailerWord::TPX().

#define TRIGGER_DATA_MASK   0xFFFF

Definition at line 70 of file DTDDUWords.h.

Referenced by DTLocalTriggerDataWord::getBits(), and DTLocalTriggerDataWord::SCData().

#define TRIGGER_WORD_COUNT_MASK   0xFFFF

Definition at line 68 of file DTDDUWords.h.

Referenced by DTLocalTriggerTrailerWord::wordCount().

#define TTC_EVENT_COUNTER_MASK   0xFFFFFF

Definition at line 30 of file DTDDUWords.h.

Referenced by DTROSHeaderWord::TTCEventCounter().

#define WORD_COUNT_MASK   0xFFF

Definition at line 50 of file DTDDUWords.h.

Referenced by DTROBTrailerWord::wordCount(), and DTTDCTrailerWord::wordCount().

#define WORDCONTROLMASK   0xE0000000

Definition at line 10 of file DTDDUWords.h.

Referenced by DTROSWordType::type().

#define WORDCONTROLSHIFT   29
#define WORDTYPEMASK   0x1F000000

Definition at line 12 of file DTDDUWords.h.

Referenced by DTROSWordType::type().

#define WORDTYPESHIFT   24