CMS 3D CMS Logo

List of all members | Public Member Functions
TIDLayerBuilder Class Reference

#include <TIDLayerBuilder.h>

Public Member Functions

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

Detailed Description

A concrete builder for TIDLayer

Definition at line 14 of file TIDLayerBuilder.h.

Constructor & Destructor Documentation

◆ TIDLayerBuilder()

TIDLayerBuilder::TIDLayerBuilder ( )
inline

Definition at line 16 of file TIDLayerBuilder.h.

16 {};

Member Function Documentation

◆ build()

TIDLayer * TIDLayerBuilder::build ( const GeometricDet aTIDLayer,
const TrackerGeometry theGeomDetGeometry 
)

Definition at line 7 of file TIDLayerBuilder.cc.

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

References TIDRingBuilder::build(), and GeometricDet::components().

Referenced by GeometricSearchTrackerBuilder::build().

GeometricDet::components
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:139
TIDLayer
Definition: TIDLayer.h:14
TIDRingBuilder::build
TIDRing * build(const GeometricDet *aTIDRing, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
Definition: TIDRingBuilder.cc:6
TIDRingBuilder
Definition: TIDRingBuilder.h:14