Public Member Functions | |
def | __init__ |
def | branch_ |
def | copyStructure |
def | fill |
def | reset |
def | setDefaultFloatType |
def | setDefaultIntType |
def | var |
def | vector |
def | vfill |
Public Attributes | |
defaultFloatType | |
defaultIntType | |
defaults | |
fillers | |
tree | |
vars | |
vecdefaults | |
vecvars | |
def tree.Tree.branch_ | ( | self, | |
selfmap, | |||
varName, | |||
type, | |||
len, | |||
postfix = "" , |
|||
storageType = "default" , |
|||
title = None |
|||
) |
Backend function used to create scalar and vector branches. Users should call "var" and "vector", not this function directly.
Definition at line 32 of file tree.py.
References tree.Tree.defaultFloatType, and tree.Tree.defaultIntType.
Referenced by tree.Tree.var(), and tree.Tree.vector().
def tree.Tree.copyStructure | ( | self, | |
tree | |||
) |
def tree.Tree.fill | ( | self, | |
varName, | |||
value | |||
) |
Definition at line 116 of file tree.py.
References tree.Tree.fillers, tree.Tree.vars, and PlotAlignmentValidation::DMRPlotInfo.vars.
def tree.Tree.reset | ( | self | ) |
Definition at line 103 of file tree.py.
References tree.Tree.defaults, geometryComparison.GeometryComparison.defaults, svgfig.Path.defaults, svgfig.Curve.defaults, svgfig.Poly.defaults, svgfig.Text.defaults, svgfig.TextGlobal.defaults, svgfig.Dots.defaults, svgfig.Line.defaults, svgfig.LineGlobal.defaults, svgfig.VLine.defaults, svgfig.HLine.defaults, svgfig.Rect.defaults, svgfig.Ellipse.defaults, svgfig.Ticks.defaults, svgfig.CurveAxis.defaults, svgfig.LineAxis.defaults, svgfig.XAxis.defaults, svgfig.YAxis.defaults, svgfig.Axes.defaults, svgfig.HGrid.defaults, svgfig.VGrid.defaults, svgfig.Grid.defaults, svgfig.XErrorBars.defaults, svgfig.YErrorBars.defaults, tree.Tree.fillers, and tree.Tree.vecdefaults.
def tree.Tree.setDefaultFloatType | ( | self, | |
defaultFloatType | |||
) |
Definition at line 17 of file tree.py.
References tree.Tree.defaultFloatType.
def tree.Tree.setDefaultIntType | ( | self, | |
defaultIntType | |||
) |
Definition at line 20 of file tree.py.
References tree.Tree.defaultIntType.
def tree.Tree.var | ( | self, | |
varName, | |||
type = float , |
|||
default = -99 , |
|||
title = None , |
|||
storageType = "default" , |
|||
filler = None |
|||
) |
Definition at line 66 of file tree.py.
References tree.Tree.branch_(), fwlite::RecordWriter::DataBuffer.branch_, edm::TypeInBranchType.branch_, fwlite::internal::Data.branch_, BareRootProductGetter::Buffer.branch_, tree.Tree.defaults, geometryComparison.GeometryComparison.defaults, svgfig.Path.defaults, svgfig.Curve.defaults, svgfig.Poly.defaults, svgfig.Text.defaults, svgfig.TextGlobal.defaults, svgfig.Dots.defaults, svgfig.Line.defaults, svgfig.LineGlobal.defaults, svgfig.VLine.defaults, svgfig.HLine.defaults, svgfig.Rect.defaults, svgfig.Ellipse.defaults, svgfig.Ticks.defaults, svgfig.CurveAxis.defaults, svgfig.LineAxis.defaults, svgfig.XAxis.defaults, svgfig.YAxis.defaults, svgfig.Axes.defaults, svgfig.HGrid.defaults, svgfig.VGrid.defaults, svgfig.Grid.defaults, svgfig.XErrorBars.defaults, svgfig.YErrorBars.defaults, tree.Tree.fillers, tree.Tree.vars, and PlotAlignmentValidation::DMRPlotInfo.vars.
Referenced by tree.Tree.copyStructure().
def tree.Tree.vector | ( | self, | |
varName, | |||
lenvar, | |||
maxlen = None , |
|||
type = float , |
|||
default = -99 , |
|||
title = None , |
|||
storageType = "default" , |
|||
filler = None |
|||
) |
either lenvar is a string, and maxlen an int (variable size array), or lenvar is an int and maxlen is not specified (fixed array)
Definition at line 84 of file tree.py.
References tree.Tree.branch_(), fwlite::RecordWriter::DataBuffer.branch_, edm::TypeInBranchType.branch_, fwlite::internal::Data.branch_, BareRootProductGetter::Buffer.branch_, tree.Tree.fillers, tree.Tree.vecdefaults, and tree.Tree.vecvars.
def tree.Tree.vfill | ( | self, | |
varName, | |||
values | |||
) |
tree.Tree.defaultFloatType |
Definition at line 13 of file tree.py.
Referenced by tree.Tree.branch_(), and tree.Tree.setDefaultFloatType().
tree.Tree.defaultIntType |
Definition at line 14 of file tree.py.
Referenced by tree.Tree.branch_(), and tree.Tree.setDefaultIntType().
tree.Tree.defaults |
Definition at line 11 of file tree.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
tree.Tree.fillers |
Definition at line 15 of file tree.py.
Referenced by tree.Tree.fill(), tree.Tree.reset(), tree.Tree.var(), tree.Tree.vector(), and tree.Tree.vfill().
tree.Tree.tree |
Definition at line 10 of file tree.py.
Referenced by svgfig.SVG.__str__(), MetTreeProducer.MetTreeProducer.declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer.declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer.fillTree(), MetTreeProducer.MetTreeProducer.process(), and python.cmstools.EventTree.SetAlias().
tree.Tree.vars |
Definition at line 8 of file tree.py.
Referenced by tree.Tree.fill(), and tree.Tree.var().
tree.Tree.vecdefaults |
Definition at line 12 of file tree.py.
Referenced by tree.Tree.reset(), and tree.Tree.vector().
tree.Tree.vecvars |
Definition at line 9 of file tree.py.
Referenced by tree.Tree.vector(), and tree.Tree.vfill().