#include "SimGeneral/HepPDTRecord/interface/ParticleDataTable.h"
#include "DataFormats/Math/interface/LorentzVector.h"
#include "DataFormats/Math/interface/Vector3D.h"
#include "Math/GenVector/RotationX.h"
#include "Math/GenVector/RotationY.h"
#include "Math/GenVector/RotationZ.h"
#include "Math/GenVector/Rotation3D.h"
#include "Math/GenVector/AxisAngle.h"
#include "Math/GenVector/Boost.h"
#include <string>
#include <iosfwd>
Go to the source code of this file.
Classes | |
class | RawParticle |
Typedefs | |
typedef math::XYZTLorentzVector | XYZTLorentzVector |
typedef math::XYZVector | XYZVector |
Functions | |
std::ostream & | operator<< (std::ostream &o, const RawParticle &p) |
A prototype for a particle class. This class describes a general particle beeing a fourvector and containing a vertex (fourvector). It is defined in RawParticle.h
Definition at line 15 of file RawParticle.h.
typedef math::XYZVector XYZVector |
Definition at line 29 of file RawParticle.h.
std::ostream& operator<< | ( | std::ostream & | o, |
const RawParticle & | p | ||
) |
Definition at line 230 of file RawParticle.cc.
References RawParticle::momentum(), python::connectstrParser::o, RawParticle::pid(), RawParticle::status(), and RawParticle::vertex().
{ o.setf(std::ios::fixed, std::ios::floatfield); o.setf(std::ios::right, std::ios::adjustfield); o << std::setw(4) << std::setprecision(2) << p.pid() << " ("; o << std::setw(2) << std::setprecision(2) << p.status() << "): "; o << std::setw(10) << std::setprecision(4) << p.momentum() << " "; o << std::setw(10) << std::setprecision(4) << p.vertex(); return o; }