#include <RecoTracker/TkDetLayers/interface/TIDLayerBuilder.h>
Public Member Functions | |
TIDLayer * | build (const GeometricDet *aTIDLayer, const TrackerGeometry *theGeomDetGeometry) |
TIDLayerBuilder () |
Definition at line 14 of file TIDLayerBuilder.h.
TIDLayerBuilder::TIDLayerBuilder | ( | ) | [inline] |
TIDLayer * TIDLayerBuilder::build | ( | const GeometricDet * | aTIDLayer, | |
const TrackerGeometry * | theGeomDetGeometry | |||
) |
Definition at line 7 of file TIDLayerBuilder.cc.
References TIDRingBuilder::build(), GeometricDet::components(), and it.
Referenced by GeometricSearchTrackerBuilder::build().
00009 { 00010 vector<const GeometricDet*> theGeometricRings = aTIDLayer->components(); 00011 //edm::LogInfo(TkDetLayers) << "theGeometricRings.size(): " << theGeometricRings.size() ; 00012 00013 TIDRingBuilder myBuilder; 00014 vector<const TIDRing*> theTIDRings; 00015 00016 for(vector<const GeometricDet*>::const_iterator it=theGeometricRings.begin(); 00017 it!=theGeometricRings.end();it++){ 00018 theTIDRings.push_back(myBuilder.build( *it,theGeomDetGeometry)); 00019 } 00020 00021 return new TIDLayer(theTIDRings); 00022 }