CMS 3D CMS Logo

Typedefs | Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/Geometry/CaloGeometry/src/PreshowerStrip.cc File Reference

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

Go to the source code of this file.

Typedefs

typedef PreshowerStrip::CCGFloat CCGFloat
typedef PreshowerStrip::Pt3D Pt3D
typedef PreshowerStrip::Pt3DVec Pt3DVec
typedef PreshowerStrip::Tr3D Tr3D

Functions

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

Typedef Documentation

Definition at line 4 of file PreshowerStrip.cc.

Definition at line 5 of file PreshowerStrip.cc.

Definition at line 6 of file PreshowerStrip.cc.

Definition at line 7 of file PreshowerStrip.cc.


Function Documentation

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

Definition at line 78 of file PreshowerStrip.cc.

References PreshowerStrip::dx(), PreshowerStrip::dy(), PreshowerStrip::dz(), PreshowerStrip::getCorners(), CaloCellGeometry::getPosition(), CaloCellGeometry::param(), and alignCSCRings::s.

{
  s << "Center: " <<  cell.getPosition() << std::endl ;
  if( cell.param() != 0 )
  {
    s << "dx = " << cell.dx() << ", dy = " << cell.dy() << ", dz = " << cell.dz() << std::endl ;

    const CaloCellGeometry::CornersVec& corners ( cell.getCorners() ) ; 
    for( unsigned int ci ( 0 ) ; ci != corners.size(); ci++ ) 
    {
      s  << "Corner: " << corners[ci] << std::endl;
    }
  }
  else
  {
    s << " with empty parameters." << std::endl;
  }
  
  return s;
}