CMS 3D CMS Logo

Namespaces | Typedefs | Functions
TruncatedPyramid.cc File Reference
#include "Geometry/CaloGeometry/interface/TruncatedPyramid.h"
#include <algorithm>
#include <iostream>

Go to the source code of this file.

Namespaces

 truncPyr
 

Typedefs

typedef TruncatedPyramid::CCGFloat CCGFloat
 
typedef HepGeom::Plane3D< double > DPlane3D
 
typedef HepGeom::Point3D< double > DPt3D
 
typedef HepGeom::Vector3D< double > DVec3D
 
typedef HepGeom::Vector3D< CCGFloatFVec3D
 
typedef HepGeom::Plane3D< CCGFloatPlane3D
 
typedef TruncatedPyramid::Pt3D Pt3D
 
typedef TruncatedPyramid::Pt3DVec Pt3DVec
 
typedef TruncatedPyramid::Tr3D Tr3D
 

Functions

std::ostream & operator<< (std::ostream &s, const TruncatedPyramid &cell)
 
Pt3D truncPyr::refl (const Pt3D &p)
 

Typedef Documentation

◆ CCGFloat

Definition at line 5 of file TruncatedPyramid.cc.

◆ DPlane3D

typedef HepGeom::Plane3D<double> DPlane3D

Definition at line 14 of file TruncatedPyramid.cc.

◆ DPt3D

typedef HepGeom::Point3D<double> DPt3D

Definition at line 15 of file TruncatedPyramid.cc.

◆ DVec3D

typedef HepGeom::Vector3D<double> DVec3D

Definition at line 13 of file TruncatedPyramid.cc.

◆ FVec3D

typedef HepGeom::Vector3D<CCGFloat> FVec3D

Definition at line 10 of file TruncatedPyramid.cc.

◆ Plane3D

typedef HepGeom::Plane3D<CCGFloat> Plane3D

Definition at line 11 of file TruncatedPyramid.cc.

◆ Pt3D

Definition at line 6 of file TruncatedPyramid.cc.

◆ Pt3DVec

Definition at line 7 of file TruncatedPyramid.cc.

◆ Tr3D

Definition at line 8 of file TruncatedPyramid.cc.

Function Documentation

◆ operator<<()

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

Definition at line 305 of file TruncatedPyramid.cc.

305  {
306  s << "Center: " << ((const CaloCellGeometry&)cell).getPosition() << std::endl;
307  const float thetaaxis(cell.getThetaAxis());
308  const float phiaxis(cell.getPhiAxis());
309  s << "Axis: " << thetaaxis << " " << phiaxis << std::endl;
310  const CaloCellGeometry::CornersVec& corners(cell.getCorners());
311  for (unsigned int i = 0; i != corners.size(); ++i) {
312  s << "Corner: " << corners[i] << std::endl;
313  }
314  return s;
315 }

References CaloCellGeometry::getCorners(), TruncatedPyramid::getPhiAxis(), TruncatedPyramid::getThetaAxis(), mps_fire::i, and alignCSCRings::s.

mps_fire.i
i
Definition: mps_fire.py:428
CaloCellGeometry::getCorners
CornersVec const & getCorners() const
Returns the corner points of this cell's volume.
Definition: CaloCellGeometry.h:73
EZArrayFL< GlobalPoint >
alignCSCRings.s
s
Definition: alignCSCRings.py:92
CaloCellGeometry
Definition: CaloCellGeometry.h:50
TruncatedPyramid::getThetaAxis
CCGFloat getThetaAxis() const
Definition: TruncatedPyramid.cc:49
TruncatedPyramid::getPhiAxis
CCGFloat getPhiAxis() const
Definition: TruncatedPyramid.cc:51