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.Plot Class Reference

Public Member Functions

def __init__
 

Public Attributes

 cuts
 
 histogram
 
 name
 
 treeVariable
 

Detailed Description

Wrapper for TH1 objects, associating TTree variables with a histogram

Definition at line 73 of file tree2hists.py.

Constructor & Destructor Documentation

def python.rootplot.tree2hists.Plot.__init__ (   self,
  treeVariable,
  histogram,
  cuts = "",
  storeErrors = True 
)

Definition at line 75 of file tree2hists.py.

75 
76  def __init__(self, treeVariable, histogram, cuts="", storeErrors=True):
77  self.treeVariable = treeVariable
78  self.histogram = histogram
79  self.name = histogram.GetName()
80  self.cuts = cuts
81  if storeErrors: self.histogram.Sumw2()

Member Data Documentation

python.rootplot.tree2hists.Plot.cuts

Definition at line 79 of file tree2hists.py.

python.rootplot.tree2hists.Plot.histogram

Definition at line 77 of file tree2hists.py.

python.rootplot.tree2hists.Plot.name

Definition at line 78 of file tree2hists.py.

Referenced by dirstructure.Directory.__create_pie_image(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dirstructure.Comparison.__make_image(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), dirstructure.Directory.calcStats(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), utils.StatisticalTest.get_status(), dirstructure.Directory.print_report(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), and Vispa.Views.PropertyView.Property.valueChanged().

python.rootplot.tree2hists.Plot.treeVariable

Definition at line 76 of file tree2hists.py.