CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
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.

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