8 vector<const GeometricDet*> theGeometricDetPetals = aTECLayer->
components();
9 vector<const TECPetal*> theInnerPetals;
10 vector<const TECPetal*> theOuterPetals;
15 (theGeometricDetPetals.front()->positionBounds().z() + theGeometricDetPetals.back()->positionBounds().z()) / 2;
19 for (vector<const GeometricDet*>::const_iterator
it = theGeometricDetPetals.begin();
20 it != theGeometricDetPetals.end();
23 theInnerPetals.push_back(myPetalBuilder.
build(*
it, theGeomDetGeometry));
26 theOuterPetals.push_back(myPetalBuilder.
build(*
it, theGeomDetGeometry));
29 return new TECLayer(theInnerPetals, theOuterPetals);
TECLayer * build(const GeometricDet *aTECLayer, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
ConstGeometricDetContainer & components()
Abs< T >::type abs(const T &t)
TECPetal * build(const GeometricDet *aTECPetal, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))