CMS 3D CMS Logo

Functions
ZDCRecHit.cc File Reference
#include "DataFormats/HcalRecHit/interface/ZDCRecHit.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const ZDCRecHit &hit)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const ZDCRecHit hit 
)

Definition at line 14 of file ZDCRecHit.cc.

References hit::id, and alignCSCRings::s.

14  {
15  return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
16 }
unsigned int id