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 20 of file CaloHit.cc.

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

20  {
21  os << "E " << std::setw(6) << hit.e() << " eta " << std::setw(6) << hit.eta() << " phi " << std::setw(6) << hit.phi()
22  << " t " << std::setw(6) << hit.t() << " layer " << hit.layer() << " det " << hit.det() << " id 0x" << std::hex
23  << hit.id() << std::dec;
24  return os;
25 }
unsigned int id