Draw Feynman diagrams.
void feynman()
{
c1->Range(0, 0, 140, 60);
l =
new TLine(10, 10, 30, 30);
l =
new TLine(10, 50, 30, 30);
Gamma->SetWavy();
Gamma->Draw();
l =
new TLine(110, 30, 130, 10);
l =
new TLine(110, 30, 130, 50);
}
int Int_t
Signed integer 4 bytes (int).
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
TLatex * DrawLatex(Double_t x, Double_t y, const char *text)
Use the TLine constructor to create a simple line.
void Draw(Option_t *option="") override
Default Draw method for all objects.
- Author
- Otto Schaile
Definition in file feynman.C.