ColorFull::Quark_line Class Reference
Detailed DescriptionA class to contain one quark-line with gluons attached multiplying a Polynomial, Poly. The partons are ordered as {q,g1,g2...gn,qbar} for an open quark-line containing a q and a qbar, or (g1,g2...gn) for a closed quark-line with only gluons. The parton numbers are stored as components in a vector, a quark_line, whereas the member open contains information about it the quark-line is closed as a trace (true) or open, false. Constructor & Destructor Documentation◆ Quark_line() [1/2]
Constructor used to set the color structure using a string. The string should be of form Polynomial*quark_line, used as "Quark_line Ql("5*TR*Nc^2 {1,6,7,2}");" for an open Quark_line with a quark with number 1, two gluons with number 6 and 7, and a qbar with number 2. For a closed Quark_line with 3 gluons the syntax is "Quark_line Ql("(1,2,3)");". The integers should be positive. The Polynomial should be in such a shape that it is readable by the Polynomial( std::string ) constructor. ◆ Quark_line() [2/2]
Default constructor. Member Function Documentation◆ after()
Returns a Quark_line where the ql member is changed to contain only partons after place j. ◆ append() [1/2]
Appends parton p to the Quark_line. ◆ append() [2/2]
Appends a whole quark_line to the Quark_line. ◆ at()
Returns the parton at place j. For closed quark_lines j may be between -size and 2*size. ◆ before()
Returns a Quark_line where the ql member is changed to contain only partons before place j. ◆ clear()
Erase information in quark_line ql. ◆ conjugate()
Conjugates the Quark_line by reversing the quark_line ql and conjugating the Polynomial Poly. ◆ contract_neighboring_gluons() [1/2]
Contracts neighboring gluons in the Quark_line starting at j, only intended for closed Quark_lines. ◆ contract_neighboring_gluons() [2/2]
Contracts neighboring gluons in a Quark_line starting at place 0, and checking all neighbors, only intended for closed Quark_lines. ◆ contract_next_neighboring_gluons() [1/2]
Contracts neighboring and next to neighboring gluons in the Quark_line, starting at place j (i.e. checking gluon j and j+2). Also looks for new neighbors, only intended for closed Quark_lines. ◆ contract_next_neighboring_gluons() [2/2]
Contracts neighboring and next to neighboring gluons in the Quark_line, starting with contracting neighbors, only intended for closed Quark_lines. ◆ empty()
Is the quark_line empty? ◆ erase()
To erase the parton at place i. ◆ insert()
Inserting parton p at place j. ◆ normal_order()
If the quark_line is open, there is nothing to do, else order with smallest gluon index first (use that the trace is cyclic). ◆ prepend() [1/2]
Prepends parton p to the Quark_line. ◆ prepend() [2/2]
Prepends a whole quark_line to the Quark_line. ◆ read_in_Quark_line()
Function for reading in the Quark_line from the file filename, uses Quark_line_of_str. ◆ size()
The size of the quark_line. ◆ smallest()
Function for finding the "smallest" Quark_line of Ql1 and Ql2, used for deciding which Quark_line should stand first while normal ordering. Does NOT first normal order the Quark_lines. If only one is open, that Quark_line should stand first. If both are open or both are closed, the longest Quark_line should stand first. If the size is the same, the Quark_line with smallest starting number should stand first. If the first number is the same, check the 2nd number, then the 3rd... 1 is returned if Ql1 should stand first, and 2 if Ql2 should stand first. If Ql1==Ql2, 0 is returned. ◆ split_Quark_line()
Function for splitting a closed Quark_line into two Quark_lines. The gluons at j1 and j2 are removed in the split. May create 1-rings and 0-rings. ◆ write_out_Quark_line()
Function for writing out the Quark_line to a file with name filename. Member Data Documentation◆ open
Is the string open, with a q in the beginning and a qbar in the end, or not? ◆ Poly
Polynomial factor, multiplying the quark_line. ◆ ql
To actually contain the color information, in order {q, g1, ... gn, qbar} or (g1, ..., gn). The documentation for this class was generated from the following file:
Generated on Fri Jun 2 2017 11:57:54 for ColorFull by 1.8.13 |