CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/SimMuon/CSCDigitizer/src/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 CSCDetectorHit::getCharge(), CSCDetectorHit::getElement(), CSCDetectorHit::getPosition(), and CSCDetectorHit::getTime().

                                                                         {
  stream << "element: " << hit.getElement()
         << "  charge: " << hit.getCharge()
         << "   pos:  " << hit.getPosition()
         << "   time: " << hit.getTime() << std::endl; 
  return stream;
}