CMS 3D CMS Logo

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__ (self, treeName, fileName, scale=1.0, cuts="")
 

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 63 of file tree2hists.py.

Constructor & Destructor Documentation

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

Definition at line 66 of file tree2hists.py.

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()
73 
def __init__(self, treeName, fileName, scale=1.0, cuts="")
Definition: tree2hists.py:66

Member Data Documentation

python.rootplot.tree2hists.RootTree.cuts
python.rootplot.tree2hists.RootTree.fileName

Definition at line 67 of file tree2hists.py.

python.rootplot.tree2hists.RootTree.scale
python.rootplot.tree2hists.RootTree.tfile

Definition at line 71 of file tree2hists.py.

python.rootplot.tree2hists.RootTree.treeName

Definition at line 68 of file tree2hists.py.

python.rootplot.tree2hists.RootTree.ttree

Definition at line 72 of file tree2hists.py.