CMS 3D CMS Logo

RawParticle.h File Reference

#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
 A prototype for a particle class.
typedef math::XYZVector XYZVector

Functions

std::ostream & operator<< (std::ostream &o, const RawParticle &p)


Typedef Documentation

typedef math::XYZTLorentzVector XYZTLorentzVector

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

Author:
Stephan Wynhoff

Definition at line 15 of file RawParticle.h.

typedef math::XYZVector XYZVector

Definition at line 29 of file RawParticle.h.


Function Documentation

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 } 


Generated on Tue Jun 9 17:52:57 2009 for CMSSW by  doxygen 1.5.4