CMS 3D CMS Logo

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

#include <Phase2OTECRingedLayerBuilder.h>

Public Member Functions

Phase2OTECRingedLayerbuild (const GeometricDet *aPhase2OTECRingedLayer, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
 
 Phase2OTECRingedLayerBuilder ()
 

Detailed Description

A concrete builder for Phase2OTECRingedLayer

Definition at line 15 of file Phase2OTECRingedLayerBuilder.h.

Constructor & Destructor Documentation

Phase2OTECRingedLayerBuilder::Phase2OTECRingedLayerBuilder ( )
inline

Definition at line 17 of file Phase2OTECRingedLayerBuilder.h.

17 {};

Member Function Documentation

Phase2OTECRingedLayer * Phase2OTECRingedLayerBuilder::build ( const GeometricDet aPhase2OTECRingedLayer,
const TrackerGeometry theGeomDetGeometry 
)

Definition at line 7 of file Phase2OTECRingedLayerBuilder.cc.

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

Referenced by GeometricSearchTrackerBuilder::build().

9 {
10  vector<const GeometricDet*> theGeometricRings = aPhase2OTECRingedLayer->components();
11  //edm::LogInfo(TkDetLayers) << "theGeometricRings.size(): " << theGeometricRings.size() ;
12 
13  Phase2OTECRingBuilder myBuilder;
14  vector<const Phase2OTECRing*> thePhase2OTECRings;
15 
16  for(vector<const GeometricDet*>::const_iterator it=theGeometricRings.begin();
17  it!=theGeometricRings.end();it++){
18  thePhase2OTECRings.push_back(myBuilder.build( *it,theGeomDetGeometry));
19  }
20 
21  return new Phase2OTECRingedLayer(thePhase2OTECRings);
22 }
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:174
Phase2OTECRing * build(const GeometricDet *aPhase2OTECRing, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))