![]() |
![]() |
00001 #include "RecoTracker/TkDetLayers/interface/TIBRingBuilder.h" 00002 00003 using namespace edm; 00004 using namespace std; 00005 00006 TIBRing* TIBRingBuilder::build(const vector<const GeometricDet*>& detsInRing, 00007 const TrackerGeometry* theGeomDetGeometry){ 00008 vector<const GeomDet*> theGeomDets; 00009 for(vector<const GeometricDet*>::const_iterator it=detsInRing.begin(); 00010 it!=detsInRing.end();it++){ 00011 00012 const GeomDet* theGeomDet = theGeomDetGeometry->idToDet( (*it)->geographicalID() ); 00013 theGeomDets.push_back(theGeomDet); 00014 } 00015 00016 return new TIBRing(theGeomDets); 00017 }