CMS 3D CMS Logo

Classes | Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/DataFormats/HcalRecHit/interface/CastorRecHit.h File Reference

#include "DataFormats/HcalDetId/interface/HcalCastorDetId.h"
#include "DataFormats/CaloRecHit/interface/CaloRecHit.h"

Go to the source code of this file.

Classes

class  CastorRecHit

Functions

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

Function Documentation

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

Definition at line 11 of file CastorRecHit.cc.

References CaloRecHit::energy(), CastorRecHit::id(), and CaloRecHit::time().

                                                               {
  return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
}