43 const std::vector<DetId>& detids(rig.
detIds());
49 while (idt < detids.size()) {
59 chamber = buildChamber(chid, rig, idt);
63 sl = buildSuperLayer(
chamber, slid, rig, idt);
68 DTLayer* lay = buildLayer(sl, lid, rig, idt);
69 theGeometry->add(lay);
71 cout <<
"What is this?" << endl;
142 int firstWire =
static_cast<int>(*(shapeStartPtr + 4));
143 int WCounter =
static_cast<int>(*(shapeStartPtr + 5));
145 DTTopology topology(firstWire, WCounter, sensibleLength);
149 DTLayer* layer =
new DTLayer(layId, surf, topology, layerType, sl);
158 const vector<double>::const_iterator rotStart,
DTLayer * buildLayer(DTSuperLayer *sl, const DetId &id, const RecoIdealGeometry &rig, size_t idt) const
RCPPlane plane(const std::vector< double >::const_iterator tranStart, const std::vector< double >::const_iterator rotStart, Bounds *bounds) const
RectangularPlaneBounds * getRecPlaneBounds(const std::vector< double >::const_iterator &shapeStart)
std::vector< double >::const_iterator rotStart(size_t ind) const
void add(DTLayer *l)
Add layer to the SL which owns it.
const std::vector< DetId > & detIds() const
DTSuperLayer * buildSuperLayer(DTChamber *chamber, const DetId &id, const RecoIdealGeometry &rig, size_t idt) const
std::vector< double >::const_iterator shapeStart(size_t ind) const
constexpr NumType convertMmToCm(NumType millimeters)
virtual ~DTGeometryBuilderFromCondDB()
DTGeometryBuilderFromCondDB()
void build(const std::shared_ptr< DTGeometry > &theGeometry, const RecoIdealGeometry &rig)
std::vector< double >::const_iterator tranStart(size_t ind) const
DTChamber * buildChamber(const DetId &id, const RecoIdealGeometry &rig, size_t idt) const