CMS 3D CMS Logo

Phase2EndcapSubDiskBuilder.cc
Go to the documentation of this file.
3 
4 using namespace edm;
5 using namespace std;
6 
8  const TrackerGeometry* theGeomDetGeometry) {
9  LogTrace("TkDetLayers") << "Phase2EndcapSubDiskBuilder::build";
10  vector<const GeometricDet*> theGeometricRings = aPhase2EndcapSubDisk->components();
11  LogTrace("TkDetLayers") << "theGeometricRings.size(): " << theGeometricRings.size();
12 
14  vector<const Phase2EndcapSingleRing*> thePhase2EndcapSingleRings;
15 
16  for (vector<const GeometricDet*>::const_iterator it = theGeometricRings.begin(); it != theGeometricRings.end();
17  it++) {
18  // if we are in the phaseII OT, it will use the brothers to build pt modules
19  // if we are in the phaseII pixel detector, it will not
20  thePhase2EndcapSingleRings.push_back(myBuilder.build(*it, theGeomDetGeometry));
21  }
22 
23  return new Phase2EndcapSubDisk(thePhase2EndcapSingleRings);
24 }
Phase2EndcapSingleRing * build(const GeometricDet *aPhase2EndcapSingleRing, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
#define LogTrace(id)
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:158
HLT enums.
Phase2EndcapSubDisk * build(const GeometricDet *aPhase2EndcapSubDisk, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))