Definition at line 99 of file ClusterShape.cc.
References create_public_lumi_plots::ax, edm::VecArray< T, N >::capacity(), ClusterData::hasBigPixelsOnlyInside, mps_fire::i, createfilelist::int, ClusterData::isComplete, PixelTopology::isItBigPixelInX(), PixelTopology::isItBigPixelInY(), PixelTopology::isItEdgePixelInX(), PixelTopology::isItEdgePixelInY(), ClusterData::isStraight, SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), heppy_hadd::odir, digi_MixPreMix_cfi::pixel, SiPixelCluster::pixel(), SiPixelCluster::pixelADC(), edm::VecArray< T, N >::push_back_unchecked(), alignCSCRings::s, ClusterData::size, PixelGeomDetUnit::specificTopology(), and x().
109 x[0] = -1;
x[1] = -1;
110 y[0] = -1;
y[1] = -1;
117 size_t npixels = cluster.
pixelADC().size();
119 for(
size_t i=0;
i<npixels; ++
i) {
129 pos.second = (
int)
pixel.y;
144 if(pos.second >
hig+1)
159 for(
int ix = minPixelRow + 1;
160 ix < maxPixelRow; ix++)
165 for(
int iy = minPixelCol + 1;
166 iy < maxPixelCol; iy++)
189 const int pre_dx =
x[1] -
x[0];
190 const int pre_dy =
y[1] -
y[0];
191 for(
unsigned int ax = 0;
ax <= px;
ax++)
192 for(
unsigned int ay = 0; ay <= py; ay++)
194 int dx = pre_dx +
ax;
195 int dy = pre_dy + ay;
198 pair<int,int>
s(dx,dy);
virtual bool isItEdgePixelInX(int ixbin) const =0
std::vector< SiPixelCluster::Pixel > pixels_
virtual bool isItEdgePixelInY(int iybin) const =0
virtual bool isItBigPixelInX(const int ixbin) const =0
bool processColumn(std::pair< int, int > pos, bool inTheLoop)
virtual bool isItBigPixelInY(const int iybin) const =0
const std::vector< uint16_t > & pixelADC() const
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
bool hasBigPixelsOnlyInside
void push_back_unchecked(const T &value)
static constexpr size_type capacity() noexcept