#include <TIDLayerBuilder.h>
Public Member Functions | |
TIDLayer * | build (const GeometricDet *aTIDLayer, const TrackerGeometry *theGeomDetGeometry) |
TIDLayerBuilder () |
A concrete builder for TIDLayer
Definition at line 14 of file TIDLayerBuilder.h.
TIDLayerBuilder::TIDLayerBuilder | ( | ) | [inline] |
Definition at line 16 of file TIDLayerBuilder.h.
{};
TIDLayer * TIDLayerBuilder::build | ( | const GeometricDet * | aTIDLayer, |
const TrackerGeometry * | theGeomDetGeometry | ||
) |
Definition at line 7 of file TIDLayerBuilder.cc.
References TIDRingBuilder::build(), and GeometricDet::components().
Referenced by GeometricSearchTrackerBuilder::build().
{ vector<const GeometricDet*> theGeometricRings = aTIDLayer->components(); //edm::LogInfo(TkDetLayers) << "theGeometricRings.size(): " << theGeometricRings.size() ; TIDRingBuilder myBuilder; vector<const TIDRing*> theTIDRings; for(vector<const GeometricDet*>::const_iterator it=theGeometricRings.begin(); it!=theGeometricRings.end();it++){ theTIDRings.push_back(myBuilder.build( *it,theGeomDetGeometry)); } return new TIDLayer(theTIDRings); }