CMS 3D CMS Logo

Typedefs | Functions
IdealZPrism.cc File Reference
#include "Geometry/CaloGeometry/interface/IdealZPrism.h"
#include <cmath>
#include <memory>

Go to the source code of this file.

Typedefs

typedef IdealZPrism::CCGFloat CCGFloat
 
typedef IdealZPrism::Pt3D Pt3D
 
typedef IdealZPrism::Pt3DVec Pt3DVec
 

Functions

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

Typedef Documentation

◆ CCGFloat

Definition at line 5 of file IdealZPrism.cc.

◆ Pt3D

Definition at line 6 of file IdealZPrism.cc.

◆ Pt3DVec

Definition at line 7 of file IdealZPrism.cc.

Function Documentation

◆ operator<<()

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

Definition at line 126 of file IdealZPrism.cc.

References IdealZPrism::dEta(), IdealZPrism::dPhi(), IdealZPrism::dz(), CaloCellGeometry::getPosition(), and alignCSCRings::s.

126  {
127  s << "Center: " << cell.getPosition() << std::endl;
128  s << "dEta = " << cell.dEta() << ", dPhi = " << cell.dPhi() << ", dz = " << cell.dz() << std::endl;
129  return s;
130 }
CCGFloat dEta() const
Definition: IdealZPrism.cc:49
CCGFloat dz() const
Definition: IdealZPrism.cc:53
CCGFloat dPhi() const
Definition: IdealZPrism.cc:51
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.