CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 4 of file PassiveHit.cc.

4  {
5  o << hit.vname() << " 0x" << std::hex << hit.id() << std::dec << ": Energy " << hit.energy()
6  << " GeV: " << hit.energyTotal() << " GeV: Tof " << hit.time() << " ns: "
7  << " Track # " << hit.trackId() << " Position " << hit.x() << ", " << hit.y() << ", " << hit.z() << ")";
8 
9  return o;
10 }

References TauDecayModes::dec, hit::id, EcalTangentSkim_cfg::o, hit::x, hit::y, and hit::z.

hit::id
unsigned int id
Definition: SiStripHitEffFromCalibTree.cc:92
hit::y
double y
Definition: SiStripHitEffFromCalibTree.cc:90
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
hit::x
double x
Definition: SiStripHitEffFromCalibTree.cc:89
hit::z
double z
Definition: SiStripHitEffFromCalibTree.cc:91
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
hit
Definition: SiStripHitEffFromCalibTree.cc:88