#include <SiStripFEDBufferGenerator.h>
Public Member Functions | |
FEDBufferPayload | createPayload (const FEDReadoutMode mode, const FEDStripData &data) const |
FEDBufferPayloadCreator (const std::vector< bool > &enabledFEUnits, const std::vector< bool > &enabledChannels) | |
FEDBufferPayload | operator() (const FEDReadoutMode mode, const FEDStripData &data) const |
Private Member Functions | |
void | fillChannelBuffer (std::vector< uint8_t > *channelBuffer, const FEDReadoutMode mode, const FEDStripData::ChannelData &data, const bool channelEnabled) const |
void | fillClusterData (std::vector< uint8_t > *channelBuffer, const FEDStripData::ChannelData &data, const FEDReadoutMode mode) const |
void | fillClusterDataPreMixMode (std::vector< uint8_t > *channelBuffer, const FEDStripData::ChannelData &data) const |
void | fillPreMixRawChannelBuffer (std::vector< uint8_t > *channelBuffer, const FEDStripData::ChannelData &data, const bool channelEnabled) const |
void | fillRawChannelBuffer (std::vector< uint8_t > *channelBuffer, const uint8_t packetCode, const FEDStripData::ChannelData &data, const bool channelEnabled, const bool reorderData) const |
void | fillZeroSuppressedChannelBuffer (std::vector< uint8_t > *channelBuffer, const FEDStripData::ChannelData &data, const bool channelEnabled) const |
void | fillZeroSuppressedLiteChannelBuffer (std::vector< uint8_t > *channelBuffer, const FEDStripData::ChannelData &data, const bool channelEnabled, const FEDReadoutMode mode) const |
Private Attributes | |
std::vector< bool > | channelsEnabled_ |
std::vector< bool > | feUnitsEnabled_ |
Definition at line 77 of file SiStripFEDBufferGenerator.h.
|
inline |
Definition at line 307 of file SiStripFEDBufferGenerator.h.
FEDBufferPayload sistrip::FEDBufferPayloadCreator::createPayload | ( | const FEDReadoutMode | mode, |
const FEDStripData & | data | ||
) | const |
Definition at line 103 of file SiStripFEDBufferGenerator.cc.
References sistrip::FEDStripData::channel(), sistrip::FEDCH_PER_FED, and sistrip::FEDCH_PER_FEUNIT.
Referenced by operator()().
|
private |
Definition at line 113 of file SiStripFEDBufferGenerator.cc.
References Exception, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, sistrip::PACKET_CODE_PROC_RAW, sistrip::PACKET_CODE_SCOPE, sistrip::PACKET_CODE_VIRGIN_RAW, sistrip::READOUT_MODE_PREMIX_RAW, sistrip::READOUT_MODE_PROC_RAW, sistrip::READOUT_MODE_SCOPE, sistrip::READOUT_MODE_VIRGIN_RAW, sistrip::READOUT_MODE_ZERO_SUPPRESSED, 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.
|
private |
Definition at line 271 of file SiStripFEDBufferGenerator.cc.
References ecalMGPA::adc(), sistrip::FEDStripData::ChannelData::get10BitSample(), sistrip::FEDStripData::ChannelData::get8BitSample(), hgc_digi::nSamples, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE10, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE10_CMOVERRIDE, sistrip::FEDStripData::ChannelData::size(), findQualityFiles::size, digitizers_cfi::strip, and sistrip::STRIPS_PER_APV.
|
private |
Definition at line 323 of file SiStripFEDBufferGenerator.cc.
References ecalMGPA::adc(), sistrip::FEDStripData::ChannelData::get10BitSample(), hgc_digi::nSamples, sistrip::FEDStripData::ChannelData::size(), digitizers_cfi::strip, and sistrip::STRIPS_PER_APV.
|
private |
Definition at line 236 of file SiStripFEDBufferGenerator.cc.
References sistrip::FEDStripData::ChannelData::getMedians(), and sistrip::PACKET_CODE_ZERO_SUPPRESSED.
|
private |
Definition at line 151 of file SiStripFEDBufferGenerator.cc.
References sistrip::FEDStripData::ChannelData::getSample(), hgc_digi::nSamples, sistrip::FEDStripOrdering::physicalOrderForStripInChannel(), and sistrip::FEDStripData::ChannelData::size().
|
private |
Definition at line 175 of file SiStripFEDBufferGenerator.cc.
References sistrip::FEDStripData::ChannelData::getMedians(), sistrip::PACKET_CODE_ZERO_SUPPRESSED, and sistrip::READOUT_MODE_ZERO_SUPPRESSED.
|
private |
Definition at line 211 of file SiStripFEDBufferGenerator.cc.
|
inline |
Definition at line 312 of file SiStripFEDBufferGenerator.h.
References createPayload().
|
private |
Definition at line 102 of file SiStripFEDBufferGenerator.h.
|
private |
Definition at line 101 of file SiStripFEDBufferGenerator.h.