CMS 3D CMS Logo

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

◆ operator<<()

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

Definition at line 4 of file CaloPoint.cc.

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