#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, uint16_t nBotBitsToDrop) 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 198 of file SiStripFEDBufferGenerator.h.
|
inline |
Definition at line 248 of file SiStripFEDBufferGenerator.h.
References dataIs8Bit_, getSample(), and simplePhotonAnalyzer_cfi::sample.
Referenced by sistrip::FEDBufferPayloadCreator::fillClusterData(), and sistrip::FEDBufferPayloadCreator::fillClusterDataPreMixMode().
|
inline |
Definition at line 235 of file SiStripFEDBufferGenerator.h.
References dataIs8Bit_, getSample(), and simplePhotonAnalyzer_cfi::sample.
Referenced by sistrip::FEDBufferPayloadCreator::fillClusterData().
|
inline |
Definition at line 260 of file SiStripFEDBufferGenerator.h.
References medians_.
Referenced by sistrip::FEDBufferPayloadCreator::fillPreMixRawChannelBuffer(), and sistrip::FEDBufferPayloadCreator::fillZeroSuppressedChannelBuffer().
|
inline |
Definition at line 221 of file SiStripFEDBufferGenerator.h.
References data_.
Referenced by sistrip::FEDBufferPayloadCreator::fillRawChannelBuffer(), get10BitSample(), and get8BitSample().
|
inline |
Definition at line 216 of file SiStripFEDBufferGenerator.h.
|
inline |
Definition at line 210 of file SiStripFEDBufferGenerator.h.
References data_.
|
inline |
Definition at line 265 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 34 of file SiStripFEDBufferGenerator.cc.
References sistrip::FEDStripData::data_, Exception, and relativeConstraints::value.
|
inline |
Definition at line 205 of file SiStripFEDBufferGenerator.h.
References data_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._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().