#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 | TruncatedPyramid |
A base class to handle the particular shape of Ecal Xtals. Taken from ORCA Calorimetry Code. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &s, const TruncatedPyramid &cell) |
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 ; }