CMS 3D CMS Logo

Classes | Functions
PCaloHit.h File Reference
#include "SimDataFormats/EncodedEventId/interface/EncodedEventId.h"
#include <iosfwd>

Go to the source code of this file.

Classes

class  PCaloHit
 

Functions

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

Function Documentation

◆ operator<<()

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

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