CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/Geometry/ForwardGeometry/interface/IdealZDCTrapezoid.h File Reference

#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"

Go to the source code of this file.

Classes

class  IdealZDCTrapezoid

Functions

std::ostream & operator<< (std::ostream &s, const IdealZDCTrapezoid &cell)

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const IdealZDCTrapezoid cell 
)

Definition at line 138 of file IdealZDCTrapezoid.cc.

References IdealZDCTrapezoid::an(), IdealZDCTrapezoid::dx(), IdealZDCTrapezoid::dy(), IdealZDCTrapezoid::dz(), CaloCellGeometry::getPosition(), M_PI, and alignCSCRings::s.

{
   s << "Center: " <<  cell.getPosition() << std::endl ;
   s << "TiltAngle = " << cell.an()*180./M_PI << " deg, dx = " 
     << cell.dx() 
     << ", dy = " << cell.dy() << ", dz = " << cell.dz() << std::endl ;
   return s;
}