#include "Geometry/CaloGeometry/interface/EZArrayFL.h"
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
#include "DataFormats/GeometryVector/interface/GlobalVector.h"
#include <CLHEP/Geometry/Point3D.h>
#include <CLHEP/Geometry/Transform3D.h>
#include <vector>
#include <string>
Go to the source code of this file.
Classes | |
class | CaloCellGeometry |
Functions | |
std::ostream & | operator<< (std::ostream &s, const CaloCellGeometry &cell) |
std::ostream& operator<< | ( | std::ostream & | s, |
const CaloCellGeometry & | cell | ||
) |
Definition at line 12 of file CaloCellGeometry.cc.
References CaloCellGeometry::emptyCorners(), CaloCellGeometry::getCorners(), CaloCellGeometry::getPosition(), i, and asciidump::s.
{ s << ", Center: " << cell.getPosition() << std::endl; if( cell.emptyCorners() ) { s << "Corners vector is empty." << std::endl ; } else { const CaloCellGeometry::CornersVec& corners ( cell.getCorners() ) ; for ( unsigned int i ( 0 ) ; i != corners.size() ; ++i ) { s << "Corner: " << corners[ i ] << std::endl; } } return s ; }