CMS 3D CMS Logo

Classes | Functions
CoreSimTrack.h File Reference
#include "DataFormats/Math/interface/Vector3D.h"
#include "DataFormats/Math/interface/LorentzVector.h"
#include "SimDataFormats/EncodedEventId/interface/EncodedEventId.h"
#include <iosfwd>

Go to the source code of this file.

Classes

class  CoreSimTrack
 

Functions

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

Function Documentation

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

Definition at line 69 of file CoreSimTrack.cc.

References CoreSimTrack::momentum(), connectstrParser::o, and CoreSimTrack::type().

69  {
70  o << t.type() << ", ";
71  o << t.momentum();
72  return o;
73 }
int type() const
particle type (HEP PDT convension)
Definition: CoreSimTrack.h:22
const math::XYZTLorentzVectorD & momentum() const
Definition: CoreSimTrack.h:19