CMS 3D CMS Logo

Functions
CrystalPad.cc File Reference
#include "FastSimulation/CaloGeometryTools/interface/CrystalPad.h"
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &ost, CrystalPad &quad)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ost,
CrystalPad quad 
)

Definition at line 274 of file CrystalPad.cc.

274  {
275  ost << " Number " << quad.getNumber() << std::endl;
276  ost << NORTHWEST << quad.edge(NORTHWEST) << std::endl;
277  ost << NORTHEAST << quad.edge(NORTHEAST) << std::endl;
278  ost << SOUTHEAST << quad.edge(SOUTHEAST) << std::endl;
279  ost << SOUTHWEST << quad.edge(SOUTHWEST) << std::endl;
280 
281  return ost;
282 }

References CrystalPad::edge(), CrystalPad::getNumber(), NORTHEAST, NORTHWEST, SOUTHEAST, and SOUTHWEST.

CrystalPad::edge
CLHEP::Hep2Vector & edge(unsigned iside, int n)
access to the corners in direction iside; n=0,1
Definition: CrystalPad.cc:222
SOUTHEAST
Definition: CaloDirection.h:12
SOUTHWEST
Definition: CaloDirection.h:13
CrystalPad::getNumber
unsigned getNumber() const
access to the number
Definition: CrystalPad.h:73
NORTHWEST
Definition: CaloDirection.h:17
NORTHEAST
Definition: CaloDirection.h:16