CMS 3D CMS Logo

ZDCRecHit.h File Reference

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

Go to the source code of this file.

Classes

class  ZDCRecHit
 
Date
2006/06/26 18:52:00
Revision
1.1
More...

Defines

#define DATAFORMATS_HCALRECHIT_ZDCRECHIT_H   1

Functions

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


Define Documentation

#define DATAFORMATS_HCALRECHIT_ZDCRECHIT_H   1

Definition at line 2 of file ZDCRecHit.h.


Function Documentation

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

Definition at line 11 of file ZDCRecHit.cc.

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

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


Generated on Tue Jun 9 17:52:07 2009 for CMSSW by  doxygen 1.5.4