CMS 3D CMS Logo

Classes | Functions
HBHERecHit.h File Reference
#include <vector>
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/CaloRecHit/interface/CaloRecHit.h"

Go to the source code of this file.

Classes

class  HBHERecHit
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 16 of file HBHERecHit.cc.

16  {
17  s << hit.id() << ": " << hit.energy() << " GeV";
18  if (hit.eraw() > -0.9e21) {
19  s << ", eraw=" << hit.eraw() << " GeV";
20  }
21  if (hit.eaux() > -0.9e21) {
22  s << ", eaux=" << hit.eaux() << " GeV";
23  }
24  if (hit.time() > -998) {
25  s << ", t= " << hit.time() << " to " << hit.timeFalling() << " ns";
26  }
27  return s;
28 }

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