Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:28:49

0001 #include "TIBRingBuilder.h"
0002 
0003 using namespace edm;
0004 using namespace std;
0005 
0006 TIBRing* TIBRingBuilder::build(const vector<const GeometricDet*>& detsInRing,
0007                                const TrackerGeometry* theGeomDetGeometry) {
0008   vector<const GeomDet*> theGeomDets;
0009   for (vector<const GeometricDet*>::const_iterator it = detsInRing.begin(); it != detsInRing.end(); it++) {
0010     const GeomDet* theGeomDet = theGeomDetGeometry->idToDet((*it)->geographicalId());
0011     theGeomDets.push_back(theGeomDet);
0012   }
0013 
0014   return new TIBRing(theGeomDets);
0015 }