# An Example of Object Oriented User Interface

    // An example with basic graphics illustrating the Object Oriented
    // User Interface of ROOT. The  picture
    // produced is the one shown in  Mission Statement.
    //
    gROOT.Reset(c1)
    TCanvas c1(c1)
    c1.MoveOpaque
    c1.Range(0,0,19,12)
    //
    TPavesText rootf(0.4,0.6,18,2.3,20)
    rootf.AddText("ROOT Framework")
    rootf.SetFillColor(24)
    rootf.Draw
    //
    TPavesText eventg(0.99,2.66,3.29,5.67,4)
    eventg.SetFillColor(38)
    eventg.AddText(Event)
    eventg.AddText(Generators)
    eventg.Draw
    //
    TPavesText simul(3.62,2.71,6.15,7.96,7)
    simul.SetFillColor(49)
    simul.AddText(Detector)
    simul.AddText(Simulation)
    simul.Draw
    //
    TPavesText recon(6.56,2.69,10.07,10.15,11)
    recon.SetFillColor(25)
    recon.AddText(Event)
    recon.AddText(Reconstruction)
    recon.Draw
    //
    TPavesText daq(10.43,2.74,14.0,10.81,11)
    daq.AddText(Data)
    daq.AddText(Acquisition)
    daq.Draw
    //
    TPavesText anal(14.55,2.72,17.9,10.31,11)
    anal.SetFillColor(24)
    anal.AddText(Data)
    anal.AddText(Analysis)
    anal.Draw

[ROOT page] [Class index] [Top of the page]

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.