CMS 3D CMS Logo

DTDDUWords.h File Reference

MASKS and SHIFTS definition. More...

#include <boost/cstdint.hpp>
#include <iostream>

Go to the source code of this file.

Classes

class  DTDDUFirstStatusWord
 DT DDU status 1 interpreter (8 bits word). More...
class  DTDDUSecondStatusWord
 DT DDU status 2 interpreter. More...
class  DTLocalTriggerDataWord
 DT Sector Collector data interpreter. More...
class  DTLocalTriggerHeaderWord
 DT Sector Collector header interpreter. More...
class  DTLocalTriggerSectorCollectorHeaderWord
 DT Sector Collector private header interpreter. More...
class  DTLocalTriggerSectorCollectorSubHeaderWord
 DT Sector Collector private SUB-header interpreter. More...
class  DTLocalTriggerTrailerWord
 DT Sector Collector trailer interpreter. More...
class  DTROBHeaderWord
 DT ROB Header interpreter. More...
class  DTROBTrailerWord
 DT ROB Trailer interpreter. More...
class  DTROSDebugWord
 DT ROS Debug interpreter. More...
class  DTROSErrorWord
 DT ROS Error interpreter. More...
class  DTROSHeaderWord
 DT ROS Header interpreter. More...
class  DTROSTrailerWord
 DT ROS Trailer interpreter. More...
class  DTROSWordType
 Enumeration of DT Read Out Sector (ROS) word types. More...
class  DTTDCErrorWord
 DT TDC Error interpreter. More...
class  DTTDCHeaderWord
 DT TDC Header interpreter. More...
class  DTTDCMeasurementWord
 DT TDC Measurement interpreter. More...
class  DTTDCTrailerWord
 DT TDC Trailer interpreter. More...

Defines

#define BCO_MASK   0x30000
#define BCO_SHIFT   16
#define BUNCH_ID_MASK   0xFFF
#define DEBUG_MESSAGE_MASK   0x7FFF
#define DEBUG_TYPE_MASK   0xE00000
#define DEBUG_TYPE_SHIFT   21
#define ECHO_MASK   0x300000
#define ECHO_SHIFT   20
#define ECLO_MASK   0xC0000
#define ECLO_SHIFT   18
#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
#define ERRORSHIFT   15
#define EVENT_ID_MASK   0xFFF000
#define EVENT_ID_SHIFT   12
#define EVENT_WORD_COUNT_MASK   0xFFFF
#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:

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

Definition in file DTDDUWords.h.


Define Documentation

#define BCO_MASK   0x30000

Definition at line 33 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::BCO().

#define BCO_SHIFT   16

Definition at line 34 of file DTDDUWords.h.

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

#define BUNCH_ID_MASK   0xFFF

Definition at line 45 of file DTDDUWords.h.

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

#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 ECHO_MASK   0x300000

Definition at line 29 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::ECHO().

#define ECHO_SHIFT   20

Definition at line 30 of file DTDDUWords.h.

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

#define ECLO_MASK   0xC0000

Definition at line 31 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::ECLO().

#define ECLO_SHIFT   18

Definition at line 32 of file DTDDUWords.h.

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

#define ERROR_ROB_ID_MASK   0x1F0000

Definition at line 39 of file DTDDUWords.h.

Referenced by DTROSErrorWord::robID().

#define ERROR_ROB_ID_SHIFT   16

Definition at line 40 of file DTDDUWords.h.

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

#define ERROR_TYPE_MASK   0xE00000

Definition at line 37 of file DTDDUWords.h.

Referenced by DTROSErrorWord::errorType().

#define ERROR_TYPE_SHIFT   21

Definition at line 38 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 DTTDCErrorWord::set(), and DTROSErrorWord::set().

#define EVENT_ID_MASK   0xFFF000

Definition at line 43 of file DTDDUWords.h.

Referenced by DTROBHeaderWord::eventID(), DTLocalTriggerHeaderWord::eventID(), DTTDCHeaderWord::eventID(), DTROBTrailerWord::eventID(), and DTTDCTrailerWord::eventID().

#define EVENT_ID_SHIFT   12

Definition at line 44 of file DTDDUWords.h.

Referenced by DTROBHeaderWord::eventID(), DTLocalTriggerHeaderWord::eventID(), DTTDCHeaderWord::eventID(), DTROBTrailerWord::eventID(), DTTDCTrailerWord::eventID(), DTROBTrailerWord::set(), DTROBHeaderWord::set(), DTTDCTrailerWord::set(), DTTDCHeaderWord::set(), and DTLocalTriggerHeaderWord::set().

#define EVENT_WORD_COUNT_MASK   0xFFFF

Definition at line 35 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::EventWordCount().

#define PAF_MASK   0x4000000

Definition at line 50 of file DTDDUWords.h.

Referenced by DTTDCMeasurementWord::HU(), DTTDCHeaderWord::HU(), DTTDCErrorWord::HU(), DTTDCTrailerWord::HU(), DTTDCErrorWord::PAF(), DTTDCHeaderWord::PAF(), DTTDCTrailerWord::PAF(), and DTTDCMeasurementWord::PAF().

#define PAF_SHIFT   26

Definition at line 51 of file DTDDUWords.h.

Referenced by DTTDCMeasurementWord::HU(), DTTDCHeaderWord::HU(), DTTDCErrorWord::HU(), DTTDCTrailerWord::HU(), DTTDCErrorWord::PAF(), DTTDCHeaderWord::PAF(), DTTDCTrailerWord::PAF(), DTTDCMeasurementWord::PAF(), DTTDCErrorWord::set(), DTTDCTrailerWord::set(), DTTDCHeaderWord::set(), and DTTDCMeasurementWord::set().

#define PC_MASK   0x8000000

Definition at line 48 of file DTDDUWords.h.

Referenced by DTTDCMeasurementWord::PC(), DTTDCTrailerWord::PC(), DTTDCErrorWord::PC(), and DTTDCHeaderWord::PC().

#define PC_SHIFT   27

Definition at line 49 of file DTDDUWords.h.

Referenced by DTTDCMeasurementWord::PC(), DTTDCTrailerWord::PC(), DTTDCErrorWord::PC(), DTTDCHeaderWord::PC(), DTTDCErrorWord::set(), DTTDCTrailerWord::set(), DTTDCHeaderWord::set(), and DTTDCMeasurementWord::set().

#define ROB_ID_MASK   0x1F000000

Definition at line 42 of file DTDDUWords.h.

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

#define SC_BXC_MASK   0xFFF

Definition at line 76 of file DTDDUWords.h.

Referenced by DTLocalTriggerSectorCollectorSubHeaderWord::LocalBunchCounter(), and DTLocalTriggerSectorCollectorSubHeaderWord::set().

#define SC_LAT_MASK   0x7F

Definition at line 70 of file DTDDUWords.h.

Referenced by DTLocalTriggerSectorCollectorHeaderWord::Latency(), and DTLocalTriggerSectorCollectorHeaderWord::set().

#define SC_LAT_SHIFT   8

Definition at line 69 of file DTDDUWords.h.

Referenced by DTLocalTriggerSectorCollectorHeaderWord::Latency(), and DTLocalTriggerSectorCollectorHeaderWord::set().

#define SC_NW_MASK   0xFF

Definition at line 72 of file DTDDUWords.h.

Referenced by DTLocalTriggerSectorCollectorHeaderWord::NumberOf16bitWords(), and DTLocalTriggerSectorCollectorHeaderWord::set().

#define SC_TRIGGERDLY_MASK   0x7

Definition at line 74 of file DTDDUWords.h.

Referenced by DTLocalTriggerSectorCollectorSubHeaderWord::set(), and DTLocalTriggerSectorCollectorSubHeaderWord::TriggerDelay().

#define SC_TRIGGERDLY_SHIFT   12

Definition at line 75 of file DTDDUWords.h.

Referenced by DTLocalTriggerSectorCollectorSubHeaderWord::set(), and DTLocalTriggerSectorCollectorSubHeaderWord::TriggerDelay().

#define SCFO_MASK   0xFF

Definition at line 62 of file DTDDUWords.h.

Referenced by DTLocalTriggerHeaderWord::SCFO().

#define TDC_CHANNEL_MASK   0xF80000

Definition at line 55 of file DTDDUWords.h.

Referenced by DTTDCMeasurementWord::tdcChannel().

#define TDC_CHANNEL_SHIFT   19

Definition at line 56 of file DTDDUWords.h.

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

#define TDC_ERROR_MASK   0x7FFF

Definition at line 60 of file DTDDUWords.h.

Referenced by DTTDCErrorWord::tdcError().

#define TDC_ID_MASK   0x3000000

Definition at line 52 of file DTDDUWords.h.

Referenced by DTTDCErrorWord::tdcID(), DTTDCHeaderWord::tdcID(), DTTDCMeasurementWord::tdcID(), and DTTDCTrailerWord::tdcID().

#define TDC_ID_SHIFT   24

Definition at line 53 of file DTDDUWords.h.

Referenced by DTTDCErrorWord::set(), DTTDCTrailerWord::set(), DTTDCHeaderWord::set(), DTTDCMeasurementWord::set(), DTTDCErrorWord::tdcID(), DTTDCHeaderWord::tdcID(), DTTDCMeasurementWord::tdcID(), and DTTDCTrailerWord::tdcID().

#define TDC_TIME_MASK   0x7FFFC

Definition at line 57 of file DTDDUWords.h.

Referenced by DTTDCMeasurementWord::tdcTime().

#define TDC_TIME_SHIFT   2

Definition at line 58 of file DTDDUWords.h.

Referenced by DTTDCMeasurementWord::tdcTime().

#define TFF_MASK   0x800000

Definition at line 25 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::TFF().

#define TFF_SHIFT   23

Definition at line 26 of file DTDDUWords.h.

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

#define TPX_MASK   0x400000

Definition at line 27 of file DTDDUWords.h.

Referenced by DTROSTrailerWord::TPX().

#define TPX_SHIFT   22

Definition at line 28 of file DTDDUWords.h.

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

#define TRIGGER_DATA_MASK   0xFFFF

Definition at line 66 of file DTDDUWords.h.

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

#define TRIGGER_WORD_COUNT_MASK   0xFFFF

Definition at line 64 of file DTDDUWords.h.

Referenced by DTLocalTriggerTrailerWord::wordCount().

#define TTC_EVENT_COUNTER_MASK   0xFFFFFF

Definition at line 23 of file DTDDUWords.h.

Referenced by DTROSHeaderWord::TTCEventCounter().

#define WORD_COUNT_MASK   0xFFF

Definition at line 46 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

Definition at line 11 of file DTDDUWords.h.

Referenced by DTDigiToRaw::createFedBuffers(), DTROSHeaderWord::set(), DTROSDebugWord::set(), DTROBTrailerWord::set(), DTTDCErrorWord::set(), DTLocalTriggerTrailerWord::set(), DTLocalTriggerSectorCollectorHeaderWord::set(), DTROBHeaderWord::set(), DTLocalTriggerSectorCollectorSubHeaderWord::set(), DTTDCTrailerWord::set(), DTTDCHeaderWord::set(), DTROSTrailerWord::set(), DTLocalTriggerHeaderWord::set(), DTLocalTriggerDataWord::set(), DTROSErrorWord::set(), DTTDCMeasurementWord::set(), and DTROSWordType::type().

#define WORDTYPEMASK   0x1F000000

Definition at line 12 of file DTDDUWords.h.

Referenced by DTROSWordType::type().

#define WORDTYPESHIFT   24

Definition at line 13 of file DTDDUWords.h.

Referenced by DTDigiToRaw::createFedBuffers(), DTROBTrailerWord::robID(), DTROBHeaderWord::robID(), DTROSHeaderWord::set(), DTROSDebugWord::set(), DTROBTrailerWord::set(), DTLocalTriggerTrailerWord::set(), DTLocalTriggerSectorCollectorHeaderWord::set(), DTROBHeaderWord::set(), DTLocalTriggerSectorCollectorSubHeaderWord::set(), DTROSTrailerWord::set(), DTLocalTriggerHeaderWord::set(), DTLocalTriggerDataWord::set(), DTROSErrorWord::set(), and DTROSWordType::type().


Generated on Tue Jun 9 17:52:47 2009 for CMSSW by  doxygen 1.5.4