CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &o, const PCaloHit &hit)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  o,
const PCaloHit hit 
)

Definition at line 15 of file PCaloHit.cc.

15  {
16  o << "0x" << std::hex << hit.id() << std::dec << ": Energy (EM) " << hit.energyEM() << " GeV "
17  << ": Energy (Had) " << hit.energyHad() << " GeV "
18  << " Tof " << hit.time() << " ns "
19  << " Geant track #" << hit.geantTrackId() << " Encoded depth " << hit.depth();
20 
21  return o;
22 }

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

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