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 
7 
8 void DDI::PseudoTrap::stream(std::ostream & os) const
9 {
10  os << " x1[cm]=" << p_[0]/cm
11  << " x2[cm]=" << p_[1]/cm
12  << " y1[cm]=" << p_[2]/cm
13  << " y2[cm]=" << p_[3]/cm
14  << " z[cm]=" << p_[4]/cm
15  << " radius[cm]=" << p_[5]/cm;
16 
17  if (p_[6])
18  os << " minusZ=[yes]";
19  else
20  os << " minusZ=[no]";
21 }
void stream(std::ostream &os) const
Definition: PseudoTrap.cc:8
std::vector< double > p_
Definition: Solid.h:32