ROOT logo

From $ROOTSYS/tutorials/graphics/compile.C

{
   //
   // This macro produces the flowchart of TFormula::Compile
   //Author: Rene Brun
   
   gROOT->Reset();
   c1 = new TCanvas("c1");
   c1->Range(0,0,1,1);
   TPaveLabel ptc(0.02,0.42,0.2,0.58,"Compile");
   ptc.SetTextSize(0.40);
   ptc.SetFillColor(32);
   ptc.Draw();
   TPaveText psub(0.28,0.4,0.65,0.6);
   psub.Draw();
   TText *t2=psub.AddText("Substitute some operators");
   TText *t3=psub.AddText("to C++ style");
   TPaveLabel panal(0.73,0.42,0.98,0.58,"Analyze");
   panal.SetTextSize(0.40);
   panal.SetFillColor(42);
   panal.Draw();
   TArrow ar1(0.2,0.5,0.27,0.5,0.02,"|>");
   ar1.SetLineWidth(6);
   ar1.SetLineColor(4);
   ar1.Draw();
   TArrow ar2(0.65,0.5,0.72,0.5,0.02,"|>");
   ar2.SetLineWidth(6);
   ar2.SetLineColor(4);
   ar2.Draw();
}
 compile.C:1
 compile.C:2
 compile.C:3
 compile.C:4
 compile.C:5
 compile.C:6
 compile.C:7
 compile.C:8
 compile.C:9
 compile.C:10
 compile.C:11
 compile.C:12
 compile.C:13
 compile.C:14
 compile.C:15
 compile.C:16
 compile.C:17
 compile.C:18
 compile.C:19
 compile.C:20
 compile.C:21
 compile.C:22
 compile.C:23
 compile.C:24
 compile.C:25
 compile.C:26
 compile.C:27
 compile.C:28
 compile.C:29
 compile.C:30
thumb