#include "SimDataFormats/EncodedEventId/interface/EncodedEventId.h"
#include <iosfwd>
Go to the source code of this file.
Classes | |
class | PCaloHit |
Functions | |
std::ostream & | operator<< (std::ostream &, const PCaloHit &) |
std::ostream& operator<< | ( | std::ostream & | , | |
const PCaloHit & | ||||
) |
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 }