void quarks () {
tex.SetTextColor(titleColor); tex.SetTextFont(32);
tex.SetTextAlign(22);
tex.SetTextSize(0.14);
tex.DrawLatex(0.5,0.93,"Elementary");
tex.SetTextSize(0.12);
tex.DrawLatex(0.5,0.84,"Particles");
tex.SetTextSize(0.05);
tex.DrawLatex(0.5,0.067,"Three Generations of Matter");
tex.SetTextColor(
kBlack); tex.SetTextSize(0.8);
TPad *pad =
new TPad(
"pad",
"pad",0.15,0.11,0.85,0.79);
pad->
Divide(4,4,0.0003,0.0003);
pad->
cd(1);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"u");
pad->
cd(2);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"c");
pad->
cd(3);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"t");
pad->
cd(4);
gPad->SetFillColor(forceColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.55,"#gamma");
pad->
cd(5);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"d");
pad->
cd(6);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"s");
pad->
cd(7);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"b");
pad->
cd(8);
gPad->SetFillColor(forceColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.55,"g");
pad->
cd(9);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"#nu_{e}");
pad->
cd(10);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"#nu_{#mu}");
pad->
cd(11);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"#nu_{#tau}");
pad->
cd(12);
gPad->SetFillColor(forceColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"Z");
pad->
cd(13);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"e");
pad->
cd(14);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.56,"#mu");
pad->
cd(15);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"#tau");
pad->
cd(16);
gPad->SetFillColor(forceColor);
gPad->SetBorderSize(border);
tex.DrawLatex(.5,.5,"W");
}
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetTextAngle(Float_t tangle=0)
Set the text angle.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
To draw Mathematical Formula.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
The most important graphics class in the ROOT system.
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.
virtual void Draw(Option_t *option="")
Draw Pad in Current pad (re-parent pad if necessary).
TVirtualPad * cd(Int_t subpadnumber=0)
Set Current pad.