CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 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
string s
Definition: asciidump.py:422