24 for (vector<const GeometricSearchDet*>::const_iterator it =
theComps.begin(); it !=
theComps.end(); it++) {
36 LogDebug(
"TkDetLayers") <<
"DEBUG INFO for PixelForwardLayer"
39 <<
"PixelForwardLayer.surfcace.z(): " << this->
surface().
position().
z() <<
"\n"
40 <<
"PixelForwardLayer.surfcace.innerR(): " << this->
specificSurface().innerRadius() <<
"\n"
41 <<
"PixelForwardLayer.surfcace.outerR(): " << this->
specificSurface().outerRadius();
43 for (vector<const GeometricSearchDet*>::const_iterator it =
theComps.begin(); it !=
theComps.end(); it++) {
44 LogDebug(
"TkDetLayers") <<
"blades phi,z,r: " << (*it)->surface().position().phi() <<
" , "
45 << (*it)->surface().position().z() <<
" , " << (*it)->surface().position().perp();
51 vector<const GeometricSearchDet*>::const_iterator
i;
60 std::vector<DetGroup>&
result)
const {
61 std::vector<DetGroup> closestResult;
73 if (closestResult.empty()) {
83 vector<DetGroup> nextResult;
91 result.swap(closestResult);
113 vector<DetGroup>&
result)
const {
123 for (
int idet = negStart; idet >= negStart - quarter + 1; idet--) {
124 std::vector<DetGroup> tmp1;
128 if (!
Adder::add(*neighbor, tsos, prop, est, tmp1))
131 std::vector<DetGroup> tmp2;
133 std::vector<DetGroup> newResult;
134 Merger::orderAndMergeTwoLevels(
std::move(tmp1),
std::move(tmp2), newResult, theHelicity, crossingSide);
137 for (
int idet = posStart; idet < posStart + quarter - 1; idet++) {
138 vector<DetGroup> tmp1;
142 if (!
Adder::add(*neighbor, tsos, prop, est, tmp1))
145 std::vector<DetGroup> tmp2;
147 std::vector<DetGroup> newResult;
148 Merger::orderAndMergeTwoLevels(
std::move(tmp2),
std::move(tmp1), newResult, theHelicity, crossingSide);
170 if (!thePath.first) {
184 pair<bool, double> theClosestBladePath = theBladeCrossing.
pathLength(closestPlane);
187 auto closestDist = closestPos.
x();
191 int nextIndex =
Geom::phiLess(closestPlane.
phi(), turbinePoint.barePhi()) ? closestIndex + 1 : closestIndex - 1;
195 pair<bool, double> theNextBladePath = theBladeCrossing.
pathLength(nextPlane);
198 auto nextDist = nextPos.
x();