CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
genericValidation.ValidationWithPlotsSummaryBase.SummaryItem Class Reference
Inheritance diagram for genericValidation.ValidationWithPlotsSummaryBase.SummaryItem:

Public Member Functions

def __init__ (self, name, values, format=None, latexname=None, latexformat=None)
 
def format (self, value, latex=False)
 
def name (self, latex=False)
 
def value (self, i, latex)
 
def values (self, latex=False)
 

Private Attributes

 __format
 
 __latexformat
 
 __latexname
 
 __name
 
 __values
 

Detailed Description

Definition at line 629 of file genericValidation.py.

Constructor & Destructor Documentation

def genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.__init__ (   self,
  name,
  values,
  format = None,
  latexname = None,
  latexformat = None 
)
name:        name of the summary item, goes on top of the column
values:      value for each alignment (in order of rows)
format:      python format string (default: {:.3g}, meaning up to 3 significant digits)
latexname:   name in latex form, e.g. if name=sigma you might want latexname=\sigma (default: name)
latexformat: format for latex (default: format)

Definition at line 630 of file genericValidation.py.

630  def __init__(self, name, values, format=None, latexname=None, latexformat=None):
631  """
632  name: name of the summary item, goes on top of the column
633  values: value for each alignment (in order of rows)
634  format: python format string (default: {:.3g}, meaning up to 3 significant digits)
635  latexname: name in latex form, e.g. if name=sigma you might want latexname=\sigma (default: name)
636  latexformat: format for latex (default: format)
637  """
638  if format is None: format = "{:.3g}"
639  if latexname is None: latexname = name
640  if latexformat is None: latexformat = format
641 
642  self.__name = name
643  self.__values = values
644  self.__format = format
645  self.__latexname = latexname
646  self.__latexformat = latexformat
647 
def __init__(self, name, values, format=None, latexname=None, latexformat=None)

Member Function Documentation

def genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.format (   self,
  value,
  latex = False 
)
def genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.name (   self,
  latex = False 
)
def genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.value (   self,
  i,
  latex 
)

Definition at line 667 of file genericValidation.py.

References AlpgenParTokens.values, BlobComplexData.values, UETable.values, SiStripNoises::ratioData.values, PhysicsTools::Interceptor.values, FWTriggerTableView::Column.values, MagFieldConfig.values, SiStripCorrelateNoise::Data.values, TreeSaver::Var.values, LeaderLookup.values, PhysicsTools::MVAModuleHelper< Record, Object, Filler >.values, PhysicsTools::TreeReader.values, svgfig.SVG.values(), PhysicsTools::VarProcessor::ValueIterator.values, genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.values(), and Config.TestMakePSet.values.

Referenced by Types.int32.__nonzero__(), Types.uint32.__nonzero__(), Types.int64.__nonzero__(), Types.uint64.__nonzero__(), Types.double.__nonzero__(), Types.bool.__nonzero__(), Types.string.__nonzero__(), average.Average.average(), Vispa.Views.PropertyView.FileProperty.buttonClicked(), Types.string.configValue(), Types.FileInPath.configValue(), Mixins.UsingBlock.dumpPython(), Types.int32.insertInto(), Types.uint32.insertInto(), Types.int64.insertInto(), Types.uint64.insertInto(), Types.double.insertInto(), Mixins.UsingBlock.insertInto(), Types.bool.insertInto(), Types.string.insertInto(), Types.FileInPath.insertInto(), Types.vint32.insertInto(), Types.vuint32.insertInto(), Types.vint64.insertInto(), Types.vuint64.insertInto(), Types.vdouble.insertInto(), Types.vbool.insertInto(), Types.vstring.insertInto(), and Vispa.Views.PropertyView.FileProperty.labelDoubleClicked().

667  def value(self, i, latex):
668  return self.values(latex)[i]
669 
670  @abstractmethod
def genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.values (   self,
  latex = False 
)

Member Data Documentation

genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.__format
private
genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.__latexformat
private
genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.__latexname
private
genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.__name
private
genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.__values
private