test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase2OTEndcapLayerBuilder.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 = aPhase2OTEndcapLayer->components();
11  //edm::LogInfo(TkDetLayers) << "theGeometricRings.size(): " << theGeometricRings.size() ;
12 
13  Phase2OTEndcapRingBuilder myBuilder;
14  vector<const Phase2OTEndcapRing*> thePhase2OTEndcapRings;
15 
16  for(vector<const GeometricDet*>::const_iterator it=theGeometricRings.begin();
17  it!=theGeometricRings.end();it++){
18  thePhase2OTEndcapRings.push_back(myBuilder.build( *it,theGeomDetGeometry));
19  }
20 
21  return new Phase2OTEndcapLayer(thePhase2OTEndcapRings);
22 }
Phase2OTEndcapLayer * build(const GeometricDet *aPhase2OTEndcapLayer, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
Phase2OTEndcapRing * build(const GeometricDet *aPhase2OTEndcapRing, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:174