#include <DTGeometryBuilderFromCondDB.h>
|
DTChamber * | buildChamber (const DetId &id, const RecoIdealGeometry &rig, size_t idt) const |
|
DTLayer * | buildLayer (DTSuperLayer *sl, const DetId &id, const RecoIdealGeometry &rig, size_t idt) const |
|
DTSuperLayer * | buildSuperLayer (DTChamber *chamber, 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 |
|
◆ RCPPlane
◆ DTGeometryBuilderFromCondDB()
DTGeometryBuilderFromCondDB::DTGeometryBuilderFromCondDB |
( |
| ) |
|
◆ ~DTGeometryBuilderFromCondDB()
DTGeometryBuilderFromCondDB::~DTGeometryBuilderFromCondDB |
( |
| ) |
|
|
virtual |
◆ build()
Definition at line 41 of file DTGeometryBuilderFromCondDB.cc.
References relativeConstraints::chamber, gather_cfg::cout, RecoIdealGeometry::detIds(), and RecoIdealGeometry::shapeStart().
Referenced by DTGeometryESModule::setupDBGeometry().
43 const std::vector<DetId>& detids(rig.
detIds());
49 while (idt < detids.size()) {
69 theGeometry->add(lay);
71 cout <<
"What is this?" << endl;
DTLayer * buildLayer(DTSuperLayer *sl, const DetId &id, const RecoIdealGeometry &rig, size_t idt) const
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
DTChamber * buildChamber(const DetId &id, const RecoIdealGeometry &rig, size_t idt) const
◆ buildChamber()
◆ buildLayer()
Definition at line 126 of file DTGeometryBuilderFromCondDB.cc.
References DTSuperLayer::add(), cms::cuda::assert(), angle_units::operators::convertMmToCm(), dtGeometryBuilder::getRecPlaneBounds(), RecoIdealGeometry::rotStart(), RecoIdealGeometry::shapeStart(), and RecoIdealGeometry::tranStart().
142 int firstWire =
static_cast<int>(*(shapeStartPtr + 4));
143 int WCounter =
static_cast<int>(*(shapeStartPtr + 5));
145 DTTopology topology(firstWire, WCounter, sensibleLength);
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.
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
ReferenceCountingPointer< Plane > RCPPlane
std::vector< double >::const_iterator shapeStart(size_t ind) const
constexpr NumType convertMmToCm(NumType millimeters)
std::vector< double >::const_iterator tranStart(size_t ind) const
◆ buildSuperLayer()
◆ plane()