CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Typedefs | Functions
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.

79 {
80  s << "Center: " << cell.getPosition() << std::endl ;
81  if( cell.param() != 0 )
82  {
83  s << "dx = " << cell.dx() << ", dy = " << cell.dy() << ", dz = " << cell.dz() << std::endl ;
84 
85  const CaloCellGeometry::CornersVec& corners ( cell.getCorners() ) ;
86  for( unsigned int ci ( 0 ) ; ci != corners.size(); ci++ )
87  {
88  s << "Corner: " << corners[ci] << std::endl;
89  }
90  }
91  else
92  {
93  s << " with empty parameters." << std::endl;
94  }
95 
96  return s;
97 }
virtual const CornersVec & getCorners() const
Returns the corner points of this cell&#39;s volume.
const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
const CCGFloat * param() const
CCGFloat dx() const
CCGFloat dy() const
CCGFloat dz() const