1 #ifndef TkDetLayers_PixelBladeBuilder_h
2 #define TkDetLayers_PixelBladeBuilder_h
19 #pragma GCC visibility push(hidden)
37 std::vector<const GeometricDet*> frontGeometricDets = geometricDetFrontPanel->
components();
38 std::vector<const GeometricDet*> backGeometricDets = geometricDetBackPanel->
components();
40 std::vector<const GeomDet*> theFrontGeomDets;
41 std::vector<const GeomDet*> theBackGeomDets;
43 for(std::vector<const GeometricDet*>::iterator it=frontGeometricDets.begin();
44 it!=frontGeometricDets.end();it++){
45 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet( (*it)->geographicalID() );
46 theFrontGeomDets.push_back(theGeomDet);
49 for(std::vector<const GeometricDet*>::iterator it=backGeometricDets.begin();
50 it!=backGeometricDets.end();it++){
51 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet( (*it)->geographicalID() );
52 theBackGeomDets.push_back(theGeomDet);
58 return new T(theFrontGeomDets,theBackGeomDets);
63 #pragma GCC visibility pop
ConstGeometricDetContainer & components()
float __attribute__((vector_size(8))) float32x2_t
T * build(const GeometricDet *geometricDetFrontPanel, const GeometricDet *geometricDetBackPanel, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
const TrackerGeomDet * idToDet(DetId) const