#include <SiStripFEDBufferGenerator.h>
Public Member Functions | |
ChannelData (bool dataIsAlreadyConvertedTo8Bit, const size_t numberOfSamples, const std::pair< uint16_t, uint16_t > medians=std::make_pair< uint16_t >(0, 0)) | |
uint16_t | get10BitSample (const uint16_t sampleNumber) const |
uint8_t | get8BitSample (const uint16_t sampleNumber, const FEDReadoutMode mode) const |
std::pair< uint16_t, uint16_t > | getMedians () const |
uint16_t | getSample (const uint16_t sampleNumber) const |
uint16_t & | operator[] (const size_t sampleNumber) |
const uint16_t & | operator[] (const size_t sampleNumber) const |
void | setMedians (const std::pair< uint16_t, uint16_t > values) |
void | setSample (const uint16_t sampleNumber, const uint16_t adcValue) |
size_t | size () const |
Private Attributes | |
std::vector< uint16_t > | data_ |
bool | dataIs8Bit_ |
std::pair< uint16_t, uint16_t > | medians_ |
Definition at line 22 of file SiStripFEDBufferGenerator.h.
|
inline |
Definition at line 197 of file SiStripFEDBufferGenerator.h.
|
inline |
Definition at line 264 of file SiStripFEDBufferGenerator.h.
References dataIs8Bit_, getSample(), and simplePhotonAnalyzer_cfi::sample.
Referenced by sistrip::FEDBufferPayloadCreator::fillClusterData(), and sistrip::FEDBufferPayloadCreator::fillClusterDataPreMixMode().
|
inline |
Definition at line 234 of file SiStripFEDBufferGenerator.h.
References dataIs8Bit_, Exception, getSample(), sistrip::READOUT_MODE_ZERO_SUPPRESSED, 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 simplePhotonAnalyzer_cfi::sample.
Referenced by sistrip::FEDBufferPayloadCreator::fillClusterData().
|
inline |
Definition at line 276 of file SiStripFEDBufferGenerator.h.
References medians_.
Referenced by sistrip::FEDBufferPayloadCreator::fillPreMixRawChannelBuffer(), and sistrip::FEDBufferPayloadCreator::fillZeroSuppressedChannelBuffer().
|
inline |
Definition at line 220 of file SiStripFEDBufferGenerator.h.
References data_.
Referenced by sistrip::FEDBufferPayloadCreator::fillRawChannelBuffer(), get10BitSample(), and get8BitSample().
|
inline |
Definition at line 215 of file SiStripFEDBufferGenerator.h.
|
inline |
Definition at line 209 of file SiStripFEDBufferGenerator.h.
References data_.
|
inline |
Definition at line 281 of file SiStripFEDBufferGenerator.h.
References medians_, and MuonErrorMatrixValues_cff::values.
void sistrip::FEDStripData::ChannelData::setSample | ( | const uint16_t | sampleNumber, |
const uint16_t | adcValue | ||
) |
Definition at line 33 of file SiStripFEDBufferGenerator.cc.
References sistrip::FEDStripData::data_, Exception, and relativeConstraints::value.
|
inline |
Definition at line 204 of file SiStripFEDBufferGenerator.h.
References data_.
Referenced by ntuple._Collection::__iter__(), ntuple._Collection::__len__(), sistrip::FEDBufferPayloadCreator::fillClusterData(), sistrip::FEDBufferPayloadCreator::fillClusterDataPreMixMode(), and sistrip::FEDBufferPayloadCreator::fillRawChannelBuffer().
|
private |
Definition at line 43 of file SiStripFEDBufferGenerator.h.
Referenced by sistrip::FEDBufferPayload::appendToBuffer(), getSample(), sistrip::FEDBufferPayload::lengthInBytes(), operator[](), and size().
|
private |
Definition at line 44 of file SiStripFEDBufferGenerator.h.
Referenced by get10BitSample(), and get8BitSample().
|
private |
Definition at line 42 of file SiStripFEDBufferGenerator.h.
Referenced by getMedians(), and setMedians().