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 <cmath>
#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 87 of file CoreSimTrack.cc.

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

88 {
89  o << t.type() << ", ";
90  o << t.momentum();
91  return o;
92 }
int type() const
particle type (HEP PDT convension)
Definition: CoreSimTrack.h:40
const math::XYZTLorentzVectorD & momentum() const
particle info...
Definition: CoreSimTrack.h:36