Analysis Software
Documentation for sPHENIX simulation software
|
#include <online_distribution/blob/master/newbasic/mvtx_decoder/PixelData.h>
Public Member Functions | |
ChipPixelData ()=default | |
~ChipPixelData ()=default | |
uint16_t | getChipID () const |
const std::vector< PixelData > & | getData () const |
std::vector< PixelData > & | getData () |
void | setChipID (uint16_t id) |
void | setError (ChipStat::DecErrors i) |
void | addErrorInfo (uint64_t b) |
void | setErrorFlags (uint32_t f) |
bool | isErrorSet (ChipStat::DecErrors i) const |
bool | isErrorSet () const |
auto | getErrorFlags () const |
auto | getErrorInfo () const |
auto | getNBytesInRawBuff () const |
void | setNBytesInRawBuff (int n) |
auto & | getRawErrBuff () |
auto & | getRawErrBuff () const |
std::string | getErrorDetails (int pos) const |
void | resetChipID () |
void | clear () |
void | swap (ChipPixelData &other) |
void | print () const |
Static Public Attributes | |
static constexpr size_t | MAXDATAERRBYTES = 16 |
static constexpr size_t | MAXDATAERRBYTES_AFTER = 2 |
Private Attributes | |
uint16_t | mChipID = 0 |
uint32_t | mErrors = 0 |
uint64_t | mErrorInfo = 0 |
std::array< uint8_t, MAXDATAERRBYTES > | mRawBuff {} |
std::vector< PixelData > | mPixels |
Definition at line 33 of file PixelData.h.
View newest version in sPHENIX GitHub at line 33 of file PixelData.h
|
default |
|
default |
|
inline |
Definition at line 50 of file PixelData.h.
View newest version in sPHENIX GitHub at line 50 of file PixelData.h
References KFPMath::b, and mErrorInfo.
|
inline |
Definition at line 67 of file PixelData.h.
View newest version in sPHENIX GitHub at line 67 of file PixelData.h
References mErrorInfo, mErrors, mPixels, and resetChipID().
|
inline |
Definition at line 41 of file PixelData.h.
View newest version in sPHENIX GitHub at line 41 of file PixelData.h
References mChipID.
|
inline |
Definition at line 42 of file PixelData.h.
View newest version in sPHENIX GitHub at line 42 of file PixelData.h
References mPixels.
|
inline |
Definition at line 43 of file PixelData.h.
View newest version in sPHENIX GitHub at line 43 of file PixelData.h
References mPixels.
std::string ChipPixelData::getErrorDetails | ( | int | pos | ) | const |
Definition at line 23 of file PixelData.cxx.
View newest version in sPHENIX GitHub at line 23 of file PixelData.cxx
References getNBytesInRawBuff(), getRawErrBuff(), i, mErrorInfo, mvtx::ChipStat::RepeatingPixel, and mvtx::ChipStat::UnknownWord.
|
inline |
Definition at line 54 of file PixelData.h.
View newest version in sPHENIX GitHub at line 54 of file PixelData.h
References mErrors.
Referenced by mvtx::ChipStat::addErrors().
|
inline |
Definition at line 55 of file PixelData.h.
View newest version in sPHENIX GitHub at line 55 of file PixelData.h
References mErrorInfo.
|
inline |
Definition at line 56 of file PixelData.h.
View newest version in sPHENIX GitHub at line 56 of file PixelData.h
References mErrorInfo.
Referenced by getErrorDetails().
|
inline |
Definition at line 58 of file PixelData.h.
View newest version in sPHENIX GitHub at line 58 of file PixelData.h
References mRawBuff.
Referenced by getErrorDetails().
|
inline |
Definition at line 59 of file PixelData.h.
View newest version in sPHENIX GitHub at line 59 of file PixelData.h
References mRawBuff.
|
inline |
Definition at line 52 of file PixelData.h.
View newest version in sPHENIX GitHub at line 52 of file PixelData.h
|
inline |
Definition at line 53 of file PixelData.h.
View newest version in sPHENIX GitHub at line 53 of file PixelData.h
References mErrors.
void ChipPixelData::print | ( | ) | const |
Definition at line 12 of file PixelData.cxx.
View newest version in sPHENIX GitHub at line 12 of file PixelData.cxx
References InttDefs::getCol(), InttDefs::getRow(), i, mChipID, mPixels, and printf().
|
inline |
Definition at line 62 of file PixelData.h.
View newest version in sPHENIX GitHub at line 62 of file PixelData.h
References mChipID.
Referenced by clear().
|
inline |
Definition at line 46 of file PixelData.h.
View newest version in sPHENIX GitHub at line 46 of file PixelData.h
References train_ambiguity_solver::id, and mChipID.
|
inline |
Definition at line 49 of file PixelData.h.
View newest version in sPHENIX GitHub at line 49 of file PixelData.h
|
inline |
Definition at line 51 of file PixelData.h.
View newest version in sPHENIX GitHub at line 51 of file PixelData.h
|
inline |
Definition at line 57 of file PixelData.h.
View newest version in sPHENIX GitHub at line 57 of file PixelData.h
References mErrorInfo.
|
inline |
Definition at line 75 of file PixelData.h.
View newest version in sPHENIX GitHub at line 75 of file PixelData.h
References mChipID, mErrors, mPixels, and swap().
|
static |
Definition at line 38 of file PixelData.h.
View newest version in sPHENIX GitHub at line 38 of file PixelData.h
|
static |
Definition at line 38 of file PixelData.h.
View newest version in sPHENIX GitHub at line 38 of file PixelData.h
|
private |
Definition at line 85 of file PixelData.h.
View newest version in sPHENIX GitHub at line 85 of file PixelData.h
Referenced by getChipID(), print(), resetChipID(), setChipID(), and swap().
|
private |
Definition at line 87 of file PixelData.h.
View newest version in sPHENIX GitHub at line 87 of file PixelData.h
Referenced by addErrorInfo(), clear(), getErrorDetails(), getErrorInfo(), getNBytesInRawBuff(), and setNBytesInRawBuff().
|
private |
Definition at line 86 of file PixelData.h.
View newest version in sPHENIX GitHub at line 86 of file PixelData.h
Referenced by clear(), getErrorFlags(), isErrorSet(), setError(), setErrorFlags(), and swap().
|
private |
Definition at line 89 of file PixelData.h.
View newest version in sPHENIX GitHub at line 89 of file PixelData.h
|
private |
Definition at line 88 of file PixelData.h.
View newest version in sPHENIX GitHub at line 88 of file PixelData.h
Referenced by getRawErrBuff().