The ROOT Framework
from ROOT import TCanvas, TPavesText
from ROOT import gROOT
c1 =
TCanvas(
"c1",
"The ROOT Framework",200,10,700,500)
c1.Range(0,0,19,12)
rootf.AddText("ROOT Framework")
rootf.SetFillColor(42)
rootf.Draw()
eventg.SetFillColor(38)
eventg.AddText("Event")
eventg.AddText("Generators")
eventg.Draw()
simul.SetFillColor(41)
simul.AddText("Detector")
simul.AddText("Simulation")
simul.Draw()
recon.SetFillColor(48)
recon.AddText("Event")
recon.AddText("Reconstruction")
recon.Draw()
daq.AddText("Data")
daq.AddText("Acquisition")
daq.Draw()
anal.SetFillColor(42)
anal.AddText("Data")
anal.AddText("Analysis")
anal.Draw()
c1.Update()
A PaveText (see TPaveText) with several stacked paves.
- Author
- Wim Lavrijsen
Definition in file framework.py.