CMS 3D CMS Logo

CaloRecHit.h File Reference

#include "DataFormats/DetId/interface/DetId.h"
#include <ostream>

Go to the source code of this file.

Classes

class  CaloRecHit
 
Date
2005/10/04 14:09:13
Revision
1.4
More...

Defines

#define DATAFORMATS_CALORECHIT_CALORECHIT_H   1

Functions

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


Define Documentation

#define DATAFORMATS_CALORECHIT_CALORECHIT_H   1

Definition at line 2 of file CaloRecHit.h.


Function Documentation

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

Definition at line 13 of file CaloRecHit.cc.

References CaloRecHit::detid(), CaloRecHit::energy(), DetId::rawId(), and CaloRecHit::time().

00013                                                              {
00014   return s << hit.detid().rawId() << ", " << hit.energy() << " GeV, " << hit.time() << " ns";
00015 }


Generated on Tue Jun 9 17:51:48 2009 for CMSSW by  doxygen 1.5.4