8 vector<const GeomDet*> theGeomDets;
9 for (vector<const GeometricDet*>::const_iterator it = detsInRing.begin(); it != detsInRing.end(); it++) {
10 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet((*it)->geographicalId());
11 theGeomDets.push_back(theGeomDet);
14 return new TIBRing(theGeomDets);