#include "DataFormats/HcalDetId/interface/HcalZDCDetId.h"
#include "DataFormats/CaloRecHit/interface/CaloRecHit.h"
Go to the source code of this file.
Classes | |
class | ZDCRecHit |
| |
Defines | |
#define | DATAFORMATS_HCALRECHIT_ZDCRECHIT_H 1 |
Functions | |
std::ostream & | operator<< (std::ostream &s, const ZDCRecHit &hit) |
#define DATAFORMATS_HCALRECHIT_ZDCRECHIT_H 1 |
Definition at line 2 of file ZDCRecHit.h.
std::ostream& operator<< | ( | std::ostream & | s, | |
const ZDCRecHit & | hit | |||
) |
Definition at line 11 of file ZDCRecHit.cc.
References CaloRecHit::energy(), ZDCRecHit::id(), and CaloRecHit::time().
00011 { 00012 return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns"; 00013 }