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.

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

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 }
unsigned int id