colorfull is hosted by Hepforge, IPPP Durham
ColorFull  1.1
ColorFull::Trace_basis Class Reference

#include <Trace_basis.h>

Inheritance diagram for ColorFull::Trace_basis:
ColorFull::Trace_type_basis ColorFull::Col_basis

Public Member Functions

 Trace_basis ()
 
 Trace_basis (int n_quark, int n_gluon)
 
 Trace_basis (int n_quark, int n_gluon, int n_loop)
 
void create_basis (int n_q, int n_g)
 
void create_basis (int n_q, int n_g, int n_loop)
 
- Public Member Functions inherited from ColorFull::Trace_type_basis
 Trace_type_basis ()
 
Poly_vec decompose (const Col_amp &Ca)
 
std::pair< int, int > new_vector_numbers (const Col_str &Cs, int emitter)
 
std::pair< int, int > new_vector_numbers (int old_num, int emitter, int n_loop) const
 
- Public Member Functions inherited from ColorFull::Col_basis
 Col_basis ()
 
virtual ~Col_basis ()
 
bool is_Trace_basis () const
 
bool is_Orthogonal_basis () const
 
bool is_Tree_level_gluon_basis () const
 
uint size () const
 
const Col_ampat (const int i) const
 
Col_ampat (const int i)
 
bool empty () const
 
void clear ()
 
void append (Col_amp Ca)
 
void append (col_basis cb_in)
 
void scalar_product_matrix ()
 
void scalar_product_matrix_num ()
 
virtual void scalar_product_matrix_no_mem ()
 
void scalar_product_matrix_num_no_mem ()
 
void leading_scalar_product_matrix ()
 
virtual Polynomial scalar_product (const Col_amp &Ca1, const Col_amp &Ca2)
 
virtual cnum scalar_product_num (const Col_amp &Ca1, const Col_amp &Ca2)
 
virtual cnum scalar_product_num (const cvec &v1, const cvec &v2)
 
cnum scalar_product_num_diagonal (const cvec &v1, const cvec &v2)
 
std::string basis_file_name () const
 
std::string spm_file_name (const bool leading, const bool poly) const
 
virtual void read_in_Col_basis (std::string filename)
 
virtual void read_in_Col_basis ()
 
void read_in_d_spm (std::string filename)
 
void read_in_d_spm ()
 
void read_in_leading_d_spm (std::string filename)
 
void read_in_leading_d_spm ()
 
void read_in_P_spm (std::string filename)
 
void read_in_P_spm ()
 
void read_in_leading_P_spm (std::string filename)
 
void read_in_leading_P_spm ()
 
virtual void write_out_Col_basis (std::string filename) const
 
virtual void write_out_Col_basis () const
 
void write_out_d_spm (std::string filename) const
 
void write_out_d_spm () const
 
void write_out_P_spm (std::string filename) const
 
void write_out_P_spm () const
 
void write_out_leading_d_spm (std::string filename) const
 
void write_out_leading_d_spm () const
 
void write_out_leading_P_spm (std::string filename) const
 
void write_out_leading_P_spm () const
 
void simplify ()
 
Col_amp exchange_gluon (uint vec, int p1, int p2)
 
Poly_matr color_gamma (int p1, int p2)
 
int n_quark_check () const
 
int n_gluon_check () const
 
void rename_indices (Col_str &Cs1, Col_str &Cs2) const
 

Additional Inherited Members

- Public Attributes inherited from ColorFull::Col_basis
int nq
 
int ng
 
col_basis cb
 
Poly_matr P_spm
 
Poly_matr leading_P_spm
 
dmatr d_spm
 
dmatr leading_d_spm
 
Col_functions Col_fun
 
- Protected Member Functions inherited from ColorFull::Trace_type_basis
int new_vector_number (int old_num, std::pair< int, int > place, int n_loop) const
 
std::pair< int, int > find_parton (int parton, int vec_num, int n_quark, int n_gluon, int n_loop) const
 
- Protected Member Functions inherited from ColorFull::Col_basis
virtual void scalar_product_matrix (bool save_P_spm, bool save_d_spm, bool use_mem)
 
virtual Polynomial ij_entry (const int i, const int j) const
 
bool check_diagonal (const dmatr &matr) const
 
bool check_symmetry (const dmatr &matr) const
 
void check_spm () const
 
void Col_basis_of_str (std::string str)
 
virtual std::ostream & write_out_Col_basis_to_stream (std::ostream &out) const
 
- Protected Attributes inherited from ColorFull::Trace_type_basis
int max_ql
 
- Protected Attributes inherited from ColorFull::Col_basis
bool trace_basis
 
bool tree_level_gluon_basis
 
bool orthogonal_basis
 

Detailed Description

In a trace basis the basis vectors are closed or open quark-lines or products of close and open quark-lines.

Constructor & Destructor Documentation

◆ Trace_basis() [1/3]

ColorFull::Trace_basis::Trace_basis ( )
inline

Default constructor.

◆ Trace_basis() [2/3]

ColorFull::Trace_basis::Trace_basis ( int  n_quark,
int  n_gluon 
)
inline

Constructor for creating a trace basis for n_quark qqbar-pairs and n_gluon gluons.

◆ Trace_basis() [3/3]

ColorFull::Trace_basis::Trace_basis ( int  n_quark,
int  n_gluon,
int  n_loop 
)
inline

Constructor for creating a trace basis for n_quark qqbar-pairs and n_gluon gluons, keeping only those color structures that can appear to order n_loop in pure QCD. (Note: For electroweak interactions more color structures may be needed.)

Member Function Documentation

◆ create_basis() [1/2]

void ColorFull::Trace_basis::create_basis ( int  n_q,
int  n_g 
)

Creates a trace basis with basis vectors saved in the cb member. Keeps all possible basis vectors, i.e., the basis is valid to any order in perturbation theory.

◆ create_basis() [2/2]

void ColorFull::Trace_basis::create_basis ( int  n_q,
int  n_g,
int  n_loop 
)

Creates a trace basis with basis vectors saved in the cb member. Keeps only basis vectors needed up to n_loop in pure QCD.


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