CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
dtGeometryBuilder Namespace Reference

Functions

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

Function Documentation

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

Definition at line 80 of file DTGeometryBuilderFromCondDB.cc.

References geant_units::operators::convertMmToCm(), and TrackerMaterial_cfi::thickness.

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: GeantUnits.h:63