CMS 3D CMS Logo

PassiveHit.cc
Go to the documentation of this file.
2 #include <iostream>
3 
4 std::ostream& operator<<(std::ostream& o, const PassiveHit& hit) {
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
std::ostream & operator<<(std::ostream &o, const PassiveHit &hit)
Definition: PassiveHit.cc:4