CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_0/src/FastSimulation/CaloGeometryTools/src/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.

{
  ost << " DetId " ;
  if(!cid.getDetId().null())
    ost <<  (uint32_t)cid.getDetId()();
  else
    ost << cid.whichDetector();
  //  ost << " Side " << cid.getSide() << " Point " << (XYZPoint)cid;
  ost << " Point " << (math::XYZVector)cid;
  return ost;
}