CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/FastSimulation/CaloGeometryTools/interface/CaloPoint.h File Reference

#include "Geometry/CaloTopology/interface/CaloDirection.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/Math/interface/Vector3D.h"
#include <string>
#include <iosfwd>

Go to the source code of this file.

Classes

class  CaloPoint
class  CaloPoint::DistanceToVertex

Functions

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

Function Documentation

std::ostream& operator<< ( std::ostream &  o,
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;
}