CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CaloPoint.cc File Reference
#include "FastSimulation/CaloGeometryTools/interface/CaloPoint.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &ost, const CaloPoint &cid)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  ost,
const CaloPoint cid 
)

Definition at line 4 of file CaloPoint.cc.

5 {
6  ost << " DetId " ;
7  if(!cid.getDetId().null())
8  ost << (uint32_t)cid.getDetId()();
9  else
10  ost << cid.whichDetector();
11  // ost << " Side " << cid.getSide() << " Point " << (XYZPoint)cid;
12  ost << " Point " << (math::XYZVector)cid;
13  return ost;
14 }
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31