10 vector<const GeometricDet*> theGeometricDetPetals = aTECLayer->
components();
11 vector<const TECPetal*> theInnerPetals;
12 vector<const TECPetal*> theOuterPetals;
16 double meanZ = ( theGeometricDetPetals.front()->positionBounds().z() +
17 theGeometricDetPetals.back()->positionBounds().z() )/2;
22 for(vector<const GeometricDet*>::const_iterator it=theGeometricDetPetals.begin();
23 it!=theGeometricDetPetals.end();it++){
26 theInnerPetals.push_back(myPetalBuilder.
build(*it,theGeomDetGeometry));
29 theOuterPetals.push_back(myPetalBuilder.
build(*it,theGeomDetGeometry));
32 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))