CMS 3D CMS Logo

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

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