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.

References angle_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().

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 }
constexpr NumType convertMmToCm(NumType millimeters)
Definition: angle_units.h:44