herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
MatrixElement
Matchbox
ColorFull
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
15
namespace
ColorFull {
16
20
class
Trace_type_basis
:
public
Col_basis
{
21
22
public
:
23
25
Trace_type_basis
():
Col_basis
(){
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
66
protected
:
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
ColorFull::Col_amp
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
ColorFull::Col_basis
To contain a color basis, where each basis vector is a Col_amp.
Definition:
Col_basis.h:24
ColorFull::Col_str
A class to contain ONE color structure, a direct product of Quark_lines, multiplying a Polynomial,...
Definition:
Col_str.h:26
ColorFull::Poly_vec
Class for containing vector of Polynomials, and functions for Polynomial vectors.
Definition:
Poly_vec.h:25
ColorFull::Trace_type_basis
Trace_type_basis is used for the common features of Trace_basis and Tree_level_gluon_basis which both...
Definition:
Trace_type_basis.h:20
ColorFull::Trace_type_basis::find_parton
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...
ColorFull::Trace_type_basis::new_vector_numbers
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...
ColorFull::Trace_type_basis::Trace_type_basis
Trace_type_basis()
Default constructor.
Definition:
Trace_type_basis.h:25
ColorFull::Trace_type_basis::new_vector_numbers
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.
ColorFull::Trace_type_basis::max_ql
int max_ql
The maximal number of quark-lines allowed in the basis.
Definition:
Trace_type_basis.h:72
ColorFull::Trace_type_basis::decompose
Poly_vec decompose(const Col_amp &Ca)
A function for decomposing the color amplitude ca in the basis, returning the result as a Polynomial.
ColorFull::Trace_type_basis::new_vector_number
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...
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6