#include "SimDataFormats/CaloHit/interface/PCaloHit.h"
#include <iostream>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &o, const PCaloHit &hit) |
std::ostream& operator<< | ( | std::ostream & | o, | |
const PCaloHit & | hit | |||
) |
Definition at line 17 of file PCaloHit.cc.
References PCaloHit::depth(), PCaloHit::energyEM(), PCaloHit::energyHad(), PCaloHit::geantTrackId(), PCaloHit::id(), and PCaloHit::time().
00017 { 00018 o << "0x" <<std::hex << hit.id() << std::dec 00019 << ": Energy (EM) " << hit.energyEM() << " GeV " 00020 << ": Energy (Had) " << hit.energyHad() << " GeV " 00021 << " Tof " << hit.time() << " ns " 00022 << " Geant track #" << hit.geantTrackId() 00023 << " Encoded depth " << hit.depth(); 00024 00025 return o; 00026 }