CMS 3D CMS Logo

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 {
10  os << " xhalf[cm]=" << convertMmToCm( p_[0] )
11  << " yhalf[cm]=" << convertMmToCm( p_[1] )
12  << " zhalf[cm]=" << convertMmToCm( p_[2] );
13 }
void stream(std::ostream &os) const override
Definition: Box.cc:8
constexpr NumType convertMmToCm(NumType millimeters)
Definition: GeantUnits.h:110