CMS 3D CMS Logo

TIBRingBuilder.cc
Go to the documentation of this file.
1 #include "TIBRingBuilder.h"
2 
3 using namespace edm;
4 using namespace std;
5 
6 TIBRing* TIBRingBuilder::build(const vector<const GeometricDet*>& detsInRing,
7  const TrackerGeometry* theGeomDetGeometry) {
8  vector<const GeomDet*> theGeomDets;
9  for (vector<const GeometricDet*>::const_iterator it = detsInRing.begin(); it != detsInRing.end(); it++) {
10  const GeomDet* theGeomDet = theGeomDetGeometry->idToDet((*it)->geographicalId());
11  theGeomDets.push_back(theGeomDet);
12  }
13 
14  return new TIBRing(theGeomDets);
15 }
TIBRing * build(const std::vector< const GeometricDet *> &detsInRing, const TrackerGeometry *theGeomDetGeometry) __attribute__((cold))
const TrackerGeomDet * idToDet(DetId) const override
HLT enums.