Project
Loading...
Searching...
No Matches
o2::itsmft::ChipPixelData Class Reference

#include <PixelData.h>

Public Member Functions

 ChipPixelData ()=default
 
 ~ChipPixelData ()=default
 
uint8_t getROFlags () const
 
uint16_t getChipID () const
 
uint32_t getROFrame () const
 
uint32_t getStartID () const
 
uint32_t getFirstUnmasked () const
 
uint32_t getTrigger () const
 
const o2::InteractionRecordgetInteractionRecord () const
 
void setInteractionRecord (const o2::InteractionRecord &r)
 
const std::vector< PixelData > & getData () const
 
std::vector< PixelData > & getData ()
 
void setROFlags (uint8_t f=0)
 
void setChipID (uint16_t id)
 
void setROFrame (uint32_t r)
 
void setStartID (uint32_t id)
 
void setFirstUnmasked (uint32_t n)
 
void setTrigger (uint32_t t)
 
void setError (ChipStat::DecErrors i)
 
void addErrorInfo (uint64_t b)
 
void setErrorInfo (uint64_t b)
 
void setErrorFlags (uint64_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 maskFiredInSample (const ChipPixelData &sample)
 
void maskFiredInSample (const ChipPixelData &sample, int maxDist)
 
template<typename Func >
void forEachSetError (Func f) const
 
std::string reportErrors () const
 
void print () const
 
std::vector< uint32_t > & getPixIds ()
 
std::vector< int > & getPixelsOrder ()
 
uint32_t getOrderedPixId (int pos) const
 

Static Public Attributes

static constexpr size_t MAXDATAERRBYTES = 16
 
static constexpr size_t MAXDATAERRBYTES_AFTER = 2
 

Detailed Description

Definition at line 99 of file PixelData.h.

Constructor & Destructor Documentation

◆ ChipPixelData()

o2::itsmft::ChipPixelData::ChipPixelData ( )
default

◆ ~ChipPixelData()

o2::itsmft::ChipPixelData::~ChipPixelData ( )
default

Member Function Documentation

◆ addErrorInfo()

void o2::itsmft::ChipPixelData::addErrorInfo ( uint64_t  b)
inline

Definition at line 126 of file PixelData.h.

◆ clear()

void o2::itsmft::ChipPixelData::clear ( )
inline

Definition at line 144 of file PixelData.h.

◆ forEachSetError()

template<typename Func >
void o2::itsmft::ChipPixelData::forEachSetError ( Func  f) const
inline

Definition at line 247 of file PixelData.h.

◆ getChipID()

uint16_t o2::itsmft::ChipPixelData::getChipID ( ) const
inline

Definition at line 108 of file PixelData.h.

◆ getData() [1/2]

std::vector< PixelData > & o2::itsmft::ChipPixelData::getData ( )
inline

Definition at line 116 of file PixelData.h.

◆ getData() [2/2]

const std::vector< PixelData > & o2::itsmft::ChipPixelData::getData ( ) const
inline

Definition at line 115 of file PixelData.h.

◆ getErrorDetails()

std::string ChipPixelData::getErrorDetails ( int  pos) const

Definition at line 42 of file PixelData.cxx.

◆ getErrorFlags()

auto o2::itsmft::ChipPixelData::getErrorFlags ( ) const
inline

Definition at line 131 of file PixelData.h.

◆ getErrorInfo()

auto o2::itsmft::ChipPixelData::getErrorInfo ( ) const
inline

Definition at line 132 of file PixelData.h.

◆ getFirstUnmasked()

uint32_t o2::itsmft::ChipPixelData::getFirstUnmasked ( ) const
inline

Definition at line 111 of file PixelData.h.

◆ getInteractionRecord()

const o2::InteractionRecord & o2::itsmft::ChipPixelData::getInteractionRecord ( ) const
inline

Definition at line 113 of file PixelData.h.

◆ getNBytesInRawBuff()

auto o2::itsmft::ChipPixelData::getNBytesInRawBuff ( ) const
inline

Definition at line 133 of file PixelData.h.

◆ getOrderedPixId()

uint32_t o2::itsmft::ChipPixelData::getOrderedPixId ( int  pos) const
inline

Definition at line 275 of file PixelData.h.

◆ getPixelsOrder()

std::vector< int > & o2::itsmft::ChipPixelData::getPixelsOrder ( )
inline

Definition at line 274 of file PixelData.h.

◆ getPixIds()

std::vector< uint32_t > & o2::itsmft::ChipPixelData::getPixIds ( )
inline

Definition at line 273 of file PixelData.h.

◆ getRawErrBuff() [1/2]

auto & o2::itsmft::ChipPixelData::getRawErrBuff ( )
inline

Definition at line 135 of file PixelData.h.

◆ getRawErrBuff() [2/2]

auto & o2::itsmft::ChipPixelData::getRawErrBuff ( ) const
inline

Definition at line 136 of file PixelData.h.

◆ getROFlags()

uint8_t o2::itsmft::ChipPixelData::getROFlags ( ) const
inline

Definition at line 107 of file PixelData.h.

◆ getROFrame()

uint32_t o2::itsmft::ChipPixelData::getROFrame ( ) const
inline

Definition at line 109 of file PixelData.h.

◆ getStartID()

uint32_t o2::itsmft::ChipPixelData::getStartID ( ) const
inline

Definition at line 110 of file PixelData.h.

◆ getTrigger()

uint32_t o2::itsmft::ChipPixelData::getTrigger ( ) const
inline

Definition at line 112 of file PixelData.h.

◆ isErrorSet() [1/2]

bool o2::itsmft::ChipPixelData::isErrorSet ( ) const
inline

Definition at line 130 of file PixelData.h.

◆ isErrorSet() [2/2]

bool o2::itsmft::ChipPixelData::isErrorSet ( ChipStat::DecErrors  i) const
inline

Definition at line 129 of file PixelData.h.

◆ maskFiredInSample() [1/2]

void o2::itsmft::ChipPixelData::maskFiredInSample ( const ChipPixelData sample)
inline

< mask in the current data pixels fired in provided sample

Definition at line 170 of file PixelData.h.

◆ maskFiredInSample() [2/2]

void o2::itsmft::ChipPixelData::maskFiredInSample ( const ChipPixelData sample,
int  maxDist 
)
inline

< mask in the current data pixels (or their neighbours) fired in provided sample

Definition at line 200 of file PixelData.h.

◆ print()

void ChipPixelData::print ( ) const

Definition at line 30 of file PixelData.cxx.

◆ reportErrors()

std::string o2::itsmft::ChipPixelData::reportErrors ( ) const
inline

Definition at line 257 of file PixelData.h.

◆ resetChipID()

void o2::itsmft::ChipPixelData::resetChipID ( )
inline

Definition at line 139 of file PixelData.h.

◆ setChipID()

void o2::itsmft::ChipPixelData::setChipID ( uint16_t  id)
inline

Definition at line 119 of file PixelData.h.

◆ setError()

void o2::itsmft::ChipPixelData::setError ( ChipStat::DecErrors  i)
inline

Definition at line 125 of file PixelData.h.

◆ setErrorFlags()

void o2::itsmft::ChipPixelData::setErrorFlags ( uint64_t  f)
inline

Definition at line 128 of file PixelData.h.

◆ setErrorInfo()

void o2::itsmft::ChipPixelData::setErrorInfo ( uint64_t  b)
inline

Definition at line 127 of file PixelData.h.

◆ setFirstUnmasked()

void o2::itsmft::ChipPixelData::setFirstUnmasked ( uint32_t  n)
inline

Definition at line 122 of file PixelData.h.

◆ setInteractionRecord()

void o2::itsmft::ChipPixelData::setInteractionRecord ( const o2::InteractionRecord r)
inline

Definition at line 114 of file PixelData.h.

◆ setNBytesInRawBuff()

void o2::itsmft::ChipPixelData::setNBytesInRawBuff ( int  n)
inline

Definition at line 134 of file PixelData.h.

◆ setROFlags()

void o2::itsmft::ChipPixelData::setROFlags ( uint8_t  f = 0)
inline

Definition at line 118 of file PixelData.h.

◆ setROFrame()

void o2::itsmft::ChipPixelData::setROFrame ( uint32_t  r)
inline

Definition at line 120 of file PixelData.h.

◆ setStartID()

void o2::itsmft::ChipPixelData::setStartID ( uint32_t  id)
inline

Definition at line 121 of file PixelData.h.

◆ setTrigger()

void o2::itsmft::ChipPixelData::setTrigger ( uint32_t  t)
inline

Definition at line 123 of file PixelData.h.

◆ swap()

void o2::itsmft::ChipPixelData::swap ( ChipPixelData other)
inline

Definition at line 156 of file PixelData.h.

Member Data Documentation

◆ MAXDATAERRBYTES

constexpr size_t o2::itsmft::ChipPixelData::MAXDATAERRBYTES = 16
staticconstexpr

Definition at line 104 of file PixelData.h.

◆ MAXDATAERRBYTES_AFTER

constexpr size_t o2::itsmft::ChipPixelData::MAXDATAERRBYTES_AFTER = 2
static

Definition at line 104 of file PixelData.h.


The documentation for this class was generated from the following files: