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