1 #ifndef DataFormats_CTPPS_CTPPSPixelCluster_h 2 #define DataFormats_CTPPS_CTPPSPixelCluster_h 27 uint8_t
const * rowpos, uint8_t
const * colpos ) :
36 for (
unsigned int j=0; j!=isize; ++j) {
40 for (
unsigned int i=0;
i!=isize; ++
i) {
41 uint8_t rowoffset = rowpos[
i]-rowmin;
42 uint8_t coloffset = colpos[
i]-colmin;
45 if (rowoffset > maxRow) maxRow = rowoffset;
46 if (coloffset > maxCol) maxCol = coloffset;
62 for (
unsigned int i=0;
i<isize; ++
i)
70 for (
unsigned int i=0;
i<isize; ++
i)
80 for (
unsigned int i=0;
i<isize; ++
i)
unsigned int rowSpan() const
std::vector< uint16_t > thePixelADC
std::vector< uint8_t > thePixelOffset
unsigned int size() const
unsigned int colSpan() const
unsigned int minPixelCol() const
const std::vector< uint16_t > & pixelADC() const
unsigned int pixelRow(unsigned int i) const
unsigned int sizeCol() const
unsigned int minPixelRow() const
const std::vector< uint8_t > & pixelOffset() const
CTPPSPixelCluster(uint16_t isize, uint16_t *adcs, uint8_t const *rowpos, uint8_t const *colpos)
static constexpr uint8_t MAXROW
static constexpr uint8_t MAXCOL
unsigned int sizeRow() const
bool operator<(const CTPPSPixelCluster &one, const CTPPSPixelCluster &two)
static constexpr uint8_t MAXSPAN
unsigned int pixelADC(unsigned int i) const
unsigned int pixelCol(unsigned int i) const