Draw Feynman diagrams.
void feynman()
{
c1->Range(0, 0, 140, 60);
Gamma->SetWavy();
Gamma->Draw();
}
R__EXTERN TStyle * gStyle
virtual Width_t GetLineWidth() const
Return the line width.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
Implements curly or wavy arcs used to draw Feynman diagrams.
Implements curly or wavy polylines used to draw Feynman diagrams.
virtual void SetWavy()
Set wavy.
To draw Mathematical Formula.
TLatex * DrawLatex(Double_t x, Double_t y, const char *text)
Make a copy of this object with the new parameters And copy object attributes.
Use the TLine constructor to create a simple line.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
void Draw(Option_t *option="") override
Draw this polyline with its current attributes.
- Author
- Otto Schaile
Definition in file feynman.C.