PYTHIA
8.312
|
#include <HelicityBasics.h>
Public Member Functions | |
GammaMatrix () | |
Constructors and destructor. | |
GammaMatrix (int mu) | |
complex & | operator() (int I, int J) |
Access an element of the matrix. | |
GammaMatrix | operator* (complex s) |
GammaMatrix * Scalar. | |
GammaMatrix | operator- (complex s) |
Gamma5 - I * Scalar. | |
GammaMatrix | operator+ (complex s) |
Gamma5 + I * Scalar. | |
Protected Attributes | |
complex | val [4] |
int | index [4] |
complex | COMPLEXZERO |
Need to define complex 0 as a variable for operator() to work. | |
Friends | |
Wave4 | operator* (Wave4 w, GammaMatrix g) |
Wave4 * GammaMatrix. More... | |
GammaMatrix | operator* (complex s, GammaMatrix g) |
Scalar * GammaMatrix. | |
GammaMatrix | operator- (complex s, GammaMatrix g) |
I * Scalar - Gamma5. | |
GammaMatrix | operator+ (complex s, GammaMatrix g) |
I * Scalar + Gamma5. | |
ostream & | operator<< (ostream &os, GammaMatrix g) |
<< GammaMatrix. | |
The GammaMatrix class is a special sparse matrix class used to write helicity matrix elements in conjuction with the Wave4 class. Note that only left to right multplication of Wave4 vectors with the GammaMatrix class is allowed. Additionally, subtracting a scalar from a GammaMatrix (or subtracting a GammaMatrix from a scalar) subtracts the scalar from each non-zero element of the GammaMatrix. This is designed specifically with the (1 - gamma^5) structure of matrix elements in mind.
GammaMatrix | ( | int | mu | ) |
Constructor for the GammaMatrix class. Gamma(1) through Gamma(3) give the corresponding gamma matrices using the Weyl basis as outlined in the HELAS paper. Gamma(4) gives the +— metric, while Gamma(5) gives the gamma^5 matrix.
|
friend |
Wave4 * GammaMatrix.
Wave4 * GammaMatrix.