CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Box.cc
Go to the documentation of this file.
3 
4 #include <ostream>
5 
6 using namespace geant_units::operators;
7 
8 void DDI::Box::stream(std::ostream& os) const {
9  os << " xhalf[cm]=" << convertMmToCm(p_[0]) << " yhalf[cm]=" << convertMmToCm(p_[1])
10  << " zhalf[cm]=" << convertMmToCm(p_[2]);
11 }
void stream(std::ostream &os) const override
Definition: Box.cc:8
constexpr NumType convertMmToCm(NumType millimeters)
Definition: GeantUnits.h:63