CMS 3D CMS Logo

TIDLayerBuilder.cc
Go to the documentation of this file.
1 #include "TIDLayerBuilder.h"
2 #include "TIDRingBuilder.h"
3 
4 using namespace edm;
5 using namespace std;
6 
7 TIDLayer* TIDLayerBuilder::build(const GeometricDet* aTIDLayer, const TrackerGeometry* theGeomDetGeometry) {
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 }
edm
HLT enums.
Definition: AlignableModifier.h:19
GeometricDet::components
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:150
TIDLayer
Definition: TIDLayer.h:14
GeometricDet
Definition: GeometricDet.h:31
TIDLayerBuilder.h
TIDRingBuilder.h
TIDRingBuilder::build
TIDRing * build(const GeometricDet *aTIDRing, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
Definition: TIDRingBuilder.cc:6
std
Definition: JetResolutionObject.h:76
TIDLayerBuilder::build
TIDLayer * build(const GeometricDet *aTIDLayer, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
Definition: TIDLayerBuilder.cc:7
TIDRingBuilder
Definition: TIDRingBuilder.h:14
TrackerGeometry
Definition: TrackerGeometry.h:14