CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
IdealZDCTrapezoid.h File Reference
#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"

Go to the source code of this file.

Classes

class  IdealZDCTrapezoid
 

Functions

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

Function Documentation

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

Definition at line 137 of file IdealZDCTrapezoid.cc.

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

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