CMS 3D CMS Logo

Typedefs | Functions
IdealZDCTrapezoid.cc File Reference
#include "Geometry/ForwardGeometry/interface/IdealZDCTrapezoid.h"
#include <cmath>

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

◆ CCGFloat

Definition at line 4 of file IdealZDCTrapezoid.cc.

◆ Pt3D

Definition at line 5 of file IdealZDCTrapezoid.cc.

◆ Pt3DVec

Definition at line 6 of file IdealZDCTrapezoid.cc.

Function Documentation

◆ operator<<()

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

Definition at line 87 of file IdealZDCTrapezoid.cc.

87  {
88  s << "Center: " << cell.getPosition() << std::endl;
89  s << "TiltAngle = " << cell.an() * 180. / M_PI << " deg, dx = " << cell.dx() << ", dy = " << cell.dy()
90  << ", dz = " << cell.dz() << std::endl;
91  return s;
92 }

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

IdealZDCTrapezoid::dx
CCGFloat dx() const
Definition: IdealZDCTrapezoid.cc:27
alignCSCRings.s
s
Definition: alignCSCRings.py:92
IdealZDCTrapezoid::an
CCGFloat an() const
Definition: IdealZDCTrapezoid.cc:25
CaloCellGeometry::getPosition
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
Definition: CaloCellGeometry.h:80
IdealZDCTrapezoid::dy
CCGFloat dy() const
Definition: IdealZDCTrapezoid.cc:29
IdealZDCTrapezoid::dz
CCGFloat dz() const
Definition: IdealZDCTrapezoid.cc:31
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:50