CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 11 of file HcalCalibRecHit.cc.

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

11  {
12  return s << hit.id() << ": " << hit.amplitude() << " , " << hit.time() << " ns";
13 }
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