#include "Geometry/CaloGeometry/interface/TruncatedPyramid.h"
#include <algorithm>
#include <iostream>
Go to the source code of this file.
Namespaces | |
namespace | truncPyr |
Functions | |
std::ostream & | operator<< (std::ostream &s, const TruncatedPyramid &cell) |
HepGeom::Point3D< double > | truncPyr::refl (const HepGeom::Point3D< double > &p) |
std::ostream& operator<< | ( | std::ostream & | s, |
const TruncatedPyramid & | cell | ||
) |
Definition at line 288 of file TruncatedPyramid.cc.
References TruncatedPyramid::getCorners(), TruncatedPyramid::getPhiAxis(), TruncatedPyramid::getThetaAxis(), i, and asciidump::s.
{ s << "Center: " << ( (const CaloCellGeometry&) cell).getPosition() << std::endl; const float thetaaxis ( cell.getThetaAxis() ) ; const float phiaxis ( cell.getPhiAxis() ) ; s << "Axis: " << thetaaxis << " " << phiaxis << std::endl ; const CaloCellGeometry::CornersVec& corners ( cell.getCorners() ) ; for ( unsigned int i=0 ; i != corners.size() ; ++i ) { s << "Corner: " << corners[i] << std::endl; } return s ; }