CMS 3D CMS Logo

TIBRingBuilder.cc

Go to the documentation of this file.
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 }

Generated on Tue Jun 9 17:45:48 2009 for CMSSW by  doxygen 1.5.4