Pixel cluster – collection of neighboring pixels above threshold. More...
#include <SiPixelCluster.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, int adc) |
float | charge () const |
unsigned int | geographicalId () const |
float | getSplitClusterErrorX () const |
float | getSplitClusterErrorY () const |
int | maxPixelCol () const |
int | maxPixelRow () const |
int | minPixelCol () const |
int | minPixelRow () const |
const std::vector< uint16_t > & | pixelADC () const |
const std::vector< uint8_t > & | pixelOffset () const |
const std::vector< Pixel > | pixels () const |
void | setSplitClusterErrorX (float errx) |
void | setSplitClusterErrorY (float erry) |
SiPixelCluster () | |
SiPixelCluster (const PixelPos &pix, int adc) | |
int | size () const |
int | sizeX () const |
int | sizeY () const |
float | x () const |
float | y () const |
Private Attributes | |
unsigned int | detId_ |
float | err_x |
float | err_y |
uint16_t | theMinPixelCol |
uint8_t | theMinPixelRow |
std::vector< uint16_t > | thePixelADC |
std::vector< uint8_t > | thePixelOffset |
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 SiPixel (which is an inner class) and a container of channels.
March 2007: Edge methods moved to RectangularPixelTopology class (V.Chiochia) Feb 2008: Modify the Pixel class from float to shorts May 2008: Offset based packing (D.Fehling / A. Rizzi)
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 SiPixelCluster.h.
typedef std::vector<PixelDigi>::const_iterator SiPixelCluster::PixelDigiIter |
Definition at line 63 of file SiPixelCluster.h.
typedef std::pair<PixelDigiIter,PixelDigiIter> SiPixelCluster::PixelDigiRange |
Definition at line 64 of file SiPixelCluster.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 71 of file SiPixelCluster.h.
SiPixelCluster::SiPixelCluster | ( | const PixelPos & | pix, |
int | adc | ||
) |
Definition at line 18 of file SiPixelCluster.cc.
References SiPixelCluster::PixelPos::col(), SiPixelCluster::PixelPos::row(), theMinPixelCol, theMinPixelRow, thePixelADC, and thePixelOffset.
void SiPixelCluster::add | ( | const PixelPos & | pix, |
int | adc | ||
) |
Definition at line 42 of file SiPixelCluster.cc.
References SiPixelCluster::PixelPos::col(), i, SiPixelCluster::PixelPos::row(), theMinPixelCol, theMinPixelRow, thePixelADC, and thePixelOffset.
Referenced by PixelThresholdClusterizer::make_cluster(), and TrackClusterSplitter::splitCluster().
|
inline |
Definition at line 108 of file SiPixelCluster.h.
References i, and thePixelADC.
Referenced by SiPixelMuonHLT::analyze(), PixelThresholdClusterizer::clusterizeDetUnit(), SiPixelTrackResidualModule::fill(), PixelCPEGeneric::localPosition(), PixelThresholdClusterizer::make_cluster(), TrackClusterSplitter::splitCluster(), x(), and y().
|
inline |
The geographical ID of the corresponding DetUnit, to be used for transformations to local and to global reference frames etc.
Definition at line 158 of file SiPixelCluster.h.
References detId_.
Referenced by operator<().
|
inline |
Definition at line 168 of file SiPixelCluster.h.
References err_x.
Referenced by PixelCPETemplateReco::localError().
|
inline |
Definition at line 169 of file SiPixelCluster.h.
References err_y.
Referenced by PixelCPETemplateReco::localError().
|
inline |
Definition at line 129 of file SiPixelCluster.h.
References i, theMinPixelCol, thePixelADC, and thePixelOffset.
Referenced by PixelCPEGeneric::collect_edge_charges(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEGeneric::localPosition(), PixelCPEBase::setTheDet(), and sizeY().
|
inline |
Definition at line 119 of file SiPixelCluster.h.
References i, theMinPixelRow, thePixelADC, and thePixelOffset.
Referenced by PixelCPEGeneric::collect_edge_charges(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEGeneric::localPosition(), PixelCPEBase::setTheDet(), and sizeX().
|
inline |
Definition at line 117 of file SiPixelCluster.h.
References theMinPixelCol.
Referenced by PixelCPEGeneric::collect_edge_charges(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), FastPixelCPE::localParameters(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), operator<(), fireworks::pushPixelCluster(), PixelCPEBase::setTheDet(), and TrackClusterSplitter::splitCluster().
|
inline |
Definition at line 116 of file SiPixelCluster.h.
References theMinPixelRow.
Referenced by PixelCPEGeneric::collect_edge_charges(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), FastPixelCPE::localParameters(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), operator<(), fireworks::pushPixelCluster(), PixelCPEBase::setTheDet(), and TrackClusterSplitter::splitCluster().
|
inline |
Definition at line 140 of file SiPixelCluster.h.
References thePixelADC.
Referenced by PixelCPEBase::setTheDet().
|
inline |
|
inline |
Definition at line 142 of file SiPixelCluster.h.
References i, align::Pixel, theMinPixelCol, theMinPixelRow, thePixelADC, thePixelOffset, x(), and y().
Referenced by PixelCPEGeneric::collect_edge_charges(), SiPixelLorentzAngle::fillPix(), PixelCPETemplateReco::localPosition(), PixelThresholdClusterizer::make_cluster(), and TrackClusterSplitter::splitCluster().
|
inline |
Definition at line 166 of file SiPixelCluster.h.
References err_x.
Referenced by TrackClusterSplitter::splitCluster().
|
inline |
Definition at line 167 of file SiPixelCluster.h.
References err_y.
Referenced by TrackClusterSplitter::splitCluster().
|
inline |
Definition at line 95 of file SiPixelCluster.h.
References thePixelADC.
Referenced by SiStripMonitorCluster::analyze(), SiPixelTrackResidualModule::fill(), and TrackClusterSplitter::splitCluster().
|
inline |
Definition at line 98 of file SiPixelCluster.h.
References maxPixelRow(), and theMinPixelRow.
Referenced by SiPixelTrackResidualModule::fill(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEGeneric::localPosition(), and FastPrimaryVertexProducer::produce().
|
inline |
Definition at line 101 of file SiPixelCluster.h.
References maxPixelCol(), and theMinPixelCol.
Referenced by SiPixelTrackResidualModule::fill(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEGeneric::localPosition(), and FastPrimaryVertexProducer::produce().
|
inline |
Definition at line 79 of file SiPixelCluster.h.
References charge(), i, theMinPixelRow, thePixelADC, and thePixelOffset.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), SiPixelMuonHLT::analyze(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), PixelCPEBase::computeAnglesFromDetPosition(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), pixels(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), and TrackClusterSplitter::splitCluster().
|
inline |
Definition at line 86 of file SiPixelCluster.h.
References charge(), i, theMinPixelCol, thePixelADC, and thePixelOffset.
Referenced by svgfig.Ellipse::__repr__(), SiPixelMuonHLT::analyze(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), PixelCPEBase::computeAnglesFromDetPosition(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), pixels(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), and TrackClusterSplitter::splitCluster().
|
private |
Definition at line 173 of file SiPixelCluster.h.
Referenced by geographicalId().
|
private |
Definition at line 197 of file SiPixelCluster.h.
Referenced by getSplitClusterErrorX(), and setSplitClusterErrorX().
|
private |
Definition at line 198 of file SiPixelCluster.h.
Referenced by getSplitClusterErrorY(), and setSplitClusterErrorY().
|
private |
Definition at line 185 of file SiPixelCluster.h.
Referenced by add(), maxPixelCol(), minPixelCol(), pixels(), SiPixelCluster(), sizeY(), and y().
|
private |
Definition at line 184 of file SiPixelCluster.h.
Referenced by add(), maxPixelRow(), minPixelRow(), pixels(), SiPixelCluster(), sizeX(), and x().
|
private |
Definition at line 176 of file SiPixelCluster.h.
Referenced by add(), charge(), maxPixelCol(), maxPixelRow(), pixelADC(), pixels(), SiPixelCluster(), size(), x(), and y().
|
private |
Definition at line 175 of file SiPixelCluster.h.
Referenced by add(), maxPixelCol(), maxPixelRow(), pixelOffset(), pixels(), SiPixelCluster(), x(), and y().