#include <SiStripFEDBufferGenerator.h>
Public Member Functions | |
FEDBufferPayload | createPayload (FEDReadoutMode mode, uint8_t packetCode, const FEDStripData &data) const |
FEDBufferPayloadCreator (const std::vector< bool > &enabledFEUnits, const std::vector< bool > &enabledChannels) | |
FEDBufferPayload | operator() (FEDReadoutMode mode, uint8_t packetCode, const FEDStripData &data) const |
Private Member Functions | |
void | fillChannelBuffer (std::vector< uint8_t > *channelBuffer, FEDReadoutMode mode, uint8_t packetCode, const FEDStripData::ChannelData &data, const bool channelEnabled) const |
void | fillClusterData (std::vector< uint8_t > *channelBuffer, uint8_t packetCode, 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 uint8_t packetCode, 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 81 of file SiStripFEDBufferGenerator.h.
|
inline |
Definition at line 290 of file SiStripFEDBufferGenerator.h.
FEDBufferPayload sistrip::FEDBufferPayloadCreator::createPayload | ( | FEDReadoutMode | mode, |
uint8_t | packetCode, | ||
const FEDStripData & | data | ||
) | const |
Definition at line 102 of file SiStripFEDBufferGenerator.cc.
References data, sistrip::FEDCH_PER_FED, sistrip::FEDCH_PER_FEUNIT, and ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
Referenced by operator()().
|
private |
Definition at line 114 of file SiStripFEDBufferGenerator.cc.
References data, Exception, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, sistrip::PACKET_CODE_PROC_RAW, sistrip::PACKET_CODE_SCOPE, sistrip::PACKET_CODE_VIRGIN_RAW, sistrip::PACKET_CODE_VIRGIN_RAW10, sistrip::PACKET_CODE_VIRGIN_RAW8_BOTBOT, sistrip::PACKET_CODE_VIRGIN_RAW8_TOPBOT, 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, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_TOPBOT_CMOVERRIDE, and contentValuesCheck::ss.
|
private |
Definition at line 321 of file SiStripFEDBufferGenerator.cc.
References gpuClustering::adc, nano_mu_local_reco_cff::clusterSize, data, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, PresampleTask_cfi::nSamples, sistrip::PACKET_CODE_ZERO_SUPPRESSED, sistrip::PACKET_CODE_ZERO_SUPPRESSED10, sistrip::PACKET_CODE_ZERO_SUPPRESSED8_BOTBOT, sistrip::PACKET_CODE_ZERO_SUPPRESSED8_TOPBOT, 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_TOPBOT, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_TOPBOT_CMOVERRIDE, nano_mu_digi_cff::strip, and sistrip::STRIPS_PER_APV.
|
private |
Definition at line 404 of file SiStripFEDBufferGenerator.cc.
References gpuClustering::adc, nano_mu_local_reco_cff::clusterSize, data, PresampleTask_cfi::nSamples, nano_mu_digi_cff::strip, and sistrip::STRIPS_PER_APV.
|
private |
Definition at line 286 of file SiStripFEDBufferGenerator.cc.
References data, and sistrip::PACKET_CODE_ZERO_SUPPRESSED.
|
private |
Definition at line 167 of file SiStripFEDBufferGenerator.cc.
References reco::ceil(), data, PresampleTask_cfi::nSamples, sistrip::PACKET_CODE_VIRGIN_RAW, sistrip::PACKET_CODE_VIRGIN_RAW10, sistrip::PACKET_CODE_VIRGIN_RAW8_BOTBOT, sistrip::PACKET_CODE_VIRGIN_RAW8_TOPBOT, and sistrip::FEDStripOrdering::physicalOrderForStripInChannel().
|
private |
Definition at line 226 of file SiStripFEDBufferGenerator.cc.
References data, and sistrip::READOUT_MODE_ZERO_SUPPRESSED.
|
private |
Definition at line 262 of file SiStripFEDBufferGenerator.cc.
References data, and ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
|
inline |
Definition at line 294 of file SiStripFEDBufferGenerator.h.
References createPayload(), data, and ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
|
private |
Definition at line 123 of file SiStripFEDBufferGenerator.h.
|
private |
Definition at line 122 of file SiStripFEDBufferGenerator.h.