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.

References TIDRingBuilder::build(), GeometricDet::components(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.

Referenced by GeometricSearchTrackerBuilder::build().

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 }
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:154
TIDRing * build(const GeometricDet *aTIDRing, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))