Pixel cluster – collection of neighboring pixels above threshold. More...
#include <Phase2ITPixelCluster.h>
Classes | |
class | Pixel |
class | PixelPos |
class | Shift |
Public Types | |
typedef std::vector< PixelDigi >::const_iterator | PixelDigiIter |
typedef std::pair< PixelDigiIter, PixelDigiIter > | PixelDigiRange |
Public Member Functions | |
void | add (const PixelPos &pix, uint32_t adc) |
float | charge () const |
int | colSpan () const |
void | computeMax () |
moslty to be compatible for <610 More... | |
float | getSplitClusterErrorX () const |
float | getSplitClusterErrorY () const |
uint32_t | maxPixelCol () const |
uint32_t | maxPixelRow () const |
uint32_t | minPixelCol () const |
uint32_t | minPixelRow () const |
bool | overflow () const |
bool | overflowCol () const |
bool | overflowRow () const |
void | packCol (uint32_t ymin, uint32_t yspan) |
void | packRow (uint32_t xmin, uint32_t xspan) |
Phase2ITPixelCluster () | |
Phase2ITPixelCluster (unsigned int isize, uint32_t const *adcs, uint32_t const *xpos, uint32_t const *ypos, uint32_t const xmin, uint32_t const ymin) | |
Phase2ITPixelCluster (const PixelPos &pix, uint32_t adc) | |
Pixel | pixel (int i) const |
const std::vector< uint32_t > & | pixelADC () const |
const std::vector< uint16_t > & | pixelOffset () const |
const std::vector< Pixel > | pixels () const |
int | rowSpan () const |
void | setSplitClusterErrorX (float errx) |
void | setSplitClusterErrorY (float erry) |
int | size () const |
int | sizeX () const |
int | sizeY () const |
void | verifyVersion () const |
mostly to be compatible for <610 More... | |
float | x () const |
float | y () const |
Static Public Attributes | |
static unsigned int | MAXPOS =2047 |
static unsigned int | MAXSPAN =255 |
static unsigned int | POSBITS =20 |
static unsigned int | SPANBITS =12 |
Static Private Member Functions | |
static int | overflow_ (uint32_t packed) |
static uint32_t | pack_ (uint32_t zmin, unsigned int zspan) |
static int | span_ (uint32_t packed) |
Private Attributes | |
float | err_x |
float | err_y |
std::vector< uint32_t > | thePixelADC |
uint32_t | thePixelCol |
std::vector< uint16_t > | thePixelOffset |
uint32_t | thePixelRow |
Pixel cluster – collection of neighboring pixels above threshold.
Pixel cluster – collection of pixels with ADC counts.
Class to contain and store all the topological information of pixel clusters: charge, global size, size and the barycenter in x and y local directions. It builds a vector of Pixel (which is an inner class) and a container of channels.
Class to contain and store all the topological information of pixel clusters: charge, global size, size and the barycenter in x and y local directions. It builds a vector of SiPixel (which is an inner class) and a container of channels.
March 2007: Edge pixel methods moved to RectangularPixelTopology (V.Chiochia) May 2008: Offset based packing (D.Fehling / A. Rizzi)
Definition at line 23 of file Phase2ITPixelCluster.h.
typedef std::vector<PixelDigi>::const_iterator Phase2ITPixelCluster::PixelDigiIter |
Definition at line 63 of file Phase2ITPixelCluster.h.
typedef std::pair<PixelDigiIter,PixelDigiIter> Phase2ITPixelCluster::PixelDigiRange |
Definition at line 64 of file Phase2ITPixelCluster.h.
|
inline |
Construct from a range of digis that form a cluster and from a DetID. The range is assumed to be non-empty.
Definition at line 75 of file Phase2ITPixelCluster.h.
Referenced by Phase2ITPixelCluster().
|
inline |
Definition at line 77 of file Phase2ITPixelCluster.h.
References Phase2ITPixelCluster::Pixel::adc, add(), mps_fire::i, min(), packCol(), packRow(), Phase2ITPixelCluster(), thePixelOffset, TrackerOfflineValidation_Dqm_cff::xmin, and Phase2TrackerMonitorDigi_cff::ymin.
Phase2ITPixelCluster::Phase2ITPixelCluster | ( | const PixelPos & | pix, |
uint32_t | adc | ||
) |
Definition at line 19 of file Phase2ITPixelCluster.cc.
References thePixelADC, and thePixelOffset.
void Phase2ITPixelCluster::add | ( | const PixelPos & | pix, |
uint32_t | adc | ||
) |
Definition at line 36 of file Phase2ITPixelCluster.cc.
References Phase2ITPixelCluster::PixelPos::col(), mps_fire::i, maxPixelCol(), maxPixelRow(), MAXSPAN, min(), minPixelCol(), minPixelRow(), overflowCol(), overflowRow(), packCol(), packRow(), Phase2ITPixelCluster::PixelPos::row(), thePixelADC, and thePixelOffset.
Referenced by Phase2ITPixelCluster(), counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
|
inline |
Definition at line 127 of file Phase2ITPixelCluster.h.
References mps_fire::i, and thePixelADC.
|
inline |
Definition at line 173 of file Phase2ITPixelCluster.h.
References span_(), and thePixelCol.
Referenced by maxPixelCol(), and sizeY().
|
inline |
moslty to be compatible for <610
Definition at line 200 of file Phase2ITPixelCluster.h.
References mps_fire::i, minPixelCol(), minPixelRow(), packCol(), packRow(), thePixelADC, thePixelOffset, xsize, and ysize.
Referenced by verifyVersion().
|
inline |
|
inline |
|
inline |
Definition at line 138 of file Phase2ITPixelCluster.h.
References colSpan(), minPixelCol(), and verifyVersion().
Referenced by add().
|
inline |
Definition at line 136 of file Phase2ITPixelCluster.h.
References minPixelRow(), rowSpan(), and verifyVersion().
Referenced by add().
|
inline |
Definition at line 137 of file Phase2ITPixelCluster.h.
References MAXPOS, and thePixelCol.
Referenced by add(), computeMax(), maxPixelCol(), operator<(), pixel(), and y().
|
inline |
Definition at line 135 of file Phase2ITPixelCluster.h.
References MAXPOS, and thePixelRow.
Referenced by add(), computeMax(), maxPixelRow(), operator<(), pixel(), and x().
|
inline |
|
inlinestaticprivate |
Definition at line 166 of file Phase2ITPixelCluster.h.
References span_().
Referenced by overflowCol(), and overflowRow().
|
inline |
Definition at line 178 of file Phase2ITPixelCluster.h.
References overflow_(), and thePixelCol.
Referenced by add(), and overflow().
|
inline |
Definition at line 180 of file Phase2ITPixelCluster.h.
References overflow_(), and thePixelRow.
Referenced by add(), and overflow().
|
inlinestaticprivate |
Definition at line 167 of file Phase2ITPixelCluster.h.
References min().
Referenced by packCol(), and packRow().
|
inline |
Definition at line 184 of file Phase2ITPixelCluster.h.
References pack_(), and thePixelCol.
Referenced by add(), computeMax(), and Phase2ITPixelCluster().
|
inline |
Definition at line 187 of file Phase2ITPixelCluster.h.
References pack_(), and thePixelRow.
Referenced by add(), computeMax(), and Phase2ITPixelCluster().
|
inline |
Definition at line 156 of file Phase2ITPixelCluster.h.
References minPixelCol(), minPixelRow(), Phase2ITPixelCluster::Pixel::Pixel(), thePixelADC, and thePixelOffset.
Referenced by pixels().
|
inline |
Definition at line 142 of file Phase2ITPixelCluster.h.
References thePixelADC.
|
inline |
Definition at line 141 of file Phase2ITPixelCluster.h.
References thePixelOffset.
|
inline |
Definition at line 145 of file Phase2ITPixelCluster.h.
References mps_fire::i, pixel(), and thePixelADC.
|
inline |
Definition at line 175 of file Phase2ITPixelCluster.h.
References span_(), and thePixelRow.
Referenced by maxPixelRow(), and sizeX().
|
inline |
|
inline |
|
inline |
Definition at line 118 of file Phase2ITPixelCluster.h.
References thePixelADC.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
inline |
Definition at line 121 of file Phase2ITPixelCluster.h.
References rowSpan(), and verifyVersion().
|
inline |
Definition at line 124 of file Phase2ITPixelCluster.h.
References colSpan(), and verifyVersion().
|
inlinestaticprivate |
Definition at line 165 of file Phase2ITPixelCluster.h.
References POSBITS.
Referenced by colSpan(), overflow_(), and rowSpan().
|
inline |
mostly to be compatible for <610
Definition at line 194 of file Phase2ITPixelCluster.h.
References computeMax(), thePixelCol, thePixelRow, and UNLIKELY.
Referenced by maxPixelCol(), maxPixelRow(), sizeX(), and sizeY().
|
inline |
Definition at line 101 of file Phase2ITPixelCluster.h.
References charge(), mps_fire::i, minPixelRow(), thePixelADC, and thePixelOffset.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inline |
Definition at line 109 of file Phase2ITPixelCluster.h.
References charge(), mps_fire::i, minPixelCol(), thePixelADC, and thePixelOffset.
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 238 of file Phase2ITPixelCluster.h.
Referenced by getSplitClusterErrorX(), and setSplitClusterErrorX().
|
private |
Definition at line 239 of file Phase2ITPixelCluster.h.
Referenced by getSplitClusterErrorY(), and setSplitClusterErrorY().
|
static |
Definition at line 69 of file Phase2ITPixelCluster.h.
Referenced by minPixelCol(), and minPixelRow().
|
static |
Definition at line 68 of file Phase2ITPixelCluster.h.
Referenced by add().
|
static |
Definition at line 66 of file Phase2ITPixelCluster.h.
Referenced by span_().
|
static |
Definition at line 67 of file Phase2ITPixelCluster.h.
|
private |
Definition at line 227 of file Phase2ITPixelCluster.h.
Referenced by add(), charge(), computeMax(), Phase2ITPixelCluster(), pixel(), pixelADC(), pixels(), size(), x(), and y().
|
private |
Definition at line 231 of file Phase2ITPixelCluster.h.
Referenced by colSpan(), minPixelCol(), overflowCol(), packCol(), and verifyVersion().
|
private |
Definition at line 226 of file Phase2ITPixelCluster.h.
Referenced by add(), computeMax(), Phase2ITPixelCluster(), pixel(), pixelOffset(), x(), and y().
|
private |
Definition at line 230 of file Phase2ITPixelCluster.h.
Referenced by minPixelRow(), overflowRow(), packRow(), rowSpan(), and verifyVersion().