Pythia7::Shower::Vec4 Class Reference

Vec4 class. More...

#include <Basics.h>

List of all members.

Public Member Functions

 Vec4 (double xin=0., double yin=0., double zin=0., double tin=0.)
 Constructors.
 Vec4 (const Vec4 &v)
 NOT DOCUMENTED.
Vec4operator= (const Vec4 &v)
 NOT DOCUMENTED.
void p (double xin, double yin, double zin, double tin)
 Member functions for input.
void px (double xin)
 NOT DOCUMENTED.
void py (double yin)
 NOT DOCUMENTED.
void pz (double zin)
 NOT DOCUMENTED.
void e (double tin)
 NOT DOCUMENTED.
double px () const
 Member functions for output.
double py () const
 NOT DOCUMENTED.
double pz () const
 NOT DOCUMENTED.
double e () const
 NOT DOCUMENTED.
double m2calc () const
 NOT DOCUMENTED.
double mcalc () const
 NOT DOCUMENTED.
double pT () const
 NOT DOCUMENTED.
double pT2 () const
 NOT DOCUMENTED.
double pAbs () const
 NOT DOCUMENTED.
double p2 () const
 NOT DOCUMENTED.
double theta () const
 NOT DOCUMENTED.
double phi () const
 NOT DOCUMENTED.
void rescalep (double fac)
 Member functions that perform operations.
void flip ()
 NOT DOCUMENTED.
void rot (double, double)
 NOT DOCUMENTED.
void rotaxis (double, double, double, double)
 NOT DOCUMENTED.
void rotaxis (double, const Vec4 &)
 NOT DOCUMENTED.
void bst (double, double, double)
 Member functions that perform operations.
void bst (const Vec4 &)
 NOT DOCUMENTED.
void rotbst (const RotBstMatrix &)
 NOT DOCUMENTED.
Vec4operator+= (const Vec4 &v)
 Operator overloading with member functions.
Vec4operator-= (const Vec4 &v)
 NOT DOCUMENTED.
Vec4operator*= (double f)
 NOT DOCUMENTED.
Vec4operator/= (double f)
 NOT DOCUMENTED.

Private Attributes

double xx
 The x component.
double yy
 The y component.
double zz
 The z component.
double tt
 The time component.

Friends

Vec4 operator+ (const Vec4 &, const Vec4 &)
 Operator overloading with friends.
Vec4 operator- (const Vec4 &, const Vec4 &)
 Operator overloading with friends.
Vec4 operator* (double, const Vec4 &)
 Operator overloading with friends.
Vec4 operator* (const Vec4 &, double)
 Operator overloading with friends.
Vec4 operator/ (const Vec4 &, double)
 Operator overloading with friends.
double operator* (const Vec4 &, const Vec4 &)
 Operator overloading with friends.
double dot3 (const Vec4 &, const Vec4 &)
 Scalar product of 3-vector parts.
Vec4 cross3 (const Vec4 &, const Vec4 &)
 Cross product of 3-vector parts.
double costheta (const Vec4 &v1, const Vec4 &v2)
 Cosine of the polar angle between v1 and v2.
double theta (const Vec4 &v1, const Vec4 &v2)
 The polar angle between v1 and v2.
double cosphi (const Vec4 &v1, const Vec4 &v2, const Vec4 &n)
 Cosine of the azimuthal angle between v1 and v2 around the n axis.
double phi (const Vec4 &v1, const Vec4 &v2, const Vec4 &n)
 The azimuthal angle between v1 and v2 around the n axis.
ostream & operator<< (ostream &, const Vec4 &)
 Print a four-vector.


Detailed Description

Vec4 class.

This class implements four-vectors, in energy-momentum space. (But could equally well be used to hold space-time four-vectors.) Used by the internal Pythia7 Shower classes.

Definition at line 358 of file Basics.h.


Member Data Documentation

double Pythia7::Shower::Vec4::xx [private]

double Pythia7::Shower::Vec4::yy [private]

double Pythia7::Shower::Vec4::zz [private]

double Pythia7::Shower::Vec4::tt [private]

The time component.

Definition at line 532 of file Basics.h.

Referenced by e(), m2calc(), mcalc(), Pythia7::Shower::operator*(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and p().


The documentation for this class was generated from the following file:

Generated on Thu Apr 29 12:45:35 2010 for Pythia7 by  doxygen 1.5.5