CMS 3D CMS Logo

Functions
CaloHit.cc File Reference
#include "SimDataFormats/CaloHit/interface/CaloHit.h"
#include <iomanip>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CaloHit &hit)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const CaloHit hit 
)

Definition at line 30 of file CaloHit.cc.

References TauDecayModes::dec, and hit::id.

30  {
31  os << "E " << std::setw(6) << hit.e() << " eta " << std::setw(6) << hit.eta() << " phi " << std::setw(6) << hit.phi()
32  << " t " << std::setw(6) << hit.t() << " layer " << hit.layer() << " det " << hit.det() << " id 0x" << std::hex
33  << hit.id() << std::dec;
34  return os;
35 }
unsigned int id