CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
python.rootplot.tree2hists.RootTree Class Reference

Define classes and generators #######################################. More...

Public Member Functions

def __init__
 

Public Attributes

 cuts
 
 fileName
 
 scale
 
 tfile
 
 treeName
 
 ttree
 

Detailed Description

Define classes and generators #######################################.

Wrapper for TTrees and TNtuples, allowing association with
a scale and cuts.

Definition at line 62 of file tree2hists.py.

Constructor & Destructor Documentation

def python.rootplot.tree2hists.RootTree.__init__ (   self,
  treeName,
  fileName,
  scale = 1.0,
  cuts = "" 
)

Definition at line 65 of file tree2hists.py.

65 
66  def __init__(self, treeName, fileName, scale=1.0, cuts=""):
67  self.fileName = fileName
68  self.treeName = treeName
69  self.scale = scale
70  self.cuts = cuts
71  self.tfile = TFile()
72  self.ttree = TTree()

Member Data Documentation

python.rootplot.tree2hists.RootTree.cuts

Definition at line 69 of file tree2hists.py.

python.rootplot.tree2hists.RootTree.fileName

Definition at line 66 of file tree2hists.py.

python.rootplot.tree2hists.RootTree.scale

Definition at line 68 of file tree2hists.py.

Referenced by Vispa.Gui.PortWidget.PortWidget.connectionPoint(), Vispa.Gui.VispaWidget.VispaWidget.drawHeaderBackground(), Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortNames(), Vispa.Gui.ConnectableWidget.ConnectableWidget.getEffectivePortHeight(), Vispa.Gui.VispaWidget.VispaWidget.imageRectF(), Vispa.Gui.VispaWidget.VispaWidget.move(), Vispa.Gui.VispaWidget.VispaWidget.setZoom(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().

python.rootplot.tree2hists.RootTree.tfile

Definition at line 70 of file tree2hists.py.

python.rootplot.tree2hists.RootTree.treeName

Definition at line 67 of file tree2hists.py.

python.rootplot.tree2hists.RootTree.ttree

Definition at line 71 of file tree2hists.py.