CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
pyrootRender.interactiveRender Class Reference
Inheritance diagram for pyrootRender.interactiveRender:

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.

17 
18  def __init__(self):
19  Tk.Frame.__init__(self,master=root)
20  ROOT.gStyle.SetOptStat(0)
21  ROOT.gROOT.SetBatch(ROOT.kFALSE)
22  self.__canvas=TCanvas("Luminosity","",1)
23  self.__canvas.SetHighLightColor(2);
24  self.__canvas.Range(-125.6732,-0.1364721,1123.878,1.178117)
25  self.__canvas.SetFillColor(0)
26  self.__canvas.SetBorderMode(0)
27  self.__canvas.SetBorderSize(2)
28  self.__canvas.SetGridx()
29  self.__canvas.SetGridy()
30  self.__canvas.SetFrameFillColor(19)
31  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.

References CastorCtdcPacker.pack(), CastorPacker.pack(), HcalPacker.pack(), CSCDCCEventData.pack(), CSCTMBData.pack(), CSCDDUEventData.pack(), CastorMergerData.pack(), CastorCORData.pack(), HcalHTRData.pack(), L1CaloMipQuietRegion.pack(), CSCEventData.pack(), CSCALCTHeader.pack(), and L1CaloRegion.pack().

32 
33  def draw(self,rootobj):
34  rootobj.Draw()
35  self.pack()
36  button=Tk.Button(master=root,text='Quit',command=sys.exit)
37  button.pack(side=Tk.BOTTOM)
Tk.mainloop()

Member Data Documentation

pyrootRender.interactiveRender.__canvas
private

Definition at line 21 of file pyrootRender.py.