CMS 3D CMS Logo

Public Member Functions | Private Attributes

pyrootRender::interactiveRender Class Reference

List of all members.

Public Member Functions

def __init__
def draw

Private Attributes

 __canvas

Detailed Description

Definition at line 16 of file pyrootRender.py.


Constructor & Destructor Documentation

def pyrootRender::interactiveRender::__init__ (   self)

Definition at line 17 of file pyrootRender.py.

00018                       :
00019         Tk.Frame.__init__(self,master=root)
00020         ROOT.gStyle.SetOptStat(0)
00021         ROOT.gROOT.SetBatch(ROOT.kFALSE)
00022         self.__canvas=TCanvas("Luminosity","",1)
00023         self.__canvas.SetHighLightColor(2);
00024         self.__canvas.Range(-125.6732,-0.1364721,1123.878,1.178117)
00025         self.__canvas.SetFillColor(0)
00026         self.__canvas.SetBorderMode(0)
00027         self.__canvas.SetBorderSize(2)
00028         self.__canvas.SetGridx()
00029         self.__canvas.SetGridy()
00030         self.__canvas.SetFrameFillColor(19)
00031         self.__canvas.SetFrameBorderMode(0)
        self.__canvas.SetFrameBorderMode(0)

Member Function Documentation

def pyrootRender::interactiveRender::draw (   self,
  rootobj 
)

Definition at line 32 of file pyrootRender.py.

00033                           :
00034         rootobj.Draw()
00035         self.pack()
00036         button=Tk.Button(master=root,text='Quit',command=sys.exit)
00037         button.pack(side=Tk.BOTTOM)
        Tk.mainloop()

Member Data Documentation

Definition at line 17 of file pyrootRender.py.