#include "DataFormats/DetId/interface/DetId.h"
#include <ostream>
Go to the source code of this file.
Classes | |
class | CaloRecHit |
| |
Defines | |
#define | DATAFORMATS_CALORECHIT_CALORECHIT_H 1 |
Functions | |
std::ostream & | operator<< (std::ostream &s, const CaloRecHit &hit) |
#define DATAFORMATS_CALORECHIT_CALORECHIT_H 1 |
Definition at line 2 of file CaloRecHit.h.
std::ostream& operator<< | ( | std::ostream & | s, | |
const CaloRecHit & | hit | |||
) |
Definition at line 13 of file CaloRecHit.cc.
References CaloRecHit::detid(), CaloRecHit::energy(), DetId::rawId(), and CaloRecHit::time().
00013 { 00014 return s << hit.detid().rawId() << ", " << hit.energy() << " GeV, " << hit.time() << " ns"; 00015 }