11 vector<const GeometricDet*> theGeometricWedges = aTECPetal->
components();
14 vector<const TECWedge*> theInnerWedges;
15 vector<const TECWedge*> theOuterWedges;
17 double meanZ = ( theGeometricWedges[0]->positionBounds().z() +
18 theGeometricWedges[1]->positionBounds().z() )/2;
23 for(vector<const GeometricDet*>::const_iterator it=theGeometricWedges.begin();
24 it!=theGeometricWedges.end();it++){
26 theInnerWedges.push_back(myWedgeBuilder.
build(*it,theGeomDetGeometry));
29 theOuterWedges.push_back(myWedgeBuilder.
build(*it,theGeomDetGeometry));
35 return new CompositeTECPetal(theInnerWedges,theOuterWedges);
TECWedge * build(const GeometricDet *aTECWedge, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
ConstGeometricDetContainer & components()
Abs< T >::type abs(const T &t)
CompositeTECPetal TECPetal
TECPetal * build(const GeometricDet *aTECPetal, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))