CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 3 of file HFRecHit.cc.

3  {
4  s << hit.id() << ": " << hit.energy() << " GeV";
5  if (hit.time() > -998) {
6  s << ", t= " << hit.time() << " to " << hit.timeFalling() << " ns";
7  }
8  return s;
9 }

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

hit::id
unsigned int id
Definition: SiStripHitEffFromCalibTree.cc:92
alignCSCRings.s
s
Definition: alignCSCRings.py:92
hit
Definition: SiStripHitEffFromCalibTree.cc:88