CMS 3D CMS Logo

Functions
PSimHit.cc File Reference
#include "SimDataFormats/TrackingHit/interface/PSimHit.h"
#include <ostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &o, const PSimHit &hit)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const PSimHit hit 
)

Definition at line 4 of file PSimHit.cc.

References PSimHit::detUnitId(), PSimHit::entryPoint(), and PSimHit::tof().

4  {
5  return o << hit.detUnitId() << " " << hit.entryPoint() << " " << hit.tof();
6 }
float tof() const
deprecated name for timeOfFlight()
Definition: PSimHit.h:76
Local3DPoint entryPoint() const
Entry point in the local Det frame.
Definition: PSimHit.h:43
unsigned int detUnitId() const
Definition: PSimHit.h:97