Revision 1ff8cfc023263a593b0e186877352756557e2553 authored by Rene Brun on 19 November 2004, 06:46:19 UTC, committed by Rene Brun on 19 November 2004, 06:46:19 UTC
# Default 3d Viewer
# by default 3-D views are shown in the pad.
# if the next line is activated, the default viewer will be OpenGL
#Viewer3D.DefaultDrawOption:   ogl


git-svn-id: http://root.cern.ch/svn/root/trunk@10564 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 8524938
Raw File
framework.rb
gROOT.Reset();
c1 = TCanvas.new("c1","The ROOT Framework",200,10,700,500)
c1.Range(0,0,19,12)

rootf = TPavesText.new(0.4,0.6,18,2.3,20,"tr")
rootf.AddText("ROOT Framework")
rootf.SetFillColor(42)
rootf.Draw()

eventg = TPavesText.new(0.99,2.66,3.29,5.67,4,"tr")
eventg.SetFillColor(38)
eventg.AddText("Event")
eventg.AddText("Generators")
eventg.Draw()

simul = TPavesText.new(3.62,2.71,6.15,7.96,7,"tr")
simul.SetFillColor(41)
simul.AddText("Detector")
simul.AddText("Simulation")
simul.Draw()

recon = TPavesText.new(6.56,2.69,10.07,10.15,11,"tr")
recon.SetFillColor(48)
recon.AddText("Event")
recon.AddText("Reconstruction")
recon.Draw()

daq = TPavesText.new(10.43,2.74,14.0,10.81,11,"tr")
daq.AddText("Data")
daq.AddText("Acquisition")
daq.Draw()

anal = TPavesText.new(14.55,2.72,17.9,10.31,11,"tr")
anal.SetFillColor(42)
anal.AddText("Data")
anal.AddText("Analysis")
anal.Draw()

c1.Update()
gApplication.Run
back to top