#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(), RawParticle::pid(), RawParticle::status(), and RawParticle::vertex().
00230 { 00231 00232 o.setf(std::ios::fixed, std::ios::floatfield); 00233 o.setf(std::ios::right, std::ios::adjustfield); 00234 00235 00236 o << std::setw(4) << std::setprecision(2) << p.pid() << " ("; 00237 o << std::setw(2) << std::setprecision(2) << p.status() << "): "; 00238 o << std::setw(10) << std::setprecision(4) << p.momentum() << " "; 00239 o << std::setw(10) << std::setprecision(4) << p.vertex(); 00240 return o; 00241 00242 }