#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 |
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 |
Private Attributes | |
std::vector< bool > | channelsEnabled_ |
std::vector< bool > | feUnitsEnabled_ |
Definition at line 77 of file SiStripFEDBufferGenerator.h.
|
inline |
Definition at line 291 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, alignBH_cfg::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_LITE, and contentValuesCheck::ss.
|
private |
Definition at line 260 of file SiStripFEDBufferGenerator.cc.
References ecalMGPA::adc(), sistrip::FEDStripData::ChannelData::get8BitSample(), sistrip::FEDStripData::ChannelData::size(), and sistrip::STRIPS_PER_APV.
|
private |
Definition at line 288 of file SiStripFEDBufferGenerator.cc.
References ecalMGPA::adc(), sistrip::FEDStripData::ChannelData::get10BitSample(), sistrip::FEDStripData::ChannelData::size(), and sistrip::STRIPS_PER_APV.
|
private |
Definition at line 225 of file SiStripFEDBufferGenerator.cc.
References sistrip::FEDStripData::ChannelData::getMedians(), and sistrip::PACKET_CODE_ZERO_SUPPRESSED.
|
private |
Definition at line 143 of file SiStripFEDBufferGenerator.cc.
References sistrip::FEDStripData::ChannelData::getSample(), sistrip::FEDStripOrdering::physicalOrderForStripInChannel(), and sistrip::FEDStripData::ChannelData::size().
|
private |
Definition at line 167 of file SiStripFEDBufferGenerator.cc.
References sistrip::FEDStripData::ChannelData::getMedians(), and sistrip::PACKET_CODE_ZERO_SUPPRESSED.
|
private |
Definition at line 202 of file SiStripFEDBufferGenerator.cc.
|
inline |
Definition at line 296 of file SiStripFEDBufferGenerator.h.
References createPayload().
|
private |
Definition at line 102 of file SiStripFEDBufferGenerator.h.
|
private |
Definition at line 101 of file SiStripFEDBufferGenerator.h.