CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
TruncatedPyramid.h File Reference
#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
#include <CLHEP/Geometry/Point3D.h>
#include <CLHEP/Geometry/Plane3D.h>
#include <CLHEP/Geometry/Vector3D.h>
#include <CLHEP/Geometry/Transform3D.h>
#include <vector>

Go to the source code of this file.

Classes

class  GCC11_FINAL< T, TOPO >
 Unlimited (trivial) bounds. More...
 

Functions

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

Function Documentation

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

Definition at line 398 of file TruncatedPyramid.cc.

References i, and alignCSCRings::s.

399 {
400  s << "Center: " << ( (const CaloCellGeometry&) cell).getPosition() << std::endl;
401  const float thetaaxis ( cell.getThetaAxis() ) ;
402  const float phiaxis ( cell.getPhiAxis() ) ;
403  s << "Axis: " << thetaaxis << " " << phiaxis << std::endl ;
404  const CaloCellGeometry::CornersVec& corners ( cell.getCorners() ) ;
405  for ( unsigned int i=0 ; i != corners.size() ; ++i )
406  {
407  s << "Corner: " << corners[i] << std::endl;
408  }
409  return s ;
410 }
int i
Definition: DBlmapReader.cc:9