HepLib
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
QGRAF.h File Reference

QGRAF header file. More...

#include "HEP.h"
Include dependency graph for QGRAF.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HepLib::QGRAF::Process
 main interface to qgraf program More...
 
class  HepLib::QGRAF::Models
 

Namespaces

namespace  HepLib
 HepLib namespace.
 
namespace  HepLib::QGRAF
 namespace for generating Feynman diagrams or amplitudes.
 

Functions

lst HepLib::QGRAF::TopoLines (const ex &amp)
 generate the topological lines for the amplitude
 
void HepLib::QGRAF::DrawPDF (const lst &amps, string fn)
 generate Feynman diagrams for the amplitudes, in PDF format
 
vector< lst > HepLib::QGRAF::ShrinkCut (ex amp, lst prop, int n)
 cut the amplitude, and return the connected parts, may have many different cuts
 
bool HepLib::QGRAF::HasLoop (ex amp, lst prop)
 check a amplitude has a loop w.r.t. propapagtor
 
Index HepLib::QGRAF::LI (ex fn)
 
Index HepLib::QGRAF::DI (ex fn)
 
Index HepLib::QGRAF::TI (ex fn)
 
Index HepLib::QGRAF::FI (ex fn)
 
Index HepLib::QGRAF::CI (ex fn)
 
Index HepLib::QGRAF::AI (ex fn)
 
Index HepLib::QGRAF::RLI (ex fn)
 
Index HepLib::QGRAF::RDI (ex fn)
 
Index HepLib::QGRAF::RTI (ex fn)
 
Index HepLib::QGRAF::RFI (ex fn)
 
Index HepLib::QGRAF::RCI (ex fn)
 
Index HepLib::QGRAF::RAI (ex fn)
 
ex HepLib::QGRAF::QuarkPropagator (const ex &e, const ex &m)
 Propagator for quark.
 
ex HepLib::QGRAF::LeptonPropagator (const ex &e, const ex &m)
 Propagator for lepton.
 
ex HepLib::QGRAF::GluonPropagator (const ex &e, const ex &xi)
 Propagator for gluon.
 
ex HepLib::QGRAF::GluonGhostPropagator (const ex &e, const ex &xi, const ex &eta_G)
 Propagator for gluon ghost.
 
ex HepLib::QGRAF::AZWPropagator (const ex &e, const ex &m, const ex &xi)
 Propagator for A/Z/W boson.
 
ex HepLib::QGRAF::AZWGhostPropagator (const ex &e, const ex &m, const ex &xi, const ex &eta_G)
 Propagator for A/Z/W ghost.
 
ex HepLib::QGRAF::ScalarPropagator (const ex &e, const ex &m, const ex &xi)
 Propagator for scalar.
 
ex HepLib::QGRAF::QuarkGluonVertex (const ex &e, const ex &eta_s)
 q-qbar-g vertex
 
ex HepLib::QGRAF::Gluon3Vertex (const ex &e, const ex &eta_s)
 g-g-g vertex
 
ex HepLib::QGRAF::Gluon4Vertex (const ex &e, const ex &eta_s)
 g-g-g-g vertex
 
ex HepLib::QGRAF::GhostGluonVertex (const ex &e, const ex &eta_s, const ex &eta_G)
 ghbar-gh-g vertex
 
ex HepLib::QGRAF::QuarkAVertex (const ex &e, const ex &eq, const ex &eta_e)
 qbar-q-A vertex
 
ex HepLib::QGRAF::LeptonAVertex (const ex &e, const ex &eq, const ex &eta_e)
 l-lbar-A vertex
 
ex HepLib::QGRAF::IndexL2R (ex e, bool all)
 Change Index from left to right, only affect li/di/ci/ti, external index start with dim/lim/cim/tim will also be changed if all=true.
 
ex HepLib::QGRAF::IndexCC (ex e, bool all)
 
ex HepLib::QGRAF::GluonSumL (int qi, bool color)
 polarization sum for gluon
 
ex HepLib::QGRAF::QuarkSumL (int qi, ex p, ex m, bool color)
 polarization sum for quark
 
ex HepLib::QGRAF::AntiQuarkSumL (int qi, ex p, ex m, bool color)
 polarization sum for anti-quark
 
ex HepLib::QGRAF::GhostSumL (int qi)
 polarization sum for ghost
 
ex HepLib::QGRAF::AntiGhostSumL (int qi)
 polarization sum for anti-ghost, note that we will add extra - here
 
ex HepLib::QGRAF::J1SumL (int qi, ex p)
 polarization sum for total angular momentum
 
ex HepLib::QGRAF::GluonSumR (int qi, bool color)
 polarization sum for gluon
 
ex HepLib::QGRAF::QuarkSumR (int qi, ex p, ex m, bool color)
 polarization sum for quark
 
ex HepLib::QGRAF::AntiQuarkSumR (int qi, ex p, ex m, bool color)
 polarization sum for anti-quark
 
ex HepLib::QGRAF::GhostSumR (int qi)
 polarization sum for ghost
 
ex HepLib::QGRAF::AntiGhostSumR (int qi)
 polarization sum for anti-ghost, note that we will add extra - here
 
ex HepLib::QGRAF::GluonSum (int qi, bool color=true)
 
ex HepLib::QGRAF::QuarkSum (int qi, ex p, ex m, bool color=true)
 
ex HepLib::QGRAF::AntiQuarkSum (int qi, ex p, ex m, bool color=true)
 
ex HepLib::QGRAF::GhostSum (int qi)
 
ex HepLib::QGRAF::AntiGhostSum (int qi)
 
ex HepLib::QGRAF::J1Sum (int qi, ex p)
 

Variables

map< ex, string, ex_is_less > HepLib::QGRAF::LineTeX
 
map< ex, string, ex_is_less > HepLib::QGRAF::VerTeX
 
map< ex, string, ex_is_less > HepLib::QGRAF::InOutTeX
 

Detailed Description

QGRAF header file.

Definition in file QGRAF.h.