10 unsigned int maxNumberClusters)
11 : maxClusterSize_(maxClusterSize), maxNumberClusters_(maxNumberClusters), nrows_(0), ncols_(0) {}
34 unsigned int numberClusters(0);
36 unsigned int sizeCluster(0);
37 bool closeCluster(
false);
44 for (
unsigned int row(0); row <
nrows_; ++row) {
48 if (sizeCluster == 0) {
61 closeCluster = ((sizeCluster != 0) ?
true :
false);
67 if (sizeCluster != 0 and row == (nrows_ - 1))
98 matrix_.
set(di->row(), di->column(),
true, di->overThreshold());
108 matrix_.
set(di->row(), di->column(),
false,
false);
void push_back(data_type const &d)
Phase2TrackerClusterizerArray matrix_
void set(unsigned int, unsigned int, bool, bool)
void setup(const PixelGeomDetUnit *)
void clusterizeDetUnit(const edm::DetSet< Phase2TrackerDigi > &, Phase2TrackerCluster1DCollectionNew::FastFiller &)
void fillMatrix(edm::DetSet< Phase2TrackerDigi >::const_iterator, edm::DetSet< Phase2TrackerDigi >::const_iterator)
unsigned int maxNumberClusters_
void clearMatrix(edm::DetSet< Phase2TrackerDigi >::const_iterator, edm::DetSet< Phase2TrackerDigi >::const_iterator)
Phase2TrackerClusterizerAlgorithm(unsigned int, unsigned int)
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
collection_type::const_iterator const_iterator
unsigned int maxClusterSize_