test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Typedefs | Functions
IdealZDCTrapezoid.cc File Reference
#include "Geometry/ForwardGeometry/interface/IdealZDCTrapezoid.h"
#include <math.h>

Go to the source code of this file.

Typedefs

typedef CaloCellGeometry::CCGFloat CCGFloat
 
typedef CaloCellGeometry::Pt3D Pt3D
 
typedef CaloCellGeometry::Pt3DVec Pt3DVec
 

Functions

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

Typedef Documentation

Definition at line 4 of file IdealZDCTrapezoid.cc.

Definition at line 5 of file IdealZDCTrapezoid.cc.

Definition at line 6 of file IdealZDCTrapezoid.cc.

Function Documentation

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

Definition at line 134 of file IdealZDCTrapezoid.cc.

References IdealZDCTrapezoid::an(), IdealZDCTrapezoid::dx(), IdealZDCTrapezoid::dy(), IdealZDCTrapezoid::dz(), CaloCellGeometry::getPosition(), M_PI, and alignCSCRings::s.

135 {
136  s << "Center: " << cell.getPosition() << std::endl ;
137  s << "TiltAngle = " << cell.an()*180./M_PI << " deg, dx = "
138  << cell.dx()
139  << ", dy = " << cell.dy() << ", dz = " << cell.dz() << std::endl ;
140  return s;
141 }
CCGFloat dy() const
CCGFloat dx() const
CCGFloat an() const
#define M_PI
CCGFloat dz() const
const GlobalPoint & getPosition() const
Returns the position of reference for this cell.