CMS 3D CMS Logo

Functions
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().

4  {
5  stream << "element: " << hit.getElement() << " charge: " << hit.getCharge() << " pos: " << hit.getPosition()
6  << " time: " << hit.getTime() << std::endl;
7  return stream;
8 }
float getPosition() const
int getElement() const
float getCharge() const
float getTime() const