1 #ifndef TkDetLayers_PixelBladeBuilder_h
2 #define TkDetLayers_PixelBladeBuilder_h
17 #pragma GCC visibility push(hidden)
34 std::vector<const GeometricDet*> frontGeometricDets = geometricDetFrontPanel->
components();
35 std::vector<const GeometricDet*> backGeometricDets = geometricDetBackPanel->
components();
37 std::vector<const GeomDet*> theFrontGeomDets;
38 std::vector<const GeomDet*> theBackGeomDets;
40 for (std::vector<const GeometricDet*>::iterator it = frontGeometricDets.begin(); it != frontGeometricDets.end();
42 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet((*it)->geographicalId());
43 theFrontGeomDets.push_back(theGeomDet);
46 for (std::vector<const GeometricDet*>::iterator it = backGeometricDets.begin(); it != backGeometricDets.end(); it++) {
47 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet((*it)->geographicalId());
48 theBackGeomDets.push_back(theGeomDet);
54 return new T(theFrontGeomDets, theBackGeomDets);
57 #pragma GCC visibility pop