12 vector<const GeometricDet*> theGeometricDetRods = aPixelBarrelLayer->
components();
17 vector<const PixelRod*> theInnerRods;
18 vector<const PixelRod*> theOuterRods;
23 for (
unsigned int index = 0;
index != theGeometricDetRods.size();
index++)
24 meanR += theGeometricDetRods[
index]->positionBounds().perp();
25 if (!theGeometricDetRods.empty())
26 meanR /= (
double)theGeometricDetRods.size();
28 for (
unsigned int index = 0;
index != theGeometricDetRods.size();
index++) {
29 if (theGeometricDetRods[
index]->positionBounds().perp() < meanR)
30 theInnerRods.push_back(myPixelRodBuilder.
build(theGeometricDetRods[
index], theGeomDetGeometry));
32 if (theGeometricDetRods[
index]->positionBounds().perp() > meanR)
33 theOuterRods.push_back(myPixelRodBuilder.
build(theGeometricDetRods[
index], theGeomDetGeometry));
PixelBarrelLayer * build(const GeometricDet *aPixelBarrelLayer, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
ConstGeometricDetContainer & components()
PixelRod * build(const GeometricDet *aRod, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
TBPLayer PixelBarrelLayer