CMS 3D CMS Logo

Public Member Functions

TIDLayerBuilder Class Reference

#include <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.

{};

Member Function Documentation

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);
}