CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase2OTECRingedLayerBuilder.cc
Go to the documentation of this file.
3 
4 using namespace edm;
5 using namespace std;
6 
8  const TrackerGeometry* theGeomDetGeometry)
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 }
Phase2OTECRingedLayer * build(const GeometricDet *aPhase2OTECRingedLayer, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:174
Phase2OTECRing * build(const GeometricDet *aPhase2OTECRing, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))