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);
TECWedge * build(const GeometricDet *aTECWedge, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
ConstGeometricDetContainer & components()
Abs< T >::type abs(const T &t)
const TrackerGeomDet * idToDet(DetId) const override