10 vector<const GeometricDet*> allGeometricDets = aRod->
components();
12 vector<const GeomDet*> theGeomDets;
13 for(vector<const GeometricDet*>::iterator it=allGeometricDets.begin();
14 it!=allGeometricDets.end();it++){
15 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet( (*it)->geographicalID() );
16 theGeomDets.push_back(theGeomDet);
19 return new PixelRod(theGeomDets);
virtual const GeomDet * idToDet(DetId) const
GeometricDetContainer & components()
PixelRod * build(const GeometricDet *aRod, const TrackerGeometry *theGeomDetGeometry)