CMS 3D CMS Logo

PseudoTrap.cc
Go to the documentation of this file.
2 
3 #include "CLHEP/Units/GlobalSystemOfUnits.h"
4 #include "CLHEP/Units/SystemOfUnits.h"
5 
6 void DDI::PseudoTrap::stream(std::ostream & os) const
7 {
8  os << " x1[cm]=" << p_[0]/cm
9  << " x2[cm]=" << p_[1]/cm
10  << " y1[cm]=" << p_[2]/cm
11  << " y2[cm]=" << p_[3]/cm
12  << " z[cm]=" << p_[4]/cm
13  << " radius[cm]=" << p_[5]/cm;
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
std::vector< double > p_
Definition: Solid.h:32