9 vector<const GeometricDet*> theGeometricDets = aTECWedge->
components();
12 if (theGeometricDets.size() == 1) {
13 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet(theGeometricDets.front()->geographicalId());
17 vector<const GeomDet*> innerGeomDets;
18 vector<const GeomDet*> outerGeomDets;
22 for (vector<const GeometricDet*>::const_iterator it = theGeometricDets.begin(); it != theGeometricDets.end(); it++) {
23 meanZ = meanZ + (*it)->positionBounds().z();
26 meanZ = meanZ / theGeometricDets.size();
30 for (vector<const GeometricDet*>::const_iterator it = theGeometricDets.begin(); it != theGeometricDets.end(); it++) {
32 const GeomDet* theGeomDet = theGeomDetGeometry->
idToDet((*it)->geographicalId());
36 innerGeomDets.push_back(theGeomDet);
39 outerGeomDets.push_back(theGeomDet);