CMS 3D CMS Logo

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

Go to the source code of this file.

Typedefs

typedef FlatHexagon::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 FlatHexagon::Pt3D Pt3D
 
typedef FlatHexagon::Pt3DVec Pt3DVec
 
typedef FlatHexagon::Tr3D Tr3D
 

Functions

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

Typedef Documentation

Definition at line 9 of file FlatHexagon.cc.

typedef HepGeom::Plane3D<double> DPlane3D

Definition at line 18 of file FlatHexagon.cc.

typedef HepGeom::Point3D<double> DPt3D

Definition at line 19 of file FlatHexagon.cc.

typedef HepGeom::Vector3D<double> DVec3D

Definition at line 17 of file FlatHexagon.cc.

typedef HepGeom::Vector3D<CCGFloat> FVec3D

Definition at line 14 of file FlatHexagon.cc.

typedef HepGeom::Plane3D<CCGFloat> Plane3D

Definition at line 15 of file FlatHexagon.cc.

Definition at line 10 of file FlatHexagon.cc.

Definition at line 11 of file FlatHexagon.cc.

Definition at line 12 of file FlatHexagon.cc.

Function Documentation

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

Definition at line 285 of file FlatHexagon.cc.

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

285  {
286  s << "Center: " << cell.getPosition() << " eta " << cell.etaPos()
287  << " phi " << cell.phiPos() << std::endl;
288  s << "Axis: " << cell.getThetaAxis() << " " << cell.getPhiAxis() <<std::endl;
289  const CaloCellGeometry::CornersVec& corners ( cell.getCorners() ) ;
290  for ( unsigned int i=0 ; i != corners.size() ; ++i ) {
291  s << "Corner: " << corners[i] << std::endl;
292  }
293  return s ;
294 }
virtual float phiPos() const
Definition: FlatHexagon.h:50
GlobalPoint const & getPosition() const override
Returns the position of reference for this cell.
Definition: FlatHexagon.h:47
virtual float etaPos() const
Definition: FlatHexagon.h:49
CCGFloat getPhiAxis() const
Definition: FlatHexagon.cc:138
CornersVec const & getCorners() const
Returns the corner points of this cell&#39;s volume.
CCGFloat getThetaAxis() const
Definition: FlatHexagon.cc:134