CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
TIDLayerBuilder Class Reference

#include <TIDLayerBuilder.h>

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.

16 {};

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().

9 {
10  vector<const GeometricDet*> theGeometricRings = aTIDLayer->components();
11  //edm::LogInfo(TkDetLayers) << "theGeometricRings.size(): " << theGeometricRings.size() ;
12 
13  TIDRingBuilder myBuilder;
14  vector<const TIDRing*> theTIDRings;
15 
16  for(vector<const GeometricDet*>::const_iterator it=theGeometricRings.begin();
17  it!=theGeometricRings.end();it++){
18  theTIDRings.push_back(myBuilder.build( *it,theGeomDetGeometry));
19  }
20 
21  return new TIDLayer(theTIDRings);
22 }
TIDRing * build(const GeometricDet *aTIDRing, const TrackerGeometry *theGeomDetGeometry)
GeometricDetContainer & components()
Definition: GeometricDet.h:163