Definition at line 79 of file ClusterShape.cc.
84 data.isStraight =
true;
85 data.isComplete =
true;
100 size_t npixels = cluster.
pixelADC().size();
102 for (
size_t i = 0;
i < npixels; ++
i) {
107 return (
a.x <
b.x) | ((
a.x ==
b.x) & (
a.y <
b.y));
118 data.isComplete =
false;
122 if (
pos.first >
x[1]) {
124 data.isStraight =
false;
129 data.isStraight =
false;
139 data.isStraight =
false;
144 for (
int ix = minPixelRow + 1; ix < maxPixelRow; ix++)
149 for (
int iy = minPixelCol + 1; iy < maxPixelCol; iy++)
161 data.hasBigPixelsOnlyInside = (
px <= 0 &&
py <= 0);
164 if (!
data.hasBigPixelsOnlyInside &&
odir == 0) {
166 data.isComplete =
false;
171 const int pre_dx =
x[1] -
x[0];
172 const int pre_dy =
y[1] -
y[0];
173 for (
unsigned int ax = 0; ax <=
px; ax++)
174 for (
unsigned int ay = 0; ay <=
py; ay++) {
175 int dx = pre_dx + ax;
176 int dy = pre_dy + ay;
180 pair<int, int>
s(
dx,
dy);
181 data.size.push_back_unchecked(
s);
References a, cms::cuda::assert(), b, std::data(), PVValHelper::dx, PVValHelper::dy, mps_fire::i, createfilelist::int, PixelTopology::isItBigPixelInX(), PixelTopology::isItBigPixelInY(), PixelTopology::isItEdgePixelInX(), PixelTopology::isItEdgePixelInY(), LaserClient_cfi::low, SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), heppy_hadd::odir, muonClassificationByHits_cfi::pixel, SiPixelCluster::pixel(), SiPixelCluster::pixelADC(), multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, alignCSCRings::s, PixelGeomDetUnit::specificTopology(), x, and y.