#include <boost/cstdint.hpp>
#include <iostream>
Go to the source code of this file.
MASKS and SHIFTS definition. Documentation at:
https://uimon.cern.ch/twiki/bin/view/CMS/FEDDataFormats
Definition in file DTDDUWords.h.
#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 DTTDCErrorWord::set(), and DTROSErrorWord::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 |
Definition at line 47 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 48 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 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 |
Definition at line 54 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 55 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 52 of file DTDDUWords.h.
Referenced by DTTDCMeasurementWord::PC(), DTTDCTrailerWord::PC(), DTTDCErrorWord::PC(), and DTTDCHeaderWord::PC().
#define PC_SHIFT 27 |
Definition at line 53 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 46 of file DTDDUWords.h.
Referenced by DTROBTrailerWord::robID(), and DTROBHeaderWord::robID().
#define SC_BXC_MASK 0xFFF |
Definition at line 80 of file DTDDUWords.h.
Referenced by DTLocalTriggerSectorCollectorSubHeaderWord::LocalBunchCounter(), and DTLocalTriggerSectorCollectorSubHeaderWord::set().
#define SC_LAT_MASK 0x7F |
Definition at line 74 of file DTDDUWords.h.
Referenced by DTLocalTriggerSectorCollectorHeaderWord::Latency(), and DTLocalTriggerSectorCollectorHeaderWord::set().
#define SC_LAT_SHIFT 8 |
Definition at line 73 of file DTDDUWords.h.
Referenced by DTLocalTriggerSectorCollectorHeaderWord::Latency(), and DTLocalTriggerSectorCollectorHeaderWord::set().
#define SC_NW_MASK 0xFF |
Definition at line 76 of file DTDDUWords.h.
Referenced by DTLocalTriggerSectorCollectorHeaderWord::NumberOf16bitWords(), and DTLocalTriggerSectorCollectorHeaderWord::set().
#define SC_TRIGGERDLY_MASK 0x7 |
Definition at line 78 of file DTDDUWords.h.
Referenced by DTLocalTriggerSectorCollectorSubHeaderWord::set(), and DTLocalTriggerSectorCollectorSubHeaderWord::TriggerDelay().
#define SC_TRIGGERDLY_SHIFT 12 |
Definition at line 79 of file DTDDUWords.h.
Referenced by DTLocalTriggerSectorCollectorSubHeaderWord::set(), and DTLocalTriggerSectorCollectorSubHeaderWord::TriggerDelay().
#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 |
Definition at line 56 of file DTDDUWords.h.
Referenced by DTTDCErrorWord::tdcID(), DTTDCHeaderWord::tdcID(), DTTDCMeasurementWord::tdcID(), and DTTDCTrailerWord::tdcID().
#define TDC_ID_SHIFT 24 |
Definition at line 57 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 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 |
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().