CMS 3D CMS Logo

Typedefs | Functions
CaloCellGeometry.cc File Reference
#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
#include <CLHEP/Geometry/Plane3D.h>

Go to the source code of this file.

Typedefs

typedef CaloCellGeometry::CCGFloat CCGFloat
 
typedef HepGeom::Plane3D< double > DPlane3D
 
typedef HepGeom::Point3D< double > DPt3D
 
typedef std::vector< DPt3DDPt3DVec
 
typedef HepGeom::Vector3D< double > DVec3D
 
typedef HepGeom::Vector3D< CCGFloatFVec3D
 
typedef HepGeom::Plane3D< CCGFloatPlane3D
 
typedef CaloCellGeometry::Pt3D Pt3D
 
typedef CaloCellGeometry::Pt3DVec Pt3DVec
 
typedef CaloCellGeometry::Tr3D Tr3D
 

Functions

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

Typedef Documentation

◆ CCGFloat

Definition at line 4 of file CaloCellGeometry.cc.

◆ DPlane3D

typedef HepGeom::Plane3D<double> DPlane3D

Definition at line 13 of file CaloCellGeometry.cc.

◆ DPt3D

typedef HepGeom::Point3D<double> DPt3D

Definition at line 14 of file CaloCellGeometry.cc.

◆ DPt3DVec

typedef std::vector<DPt3D> DPt3DVec

Definition at line 15 of file CaloCellGeometry.cc.

◆ DVec3D

typedef HepGeom::Vector3D<double> DVec3D

Definition at line 12 of file CaloCellGeometry.cc.

◆ FVec3D

typedef HepGeom::Vector3D<CCGFloat> FVec3D

Definition at line 9 of file CaloCellGeometry.cc.

◆ Plane3D

typedef HepGeom::Plane3D<CCGFloat> Plane3D

Definition at line 10 of file CaloCellGeometry.cc.

◆ Pt3D

Definition at line 5 of file CaloCellGeometry.cc.

◆ Pt3DVec

Definition at line 6 of file CaloCellGeometry.cc.

◆ Tr3D

Definition at line 7 of file CaloCellGeometry.cc.

Function Documentation

◆ operator<<()

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

Definition at line 37 of file CaloCellGeometry.cc.

37  {
38  s << ", Center: " << cell.getPosition() << std::endl;
39 
40  if (cell.emptyCorners()) {
41  s << "Corners vector is empty." << std::endl;
42  } else {
43  const CaloCellGeometry::CornersVec& corners(cell.getCorners());
44  for (unsigned int i(0); i != corners.size(); ++i) {
45  s << "Corner: " << corners[i] << std::endl;
46  }
47  }
48  return s;
49 }

References CaloCellGeometry::emptyCorners(), CaloCellGeometry::getCorners(), CaloCellGeometry::getPosition(), mps_fire::i, and alignCSCRings::s.

mps_fire.i
i
Definition: mps_fire.py:355
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::getPosition
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
Definition: CaloCellGeometry.h:80
CaloCellGeometry::emptyCorners
bool emptyCorners() const
Definition: CaloCellGeometry.h:97