Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:41

0001 #include "SimDataFormats/CaloHit/interface/PassiveHit.h"
0002 #include <iostream>
0003 
0004 std::ostream& operator<<(std::ostream& o, const PassiveHit& hit) {
0005   o << hit.vname() << "  0x" << std::hex << hit.id() << std::dec << ": Energy " << hit.energy()
0006     << " GeV: " << hit.energyTotal() << " GeV: Tof " << hit.time() << " ns: "
0007     << " Track # " << hit.trackId() << " Position " << hit.x() << ", " << hit.y() << ", " << hit.z() << ")";
0008 
0009   return o;
0010 }