CMS 3D CMS Logo

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.

00005 {
00006   ost << " DetId " ;
00007   if(!cid.getDetId().null())
00008     ost <<  (uint32_t)cid.getDetId()();
00009   else
00010     ost << cid.whichDetector();
00011   //  ost << " Side " << cid.getSide() << " Point " << (XYZPoint)cid;
00012   ost << " Point " << (math::XYZVector)cid;
00013   return ost;
00014 }


Generated on Tue Jun 9 17:52:53 2009 for CMSSW by  doxygen 1.5.4