colorfull is hosted by Hepforge, IPPP Durham
ColorFull  1.1
/data/Documents/eclipse/workspace/ColorFull/Trace_type_basis.h
Go to the documentation of this file.
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 
21 
22 public:
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 
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 
int new_vector_number(int old_num, std::pair< int, int > place, int n_loop) const
Trace_type_basis()
Default constructor.
Definition: Trace_type_basis.h:25
Definition: Col_amp.h:24
Definition: Trace_type_basis.h:20
Definition: Poly_vec.h:25
std::pair< int, int > find_parton(int parton, int vec_num, int n_quark, int n_gluon, int n_loop) const
Definition: Col_basis.h:24
Definition: Col_amp.h:15
int max_ql
Definition: Trace_type_basis.h:72
Definition: Col_str.h:26
Poly_vec decompose(const Col_amp &Ca)
std::pair< int, int > new_vector_numbers(const Col_str &Cs, int emitter)