Objects in C++
Object
Example
Description
Symbol
Symbol("s")
a real variable s.
Index
Index("mu",Type::VD)
a Lorentz index mu with dimension D.
Index("mu",Type::CA)
a color index a with dimension NA.
Index("mu",Type::CF)
a color index i with dimension NF.
Vector
Vector("p")
a vector/momentum p.
Pair
Pair(mu,nu)
a Kronecker delta δμν with Index mu and nu.
Pair(p,mu)
a Vector p with Lorentz Index mu, pμ, p.mu.
Pair(p,q)
a scalar product p⋅q between Vector p and q.
SUNT
SUNT(a,i,j)
a T-matrix element Tija for SU(N) group.
SUNT(lst{a,b,c},i,j)
a matrix element of a product of T, (TaTbTc)ij.
SUNF
SUNF(a,b,c)
a structure constant fabc of SU(N) group.
SUNF4
SUNF4(a,b,c,d)
a contract of two SUNF, fabefecd.
Eps
Eps(mu1,mu2,mu3,mu4)
a Levi-Civita tensor εμ1μ2μ3μ4.
Eps(p1,p2,mu1,mu2)
a partially contracted Levi-Civita tensor εp1p2μ1μ2.
Eps(p1,p2,p3,p4)
a fully contracted Levi-Civita tensor εp1p2p3p4.
DGamma
DGamma(mu,l)
a Dirac-γ matrix γμ for a fermion line l.
DGamma(p,l)
a Dirac slash p/=pμγν for a fermion line l.
DGamma(1/5/6/7,l)
a unit matrix, γ5, γ6, γ7 for a fermion line l.
SP
SP(mu.nu)
evaluated to δμν.
SP(p+s*q,mu)
evaluated to pμ+sqμ.
SP(2*p+q,p+s*q)
evaluated to 2p2+(2s+1)p⋅q+sq2.
GAS
GAS(mu)
evaluated to γμ.
GAS(3*p+s*q)
evaluated to 3p/+sq/.
GAS(1/5/6/7)
evaluated to a unit matrix, γ5, γ6, γ7, respectively.
LC
LC(p,mu,p+s*q,k)
evaluated to sεkphμ.
TR
TR(expr)
a wrapper for the Dirac trace of expression expr.
TTR
TTR(lst{a,b,c,d})
a wraaper for the SU(N) trace of TaTbTcTd.
form
form(expr)
evaluate the expression expr using FORM program.
Last updated