CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/Geometry/CaloGeometry/src/PreshowerStrip.cc File Reference

#include "Geometry/CaloGeometry/interface/PreshowerStrip.h"
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 30 of file PreshowerStrip.cc.

References PreshowerStrip::dx(), PreshowerStrip::dy(), PreshowerStrip::dz(), CaloCellGeometry::getPosition(), and asciidump::s.

{
   s << "Center: " <<  cell.getPosition() << std::endl ;
   s << "dx = " << cell.dx() << ", dy = " << cell.dy() << ", dz = " << cell.dz() << std::endl ;
/*   const CaloCellGeometry::CornerVec& corners ( cell.getCorners() ) ; 
   for( unsigned int ci ( 0 ) ; ci != corners.size(); ci++ ) 
   {
      s  << "Corner: " << corners[ci] << std::endl;
   }*/
   return s;
}