7 vector<const GeometricDet*> allGeometricDets = aRod->
components();
9 vector<const GeomDet*> theGeomDets;
10 vector<const GeometricDet*> compGeometricDets;
11 for (
auto&
it : allGeometricDets) {
12 compGeometricDets =
it->components();
14 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet(compGeometricDets[0]->geographicalId());
15 theGeomDets.push_back(theGeomDet);
16 const GeomDet* theGeomDetBrother = theGeomDetGeometry->
idToDet(compGeometricDets[1]->geographicalId());
17 theGeomDets.push_back(theGeomDetBrother);
19 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet(
it->geographicalId());
20 theGeomDets.push_back(theGeomDet);
ConstGeometricDetContainer & components()
PixelRod * build(const GeometricDet *aRod, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
const TrackerGeomDet * idToDet(DetId) const override