CMS 3D CMS Logo

Typedefs | Functions
PreshowerStrip.cc File Reference
#include "Geometry/CaloGeometry/interface/PreshowerStrip.h"
#include <iostream>

Go to the source code of this file.

Typedefs

typedef PreshowerStrip::CCGFloat CCGFloat
 
typedef PreshowerStrip::Pt3D Pt3D
 
typedef PreshowerStrip::Pt3DVec Pt3DVec
 
typedef PreshowerStrip::Tr3D Tr3D
 

Functions

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

Typedef Documentation

◆ CCGFloat

Definition at line 4 of file PreshowerStrip.cc.

◆ Pt3D

Definition at line 5 of file PreshowerStrip.cc.

◆ Pt3DVec

Definition at line 6 of file PreshowerStrip.cc.

◆ Tr3D

Definition at line 7 of file PreshowerStrip.cc.

Function Documentation

◆ operator<<()

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

Definition at line 50 of file PreshowerStrip.cc.

50  {
51  s << "Center: " << cell.getPosition() << std::endl;
52  if (cell.param() != nullptr) {
53  s << "dx = " << cell.dx() << ", dy = " << cell.dy() << ", dz = " << cell.dz() << std::endl;
54 
55  const CaloCellGeometry::CornersVec& corners(cell.getCorners());
56  for (unsigned int ci(0); ci != corners.size(); ci++) {
57  s << "Corner: " << corners[ci] << std::endl;
58  }
59  } else {
60  s << " with empty parameters." << std::endl;
61  }
62 
63  return s;
64 }

References PreshowerStrip::dx(), PreshowerStrip::dy(), PreshowerStrip::dz(), CaloCellGeometry::getCorners(), CaloCellGeometry::getPosition(), CaloCellGeometry::param(), and alignCSCRings::s.

PreshowerStrip::dz
CCGFloat dz() const
Definition: PreshowerStrip.h:42
PreshowerStrip::dx
CCGFloat dx() const
Definition: PreshowerStrip.h:40
CaloCellGeometry::getCorners
CornersVec const & getCorners() const
Returns the corner points of this cell's volume.
Definition: CaloCellGeometry.h:73
EZArrayFL< GlobalPoint >
alignCSCRings.s
s
Definition: alignCSCRings.py:92
CaloCellGeometry::getPosition
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
Definition: CaloCellGeometry.h:80
CaloCellGeometry::param
const CCGFloat * param() const
Definition: CaloCellGeometry.h:99
PreshowerStrip::dy
CCGFloat dy() const
Definition: PreshowerStrip.h:41