#include "FastSimulation/Particle/interface/ParticleTable.h"
#include "FastSimulation/Particle/interface/RawParticle.h"
#include <iostream>
#include <iomanip>
#include <cmath>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &o, const RawParticle &p) |
std::ostream& operator<< | ( | std::ostream & | o, |
const RawParticle & | p | ||
) |
Definition at line 230 of file RawParticle.cc.
References RawParticle::momentum(), 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; }