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.

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 }

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

hit::id
unsigned int id
Definition: SiStripHitEffFromCalibTree.cc:92
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
hit
Definition: SiStripHitEffFromCalibTree.cc:88