DetectorDescription
Core
src
Box.cc
Go to the documentation of this file.
1
#include "
DetectorDescription/Core/src/Box.h
"
2
#include "
DataFormats/Math/interface/GeantUnits.h
"
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:63
Generated for CMSSW Reference Manual by
1.8.16