![]() |
![]() |
#include "Geometry/CaloGeometry/interface/TruncatedPyramid.h"
#include <algorithm>
#include <iostream>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const TruncatedPyramid &cell) |
std::ostream& operator<< | ( | std::ostream & | s, | |
const TruncatedPyramid & | cell | |||
) |
Definition at line 189 of file TruncatedPyramid.cc.
References lat::endl(), TruncatedPyramid::getCorners(), TruncatedPyramid::getPhiAxis(), TruncatedPyramid::getThetaAxis(), and i.
00190 { 00191 s << "Center: " << ( (const CaloCellGeometry&) cell).getPosition() << std::endl; 00192 const float thetaaxis ( cell.getThetaAxis() ) ; 00193 const float phiaxis ( cell.getPhiAxis() ) ; 00194 s << "Axis: " << thetaaxis << " " << phiaxis << std::endl ; 00195 const CaloCellGeometry::CornersVec& corners ( cell.getCorners() ) ; 00196 for ( unsigned int i=0 ; i != corners.size() ; ++i ) 00197 { 00198 s << "Corner: " << corners[i] << std::endl; 00199 } 00200 return s ; 00201 }