CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Typedefs | Functions
FlatTrd.cc File Reference
#include "Geometry/CaloGeometry/interface/FlatTrd.h"
#include "Geometry/CaloGeometry/interface/TruncatedPyramid.h"
#include <algorithm>
#include <iostream>

Go to the source code of this file.

Typedefs

typedef FlatTrd::CCGFloat CCGFloat
 
typedef HepGeom::Plane3D< double > DPlane3D
 
typedef HepGeom::Point3D< double > DPt3D
 
typedef HepGeom::Vector3D< double > DVec3D
 
typedef HepGeom::Vector3D
< CCGFloat
FVec3D
 
typedef HepGeom::Plane3D
< CCGFloat
Plane3D
 
typedef FlatTrd::Pt3D Pt3D
 
typedef FlatTrd::Pt3DVec Pt3DVec
 
typedef FlatTrd::Tr3D Tr3D
 

Functions

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

Typedef Documentation

Definition at line 8 of file FlatTrd.cc.

typedef HepGeom::Plane3D<double> DPlane3D

Definition at line 17 of file FlatTrd.cc.

typedef HepGeom::Point3D<double> DPt3D

Definition at line 18 of file FlatTrd.cc.

typedef HepGeom::Vector3D<double> DVec3D

Definition at line 16 of file FlatTrd.cc.

typedef HepGeom::Vector3D<CCGFloat> FVec3D

Definition at line 13 of file FlatTrd.cc.

typedef HepGeom::Plane3D<CCGFloat> Plane3D

Definition at line 14 of file FlatTrd.cc.

Definition at line 9 of file FlatTrd.cc.

Definition at line 10 of file FlatTrd.cc.

Definition at line 11 of file FlatTrd.cc.

Function Documentation

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

Definition at line 256 of file FlatTrd.cc.

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

256  {
257  s << "Center: " << cell.getPosition() << " eta " << cell.etaPos()
258  << " phi " << cell.phiPos() << std::endl;
259  s << "Axis: " << cell.getThetaAxis() << " " << cell.getPhiAxis() <<std::endl;
260  const CaloCellGeometry::CornersVec& corners ( cell.getCorners() ) ;
261  for ( unsigned int i=0 ; i != corners.size() ; ++i ) {
262  s << "Corner: " << corners[i] << std::endl;
263  }
264  return s ;
265 }
int i
Definition: DBlmapReader.cc:9
virtual const GlobalPoint & getPosition() const
Definition: FlatTrd.h:46
CCGFloat getThetaAxis() const
Definition: FlatTrd.cc:108
virtual float phiPos() const
Definition: FlatTrd.h:49
virtual float etaPos() const
Definition: FlatTrd.h:48
const CornersVec & getCorners() const
Returns the corner points of this cell&#39;s volume.
CCGFloat getPhiAxis() const
Definition: FlatTrd.cc:112