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 394 of file TruncatedPyramid.cc.

References i, alignCSCRings::s, and EZArrayFL< T >::size().

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