CMS 3D CMS Logo

TIDLayerBuilder Class Reference

A concrete builder for TIDLayer. More...

#include <RecoTracker/TkDetLayers/interface/TIDLayerBuilder.h>

List of all members.

Public Member Functions

TIDLayerbuild (const GeometricDet *aTIDLayer, const TrackerGeometry *theGeomDetGeometry)
 TIDLayerBuilder ()


Detailed Description

A concrete builder for TIDLayer.

Definition at line 14 of file TIDLayerBuilder.h.


Constructor & Destructor Documentation

TIDLayerBuilder::TIDLayerBuilder (  )  [inline]

Definition at line 16 of file TIDLayerBuilder.h.

00016 {};


Member Function Documentation

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 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:33:28 2009 for CMSSW by  doxygen 1.5.4