13 vector<const GeometricDet*> theGeometricDetRods = aPixelBarrelLayer->
components();
19 vector<const PixelRod*> theInnerRods;
20 vector<const PixelRod*> theOuterRods;
25 for (
unsigned int index=0;
index!=theGeometricDetRods.size();
index++) meanR+=theGeometricDetRods[
index]->positionBounds().perp();
26 if (!theGeometricDetRods.empty())
27 meanR/=(
double) theGeometricDetRods.size();
30 if(theGeometricDetRods[
index]->positionBounds().perp() < meanR)
31 theInnerRods.push_back(myPixelRodBuilder.
build(theGeometricDetRods[
index],
32 theGeomDetGeometry) );
34 if(theGeometricDetRods[index]->positionBounds().perp() > meanR)
35 theOuterRods.push_back(myPixelRodBuilder.
build(theGeometricDetRods[index],
36 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