CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 59 of file CoreSimTrack.cc.

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

60 {
61  o << t.type() << ", ";
62  o << t.momentum();
63  return o;
64 }
int type() const
particle type (HEP PDT convension)
Definition: CoreSimTrack.h:25
const math::XYZTLorentzVectorD & momentum() const
Definition: CoreSimTrack.h:22