#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 | 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 76 of file SiStripFEDBufferGenerator.h.
|
inline |
Definition at line 276 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 edm::hlt::Exception, alignBH_cfg::mode, sistrip::PACKET_CODE_PROC_RAW, sistrip::PACKET_CODE_SCOPE, sistrip::PACKET_CODE_VIRGIN_RAW, sistrip::READOUT_MODE_PROC_RAW, sistrip::READOUT_MODE_SCOPE, sistrip::READOUT_MODE_VIRGIN_RAW, sistrip::READOUT_MODE_ZERO_SUPPRESSED, and sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE.
|
private |
Definition at line 222 of file SiStripFEDBufferGenerator.cc.
References ecalMGPA::adc(), sistrip::FEDStripData::ChannelData::get8BitSample(), sistrip::FEDStripData::ChannelData::size(), strip(), and sistrip::STRIPS_PER_APV.
|
private |
Definition at line 140 of file SiStripFEDBufferGenerator.cc.
References sistrip::FEDStripData::ChannelData::getSample(), sistrip::FEDStripOrdering::physicalOrderForStripInChannel(), and sistrip::FEDStripData::ChannelData::size().
|
private |
Definition at line 164 of file SiStripFEDBufferGenerator.cc.
References sistrip::FEDStripData::ChannelData::getMedians(), and sistrip::PACKET_CODE_ZERO_SUPPRESSED.
|
private |
Definition at line 199 of file SiStripFEDBufferGenerator.cc.
|
inline |
Definition at line 281 of file SiStripFEDBufferGenerator.h.
References createPayload().
|
private |
Definition at line 99 of file SiStripFEDBufferGenerator.h.
|
private |
Definition at line 98 of file SiStripFEDBufferGenerator.h.