CMS 3D CMS Logo

Functions
dtGeometryBuilder Namespace Reference

Functions

RectangularPlaneBoundsgetRecPlaneBounds (const std::vector< double >::const_iterator &shapeStart)
 

Function Documentation

◆ getRecPlaneBounds()

RectangularPlaneBounds * dtGeometryBuilder::getRecPlaneBounds ( const std::vector< double >::const_iterator &  shapeStart)

Definition at line 80 of file DTGeometryBuilderFromCondDB.cc.

80  {
81  float width = convertMmToCm(*(shapeStart)); // r-phi dimension - different in different chambers
82  float length = convertMmToCm(*(shapeStart + 1)); // z dimension - constant
83  float thickness = convertMmToCm(*(shapeStart + 2)); // radial thickness - almost constant
84  return new RectangularPlaneBounds(width, length, thickness);
85 }

References geant_units::operators::convertMmToCm(), Calorimetry_cff::thickness, and ApeEstimator_cff::width.

Referenced by DTGeometryBuilderFromDDD::buildChamber(), DTGeometryBuilderFromCondDB::buildChamber(), DTGeometryBuilderFromDDD::buildLayer(), DTGeometryBuilderFromCondDB::buildLayer(), DTGeometryBuilderFromDDD::buildSuperLayer(), and DTGeometryBuilderFromCondDB::buildSuperLayer().

ApeEstimator_cff.width
width
Definition: ApeEstimator_cff.py:24
Calorimetry_cff.thickness
thickness
Definition: Calorimetry_cff.py:114
RectangularPlaneBounds
Definition: RectangularPlaneBounds.h:12
geant_units::operators::convertMmToCm
constexpr NumType convertMmToCm(NumType millimeters)
Definition: GeantUnits.h:62