CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CaloHitID.cc File Reference
#include "SimG4CMS/Calo/interface/CaloHitID.h"
#include <iomanip>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CaloHitID &id)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CaloHitID id 
)

Definition at line 92 of file CaloHitID.cc.

92  {
93  os << "UnitID 0x" << std::hex << id.unitID() << std::dec << " Depth "
94  << std::setw(6) << id.depth() << " Time " << std::setw(6)
95  << id.timeSlice() << " TrackID " << std::setw(8) << id.trackID();
96  return os;
97 }