CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
PSimHit.h File Reference
#include "DataFormats/GeometryVector/interface/LocalPoint.h"
#include "DataFormats/GeometryVector/interface/LocalVector.h"
#include "SimDataFormats/EncodedEventId/interface/EncodedEventId.h"

Go to the source code of this file.

Classes

class  PSimHit
 

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