CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DetectorDescription/Core/src/PseudoTrap.cc

Go to the documentation of this file.
00001 #include "DetectorDescription/Core/src/PseudoTrap.h"
00002 #include "CLHEP/Units/GlobalSystemOfUnits.h"
00003 
00004 
00005 
00006 void DDI::PseudoTrap::stream(std::ostream & os) const
00007 {
00008   os << " x1[cm]=" << p_[0]/cm
00009      << " x2[cm]=" << p_[1]/cm
00010      << " y1[cm]=" << p_[2]/cm
00011      << " y2[cm]=" << p_[3]/cm
00012      << " z[cm]=" << p_[4]/cm
00013      << " radius[cm]=" << p_[5]/cm;
00014      
00015   if (p_[6])
00016      os << " minusZ=[yes]";
00017   else
00018      os << " minusZ=[no]";
00019 }