14 vector<const GeometricDet*> frontGeometricDets = geometricDetFrontPanel->
components();
15 vector<const GeometricDet*> backGeometricDets = geometricDetBackPanel->
components();
17 vector<const GeomDet*> theFrontGeomDets;
18 vector<const GeomDet*> theBackGeomDets;
20 for(vector<const GeometricDet*>::iterator it=frontGeometricDets.begin();
21 it!=frontGeometricDets.end();it++){
22 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet( (*it)->geographicalID() );
23 theFrontGeomDets.push_back(theGeomDet);
26 for(vector<const GeometricDet*>::iterator it=backGeometricDets.begin();
27 it!=backGeometricDets.end();it++){
28 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet( (*it)->geographicalID() );
29 theBackGeomDets.push_back(theGeomDet);
35 return new PixelBlade(theFrontGeomDets,theBackGeomDets);
virtual const GeomDet * idToDet(DetId) const
PixelBlade * build(const GeometricDet *geometricDetFrontPanel, const GeometricDet *geometricDetBackPanel, const TrackerGeometry *theGeomDetGeometry)
GeometricDetContainer & components()