CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
CrystalPad.h File Reference
#include "Geometry/CaloTopology/interface/CaloDirection.h"
#include "CLHEP/Vector/TwoVector.h"
#include "DataFormats/Math/interface/Vector3D.h"
#include "FastSimulation/CaloGeometryTools/interface/Transform3DPJ.h"
#include <vector>
#include <iosfwd>

Go to the source code of this file.

Classes

class  CrystalPad
 
class  CrystalPad::padEqual
 equality operator More...
 

Functions

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

Function Documentation

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

Definition at line 274 of file CrystalPad.cc.

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

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 }
CLHEP::Hep2Vector & edge(unsigned iside, int n)
access to the corners in direction iside; n=0,1
Definition: CrystalPad.cc:222
unsigned getNumber() const
access to the number
Definition: CrystalPad.h:73