CMS 3D CMS Logo

PseudoTrap.cc
Go to the documentation of this file.
3 
4 using namespace geant_units::operators;
5 
6 void DDI::PseudoTrap::stream(std::ostream & os) const
7 {
8  os << " x1[cm]=" << convertMmToCm( p_[0] )
9  << " x2[cm]=" << convertMmToCm( p_[1] )
10  << " y1[cm]=" << convertMmToCm( p_[2] )
11  << " y2[cm]=" << convertMmToCm( p_[3] )
12  << " z[cm]=" << convertMmToCm( p_[4] )
13  << " radius[cm]=" << convertMmToCm( p_[5] );
14 
15  if (p_[6])
16  os << " minusZ=[yes]";
17  else
18  os << " minusZ=[no]";
19 }
void stream(std::ostream &os) const override
Definition: PseudoTrap.cc:6
constexpr NumType convertMmToCm(NumType millimeters)
Definition: GeantUnits.h:110