#include <SiStripFEDBufferComponents.h>
Private Types | |
enum | byteIndicies { FEDSTATUS =0, FEOVERFLOW =2, FEENABLE =3, ADDRESSERROR =4, APVEADDRESS =5, BUFFERTYPE =6, BUFFERFORMAT =7 } |
Private Member Functions | |
void | setBufferFormatByte (const FEDBufferFormat newBufferFormat) |
void | setHeaderTypeNibble (const uint8_t value) |
void | setReadoutModeBits (const uint8_t value) |
Private Attributes | |
uint8_t | specialHeader_ [8] |
bool | wordSwapped_ |
Definition at line 285 of file SiStripFEDBufferComponents.h.
|
private |
Enumerator | |
---|---|
FEDSTATUS | |
FEOVERFLOW | |
FEENABLE | |
ADDRESSERROR | |
APVEADDRESS | |
BUFFERTYPE | |
BUFFERFORMAT |
Definition at line 331 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 704 of file SiStripFEDBufferComponents.h.
|
explicit |
Definition at line 702 of file SiStripFEDBufferComponents.cc.
References sistrip::BUFFER_FORMAT_CODE_NEW, and sistrip::BUFFER_FORMAT_CODE_OLD.
sistrip::TrackerSpecialHeader::TrackerSpecialHeader | ( | const FEDBufferFormat | bufferFormat, |
const FEDReadoutMode | readoutMode, | ||
const FEDHeaderType | headerType, | ||
const uint8_t | address = 0x00 , |
||
const uint8_t | addressErrorRegister = 0x00 , |
||
const uint8_t | feEnableRegister = 0xFF , |
||
const uint8_t | feOverflowRegister = 0x00 , |
||
const FEDStatusRegister | fedStatusRegister = FEDStatusRegister() |
||
) |
Definition at line 894 of file SiStripFEDBufferComponents.cc.
References sistrip::BUFFER_FORMAT_OLD_VME.
|
inline |
Definition at line 721 of file SiStripFEDBufferComponents.h.
References ADDRESSERROR, and specialHeader_.
Referenced by sistrip::DigiToRaw::createFedBuffers_(), and majorityAddressErrorForFEUnit().
|
inline |
Definition at line 718 of file SiStripFEDBufferComponents.h.
References APVEADDRESS, and specialHeader_.
Referenced by sistrip::DigiToRaw::createFedBuffers_().
FEDBufferFormat sistrip::TrackerSpecialHeader::bufferFormat | ( | ) | const |
Definition at line 720 of file SiStripFEDBufferComponents.cc.
References sistrip::BUFFER_FORMAT_CODE_NEW, sistrip::BUFFER_FORMAT_CODE_OLD, sistrip::BUFFER_FORMAT_INVALID, sistrip::BUFFER_FORMAT_NEW, sistrip::BUFFER_FORMAT_OLD_SLINK, and sistrip::BUFFER_FORMAT_OLD_VME.
Referenced by sistrip::DigiToRaw::createFedBuffers_(), and sistrip::FEDBufferBase::init().
|
inline |
Definition at line 709 of file SiStripFEDBufferComponents.h.
References BUFFERFORMAT, and specialHeader_.
|
inline |
Definition at line 758 of file SiStripFEDBufferComponents.h.
References specialHeader_.
Referenced by sistrip::FEDBufferGenerator::fillBuffer().
|
inline |
Definition at line 752 of file SiStripFEDBufferComponents.h.
References fedStatusRegisterWord().
Referenced by sistrip::DigiToRaw::createFedBuffers_(), and setFEDStatusRegister().
|
inline |
Definition at line 745 of file SiStripFEDBufferComponents.h.
References FEDSTATUS, and specialHeader_.
Referenced by fedStatusRegister().
|
inline |
Definition at line 732 of file SiStripFEDBufferComponents.h.
References feEnableRegister(), and globals_cff::x1.
|
inline |
Definition at line 729 of file SiStripFEDBufferComponents.h.
References FEENABLE, and specialHeader_.
Referenced by sistrip::DigiToRaw::createFedBuffers_(), feEnabled(), and setFEEnableRegister().
|
inline |
Definition at line 740 of file SiStripFEDBufferComponents.h.
References feOverflowRegister(), and globals_cff::x1.
|
inline |
Definition at line 737 of file SiStripFEDBufferComponents.h.
References FEOVERFLOW, and specialHeader_.
Referenced by sistrip::DigiToRaw::createFedBuffers_(), feOverflow(), and setFEOverflowRegister().
FEDHeaderType sistrip::TrackerSpecialHeader::headerType | ( | ) | const |
Definition at line 730 of file SiStripFEDBufferComponents.cc.
References sistrip::HEADER_TYPE_APV_ERROR, sistrip::HEADER_TYPE_FULL_DEBUG, sistrip::HEADER_TYPE_INVALID, and sistrip::HEADER_TYPE_NONE.
Referenced by sistrip::DigiToRaw::createFedBuffers_().
|
inline |
Definition at line 712 of file SiStripFEDBufferComponents.h.
References BUFFERTYPE, and specialHeader_.
Referenced by sistrip::FEDBuffer::FEDBuffer().
FEDLegacyReadoutMode sistrip::TrackerSpecialHeader::legacyReadoutMode | ( | ) | const |
Definition at line 739 of file SiStripFEDBufferComponents.cc.
References ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, sistrip::READOUT_MODE_LEGACY_INVALID, sistrip::READOUT_MODE_LEGACY_PROC_RAW_FAKE, sistrip::READOUT_MODE_LEGACY_PROC_RAW_REAL, sistrip::READOUT_MODE_LEGACY_VIRGIN_RAW_FAKE, sistrip::READOUT_MODE_LEGACY_VIRGIN_RAW_REAL, sistrip::READOUT_MODE_LEGACY_ZERO_SUPPRESSED_FAKE, sistrip::READOUT_MODE_LEGACY_ZERO_SUPPRESSED_LITE_FAKE, sistrip::READOUT_MODE_LEGACY_ZERO_SUPPRESSED_LITE_REAL, and sistrip::READOUT_MODE_LEGACY_ZERO_SUPPRESSED_REAL.
|
inline |
Definition at line 724 of file SiStripFEDBufferComponents.h.
References apvAddressErrorRegister(), sistrip::READOUT_MODE_SCOPE, readoutMode(), and globals_cff::x1.
|
inline |
Definition at line 755 of file SiStripFEDBufferComponents.h.
References sistrip::printHex(), and specialHeader_.
Referenced by sistrip::DigiToRaw::createFedBuffers_(), and sistrip::operator<<().
FEDReadoutMode sistrip::TrackerSpecialHeader::readoutMode | ( | ) | const |
Definition at line 758 of file SiStripFEDBufferComponents.cc.
References ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, sistrip::READOUT_MODE_INVALID, sistrip::READOUT_MODE_PREMIX_RAW, sistrip::READOUT_MODE_PROC_RAW, sistrip::READOUT_MODE_SCOPE, sistrip::READOUT_MODE_SPY, sistrip::READOUT_MODE_VIRGIN_RAW, sistrip::READOUT_MODE_ZERO_SUPPRESSED, sistrip::READOUT_MODE_ZERO_SUPPRESSED_FAKE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE10, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE10_CMOVERRIDE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_BOTBOT, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_BOTBOT_CMOVERRIDE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_CMOVERRIDE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_TOPBOT, and sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_TOPBOT_CMOVERRIDE.
Referenced by sistrip::DigiToRaw::createFedBuffers_(), and majorityAddressErrorForFEUnit().
TrackerSpecialHeader & sistrip::TrackerSpecialHeader::setAPVAddressErrorForFEUnit | ( | const uint8_t | internalFEUnitNum, |
const bool | error | ||
) |
Definition at line 870 of file SiStripFEDBufferComponents.cc.
References RecoTauDiscriminantConfiguration::mask, and mps_fire::result.
|
inline |
Definition at line 778 of file SiStripFEDBufferComponents.h.
References APVEADDRESS, and specialHeader_.
|
inline |
Definition at line 784 of file SiStripFEDBufferComponents.h.
References ADDRESSERROR, and specialHeader_.
TrackerSpecialHeader & sistrip::TrackerSpecialHeader::setBufferFormat | ( | const FEDBufferFormat | newBufferFormat | ) |
Definition at line 790 of file SiStripFEDBufferComponents.cc.
References sistrip::BUFFER_FORMAT_OLD_VME.
|
private |
Definition at line 802 of file SiStripFEDBufferComponents.cc.
References sistrip::BUFFER_FORMAT_CODE_NEW, sistrip::BUFFER_FORMAT_CODE_OLD, sistrip::BUFFER_FORMAT_NEW, sistrip::BUFFER_FORMAT_OLD_SLINK, sistrip::BUFFER_FORMAT_OLD_VME, Exception, and sistrip::printHex().
|
inline |
Definition at line 802 of file SiStripFEDBufferComponents.h.
References FEDSTATUS, fedStatusRegister(), and specialHeader_.
TrackerSpecialHeader & sistrip::TrackerSpecialHeader::setFEEnableForFEUnit | ( | const uint8_t | internalFEUnitNum, |
const bool | enabled | ||
) |
Definition at line 878 of file SiStripFEDBufferComponents.cc.
References RecoTauDiscriminantConfiguration::mask, and mps_fire::result.
Referenced by sistrip::FEDBufferGenerator::generateBuffer().
|
inline |
Definition at line 790 of file SiStripFEDBufferComponents.h.
References FEENABLE, feEnableRegister(), and specialHeader_.
TrackerSpecialHeader & sistrip::TrackerSpecialHeader::setFEOverflowForFEUnit | ( | const uint8_t | internalFEUnitNum, |
const bool | overflow | ||
) |
Definition at line 886 of file SiStripFEDBufferComponents.cc.
References RecoTauDiscriminantConfiguration::mask, and mps_fire::result.
|
inline |
Definition at line 796 of file SiStripFEDBufferComponents.h.
References FEOVERFLOW, feOverflowRegister(), and specialHeader_.
TrackerSpecialHeader & sistrip::TrackerSpecialHeader::setHeaderType | ( | const FEDHeaderType | headerType | ) |
Definition at line 820 of file SiStripFEDBufferComponents.cc.
References Exception, sistrip::HEADER_TYPE_APV_ERROR, sistrip::HEADER_TYPE_FULL_DEBUG, sistrip::HEADER_TYPE_NONE, and sistrip::printHex().
|
inlineprivate |
Definition at line 768 of file SiStripFEDBufferComponents.h.
References BUFFERTYPE, and specialHeader_.
TrackerSpecialHeader & sistrip::TrackerSpecialHeader::setReadoutMode | ( | const FEDReadoutMode | readoutMode | ) |
Definition at line 836 of file SiStripFEDBufferComponents.cc.
References Exception, sistrip::printHex(), sistrip::READOUT_MODE_PREMIX_RAW, sistrip::READOUT_MODE_PROC_RAW, sistrip::READOUT_MODE_SCOPE, sistrip::READOUT_MODE_SPY, sistrip::READOUT_MODE_VIRGIN_RAW, sistrip::READOUT_MODE_ZERO_SUPPRESSED, sistrip::READOUT_MODE_ZERO_SUPPRESSED_FAKE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE10, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE10_CMOVERRIDE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_BOTBOT, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_BOTBOT_CMOVERRIDE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_CMOVERRIDE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_TOPBOT, and sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_TOPBOT_CMOVERRIDE.
|
inlineprivate |
Definition at line 773 of file SiStripFEDBufferComponents.h.
References BUFFERTYPE, and specialHeader_.
|
inline |
Definition at line 715 of file SiStripFEDBufferComponents.h.
References BUFFERTYPE, and specialHeader_.
|
inline |
Definition at line 763 of file SiStripFEDBufferComponents.h.
References wordSwapped_.
Referenced by sistrip::FEDBufferGenerator::fillBuffer().
|
private |
Definition at line 333 of file SiStripFEDBufferComponents.h.
Referenced by apvAddressErrorRegister(), apveAddress(), bufferFormatByte(), data(), fedStatusRegisterWord(), feEnableRegister(), feOverflowRegister(), headerTypeNibble(), print(), setAPVEAddress(), setAPVEAddressErrorRegister(), setFEDStatusRegister(), setFEEnableRegister(), setFEOverflowRegister(), setHeaderTypeNibble(), setReadoutModeBits(), and trackerEventTypeNibble().
|
private |
Definition at line 335 of file SiStripFEDBufferComponents.h.
Referenced by wasSwapped().