CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
SimTrack.cc File Reference
#include "SimDataFormats/Track/interface/SimTrack.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &o, const SimTrack &t)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const SimTrack t 
)

Definition at line 21 of file SimTrack.cc.

References SimTrack::genpartIndex(), and SimTrack::vertIndex().

21  {
22  return o << (SimTrack::Core)(t) << ", " << t.vertIndex() << ", " << t.genpartIndex();
23 }
CoreSimTrack Core
Definition: SimTrack.h:11
int genpartIndex() const
index of the corresponding Generator particle in the Event container (-1 if no Genpart) ...
Definition: SimTrack.h:37
int vertIndex() const
index of the vertex in the Event container (-1 if no vertex)
Definition: SimTrack.h:33