CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
HcalCalibRecHit.h File Reference
#include "DataFormats/HcalDetId/interface/HcalCalibDetId.h"

Go to the source code of this file.

Classes

class  HcalCalibRecHit
 

Functions

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

Function Documentation

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

Definition at line 8 of file HcalCalibRecHit.cc.

References HcalCalibRecHit::amplitude(), HcalCalibRecHit::id(), and HcalCalibRecHit::time().

8  {
9  return s << hit.id() << ": " << hit.amplitude() << " , " << hit.time() << " ns";
10 }
float amplitude() const
get the amplitude (generally fC, but can vary)
float time() const
get the hit time (if available)
HcalCalibDetId id() const
get the id