CMS 3D CMS Logo

Classes | Namespaces | Enumerations | Functions | Variables
SiStripFEDBuffer.h File Reference
#include <string>
#include <vector>
#include <memory>
#include <ostream>
#include <cstring>
#include <cmath>
#include "EventFilter/SiStripRawToDigi/interface/SiStripFEDBufferComponents.h"
#include "DataFormats/SiStripDigi/interface/SiStripRawDigi.h"
#include "DataFormats/SiStripDigi/interface/SiStripDigi.h"
#include <cstdint>

Go to the source code of this file.

Classes

class  sistrip::FEDBuffer
 

Namespaces

 sistrip
 sistrip classes
 
 sistrip::fedchannelunpacker
 
 sistrip::fedchannelunpacker::detail
 

Enumerations

enum  sistrip::fedchannelunpacker::StatusCode {
  sistrip::fedchannelunpacker::StatusCode::SUCCESS = 0, sistrip::fedchannelunpacker::StatusCode::BAD_CHANNEL_LENGTH, sistrip::fedchannelunpacker::StatusCode::UNORDERED_DATA, sistrip::fedchannelunpacker::StatusCode::BAD_PACKET_CODE,
  sistrip::fedchannelunpacker::StatusCode::ZERO_PACKET_CODE
}
 

Functions

template<uint16_t mask>
uint16_t sistrip::fedchannelunpacker::detail::getADC_B1 (const uint8_t *data, uint_fast16_t wOffset, uint_fast8_t bOffset)
 
template<uint16_t mask>
uint16_t sistrip::fedchannelunpacker::detail::getADC_B2 (const uint8_t *data, uint_fast16_t wOffset, uint_fast8_t bOffset)
 
template<uint8_t num_words>
uint16_t sistrip::fedchannelunpacker::detail::getADC_W (const uint8_t *data, uint_fast16_t offset, uint8_t bits_shift)
 
bool sistrip::fedchannelunpacker::isNonLiteZS (FEDReadoutMode mode, bool legacy=false, FEDLegacyReadoutMode lmode=READOUT_MODE_LEGACY_INVALID)
 
bool sistrip::fedchannelunpacker::isProcessedRaw (FEDReadoutMode mode, bool legacy=false, FEDLegacyReadoutMode lmode=READOUT_MODE_LEGACY_INVALID)
 
bool sistrip::fedchannelunpacker::isScopeMode (FEDReadoutMode mode, bool legacy=false, FEDLegacyReadoutMode lmode=READOUT_MODE_LEGACY_INVALID)
 
bool sistrip::fedchannelunpacker::isVirginRaw (FEDReadoutMode mode, bool legacy=false, FEDLegacyReadoutMode lmode=READOUT_MODE_LEGACY_INVALID)
 
bool sistrip::fedchannelunpacker::isZeroSuppressed (FEDReadoutMode mode, bool legacy=false, FEDLegacyReadoutMode lmode=READOUT_MODE_LEGACY_INVALID)
 
FEDBufferStatusCode sistrip::preconstructCheckFEDBuffer (const FEDRawData &fedBuffer, bool allowBadBuffer=false)
 
uint16_t sistrip::fedchannelunpacker::detail::readoutOrder (uint16_t physical_order)
 
std::string sistrip::toString (fedchannelunpacker::StatusCode status)
 
template<typename OUT >
StatusCode sistrip::fedchannelunpacker::unpackProcessedRaw (const FEDChannel &channel, OUT &&out)
 
template<uint_fast8_t num_bits, typename OUT >
StatusCode sistrip::fedchannelunpacker::detail::unpackRawB (const FEDChannel &channel, OUT &&out)
 
template<uint8_t num_bits, typename OUT >
StatusCode sistrip::fedchannelunpacker::detail::unpackRawW (const FEDChannel &channel, OUT &&out, uint8_t bits_shift=0)
 
template<typename OUT >
StatusCode sistrip::fedchannelunpacker::unpackScope (const FEDChannel &channel, OUT &&out)
 
template<typename OUT >
StatusCode sistrip::fedchannelunpacker::unpackVirginRaw (const FEDChannel &channel, OUT &&out, uint8_t packetCode)
 
template<typename OUT >
StatusCode sistrip::fedchannelunpacker::unpackZeroSuppressed (const FEDChannel &channel, OUT &&out, uint16_t stripStart, bool isNonLite, FEDReadoutMode mode, bool legacy=false, FEDLegacyReadoutMode lmode=READOUT_MODE_LEGACY_INVALID, uint8_t packetCode=0)
 
template<uint_fast8_t num_bits, typename OUT >
StatusCode sistrip::fedchannelunpacker::detail::unpackZSB (const FEDChannel &channel, OUT &&out, uint8_t headerLength, uint16_t stripStart)
 
template<uint8_t num_bits, typename OUT >
StatusCode sistrip::fedchannelunpacker::detail::unpackZSW (const FEDChannel &channel, OUT &&out, uint8_t headerLength, uint16_t stripStart, uint8_t bits_shift=0)
 

Variables

constexpr uint16_t sistrip::BITS_PER_BYTE = 8