CMS 3D CMS Logo

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