CMS 3D CMS Logo

CSCDetectorHit.cc File Reference

#include "SimMuon/CSCDigitizer/src/CSCDetectorHit.h"
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &stream, const CSCDetectorHit &hit)


Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const CSCDetectorHit hit 
)

Definition at line 4 of file CSCDetectorHit.cc.

References lat::endl(), CSCDetectorHit::getCharge(), CSCDetectorHit::getElement(), CSCDetectorHit::getPosition(), and CSCDetectorHit::getTime().

00004                                                                          {
00005   stream << "element: " << hit.getElement()
00006          << "  charge: " << hit.getCharge()
00007          << "   pos:  " << hit.getPosition()
00008          << "   time: " << hit.getTime() << std::endl; 
00009   return stream;
00010 }


Generated on Tue Jun 9 17:55:50 2009 for CMSSW by  doxygen 1.5.4