test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 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