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

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

Definition at line 323 of file CrystalPad.cc.

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

324 {
325  ost << " Number " << quad.getNumber() << std::endl ;
326  ost << NORTHWEST << quad.edge(NORTHWEST) << std::endl;
327  ost << NORTHEAST << quad.edge(NORTHEAST) << std::endl;
328  ost << SOUTHEAST << quad.edge(SOUTHEAST) << std::endl;
329  ost << SOUTHWEST << quad.edge(SOUTHWEST) << std::endl;
330 
331  return ost;
332 }
CLHEP::Hep2Vector & edge(unsigned iside, int n)
access to the corners in direction iside; n=0,1
Definition: CrystalPad.cc:263
unsigned getNumber() const
access to the number
Definition: CrystalPad.h:75