CMS 3D CMS Logo

Classes | Functions
FlatTrd.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  FlatTrd
 A base class to handle the particular shape of HGCal volumes. More...
 

Functions

std::ostream & operator<< (std::ostream &s, const FlatTrd &cell)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const FlatTrd cell 
)

Definition at line 235 of file FlatTrd.cc.

References FlatTrd::etaPos(), CaloCellGeometry::getCorners(), FlatTrd::getPhiAxis(), FlatTrd::getPosition(), FlatTrd::getThetaAxis(), mps_fire::i, FlatTrd::phiPos(), and alignCSCRings::s.

235  {
236  s << "Center: " << cell.getPosition() << " eta " << cell.etaPos() << " phi " << cell.phiPos() << std::endl;
237  s << "Axis: " << cell.getThetaAxis() << " " << cell.getPhiAxis() << std::endl;
238  const CaloCellGeometry::CornersVec& corners(cell.getCorners());
239  for (unsigned int i = 0; i != corners.size(); ++i) {
240  s << "Corner: " << corners[i] << std::endl;
241  }
242  return s;
243 }
GlobalPoint const & getPosition() const override
Returns the position of reference for this cell.
Definition: FlatTrd.h:66
CornersVec const & getCorners() const
Returns the corner points of this cell&#39;s volume.
CCGFloat getThetaAxis() const
Definition: FlatTrd.cc:108
virtual float phiPos() const
Definition: FlatTrd.h:69
virtual float etaPos() const
Definition: FlatTrd.h:68
CCGFloat getPhiAxis() const
Definition: FlatTrd.cc:110