ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
framework.py
Go to the documentation of this file.
1 from ROOT import TCanvas, TPavesText
2 from ROOT import gROOT
3 
4 
5 
6 c1 = TCanvas("c1","The ROOT Framework",200,10,700,500)
7 c1.Range(0,0,19,12)
8 
9 rootf = TPavesText(0.4,0.6,18,2.3,20,"tr")
10 rootf.AddText("ROOT Framework")
11 rootf.SetFillColor(42)
12 rootf.Draw()
13 
14 eventg = TPavesText(0.99,2.66,3.29,5.67,4,"tr")
15 eventg.SetFillColor(38)
16 eventg.AddText("Event")
17 eventg.AddText("Generators")
18 eventg.Draw()
19 
20 simul = TPavesText(3.62,2.71,6.15,7.96,7,"tr")
21 simul.SetFillColor(41)
22 simul.AddText("Detector")
23 simul.AddText("Simulation")
24 simul.Draw()
25 
26 recon = TPavesText(6.56,2.69,10.07,10.15,11,"tr")
27 recon.SetFillColor(48)
28 recon.AddText("Event")
29 recon.AddText("Reconstruction")
30 recon.Draw()
31 
32 daq = TPavesText(10.43,2.74,14.0,10.81,11,"tr")
33 daq.AddText("Data")
34 daq.AddText("Acquisition")
35 daq.Draw()
36 
37 anal = TPavesText(14.55,2.72,17.9,10.31,11,"tr")
38 anal.SetFillColor(42)
39 anal.AddText("Data")
40 anal.AddText("Analysis")
41 anal.Draw()
42 
43 c1.Update()