herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Trace_type_basis.h
1// -*- C++ -*-
2/*
3 * Trace_type_basis.h
4 * Contains the declarations of the class Trace_type_basis, related types and operators.
5 * Created on: Aug 9, 2012
6 * Author: Malin Sjödahl
7 */
8
9#ifndef COLORFULL_Trace_type_basis_h
10#define COLORFULL_Trace_type_basis_h
11
12#include "Col_basis.h"
13
14
15namespace ColorFull {
16
21
22public:
23
26 // The maximal number of quark_lines is
27 // nq+n_g/2 for a Trace_basis and 1 for a Tree_level_gluon basis,
28 // but at this time nq and n_g are not known.
29 max_ql=0;
30 }
31
34 Poly_vec decompose( const Col_amp & Ca );
35
36
46 std::pair<int, int> new_vector_numbers( const Col_str & Cs, int emitter ) ;
47
48
63 std::pair<int, int> new_vector_numbers( int old_num, int emitter, int n_loop ) const;
64
65
66protected:
67
72 int max_ql;
73
85 int new_vector_number( int old_num, std::pair<int,int> place, int n_loop ) const;
86
96 std::pair<int,int> find_parton( int parton, int vec_num, int n_quark, int n_gluon, int n_loop ) const;
97
98};
99
100}
101
102#endif /* COLBASIS_H_ */
103
The full color amplitude is Scalar + Cs1+Cs2+Cs3... Col_amp is a class to contain info on several Col...
Definition: Col_amp.h:24
To contain a color basis, where each basis vector is a Col_amp.
Definition: Col_basis.h:24
A class to contain ONE color structure, a direct product of Quark_lines, multiplying a Polynomial,...
Definition: Col_str.h:26
Class for containing vector of Polynomials, and functions for Polynomial vectors.
Definition: Poly_vec.h:25
Trace_type_basis is used for the common features of Trace_basis and Tree_level_gluon_basis which both...
std::pair< int, int > find_parton(int parton, int vec_num, int n_quark, int n_gluon, int n_loop) const
This function is only intended for special case of: 0 qqbar-pairs and Tree_level_gluon_basis or Trace...
std::pair< int, int > new_vector_numbers(const Col_str &Cs, int emitter)
Function for finding the new vector numbers in the new basis (this trace basis) after radiating a new...
Trace_type_basis()
Default constructor.
std::pair< int, int > new_vector_numbers(int old_num, int emitter, int n_loop) const
This function is intended for tree-level processes with at most 2 qqbar-pairs.
int max_ql
The maximal number of quark-lines allowed in the basis.
Poly_vec decompose(const Col_amp &Ca)
A function for decomposing the color amplitude ca in the basis, returning the result as a Polynomial.
int new_vector_number(int old_num, std::pair< int, int > place, int n_loop) const
Function for finding the new vector number in the basis with n_p+1 partons (this basis) after inserti...