test
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
classes.PlotData Class Reference

Classes which are needed by the mps_validate.py file. More...

Public Member Functions

def __init__
 

Public Attributes

 binPosition
 
 binShift
 
 data
 
 hiddenEntries
 
 histo
 
 histoAxis
 
 label
 
 maxBinShift
 
 maxShift
 
 minShift
 
 numberOfBins
 
 objid
 
 text
 
 title
 
 unit
 
 usedRange
 
 xyz
 

Detailed Description

Classes which are needed by the mps_validate.py file.

Hold information about XYZ

Definition at line 8 of file classes.py.

Constructor & Destructor Documentation

def classes.PlotData.__init__ (   self,
  mode 
)

Definition at line 12 of file classes.py.

12 
13  def __init__(self, mode):
14  self.numberOfBins = [0, 0, 0]
15  self.maxShift = [0, 0, 0]
16  self.minShift = [0, 0, 0]
17  self.maxBinShift = [0, 0, 0]
18  # used binShift
19  self.binShift = [0, 0, 0]
20  self.hiddenEntries = [0, 0, 0]
21  self.binPosition = [1, 1, 1]
22  self.usedRange = [0, 0, 0]
23  self.histo = []
24  self.histoAxis = []
25  # plot title and text
26  self.title = 0
27  self.text = 0
28  self.label = ""
29  self.objid = 0
30  # switch mode for position, rotation, distortion
31  if (mode == "xyz"):
32  self.xyz = {0: "X", 1: "Y", 2: "Z"}
33  self.data = [0, 1, 2]
34  self.unit = "#mum"
35  if (mode == "rot"):
36  self.xyz = {0: "#alpha", 1: "#beta", 2: "#gamma"}
37  self.data = [3, 4, 5]
38  self.unit = "mrad"
39  if (mode == "dist"):
40  self.xyz = {0: "A", 1: "B", 2: "C"}
41  self.data = [6, 7, 8]
42  self.unit = ""
43 

Member Data Documentation

classes.PlotData.binPosition

Definition at line 20 of file classes.py.

classes.PlotData.binShift

Definition at line 18 of file classes.py.

classes.PlotData.data

Definition at line 32 of file classes.py.

Referenced by cuy.FindIssue.__init__(), data_sources.node.__str__(), confdb.HLTProcess._fix_parameter(), confdb.HLTProcess.addGlobalOptions(), confdb.HLTProcess.append_filenames(), data_sources.json_list.as_dicts(), data_sources.json_list.as_table(), confdb.HLTProcess.build_source(), confdb.HLTProcess.customize(), confdb.HLTProcess.dump(), confdb.HLTProcess.fixPrescales(), confdb.HLTProcess.getRawConfigurationFromDB(), confdb.HLTProcess.instrumentDQM(), confdb.HLTProcess.instrumentOpenMode(), confdb.HLTProcess.instrumentTiming(), data_sources.json_list.last(), confdb.HLTProcess.loadAdditionalConditions(), confdb.HLTProcess.loadCff(), confdb.HLTProcess.overrideGlobalTag(), confdb.HLTProcess.overrideL1MenuXml(), confdb.HLTProcess.overrideOutput(), confdb.HLTProcess.overrideParameters(), confdb.HLTProcess.overrideProcessName(), confdb.HLTProcess.runL1Emulator(), confdb.HLTProcess.specificCustomize(), and confdb.HLTProcess.updateMessageLogger().

classes.PlotData.hiddenEntries

Definition at line 19 of file classes.py.

classes.PlotData.histo

Definition at line 22 of file classes.py.

classes.PlotData.histoAxis

Definition at line 23 of file classes.py.

classes.PlotData.label

Definition at line 27 of file classes.py.

Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor._sort_list(), python.rootplot.root2matplotlib.Hist.bar(), python.rootplot.root2matplotlib.Hist.barh(), python.rootplot.root2matplotlib.Hist.errorbar(), python.rootplot.root2matplotlib.Hist.errorbarh(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.foundIn(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.fullFilename(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.inputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ToolDataAccessor.properties(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor.properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.readConnections(), core.AutoHandle.AutoHandle.ReallyLoad(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ToolDataAccessor.updateProcess(), MatrixInjector.MatrixInjector.uploadConf(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.usedBy().

classes.PlotData.maxBinShift

Definition at line 16 of file classes.py.

classes.PlotData.maxShift

Definition at line 14 of file classes.py.

classes.PlotData.minShift

Definition at line 15 of file classes.py.

classes.PlotData.numberOfBins

Definition at line 13 of file classes.py.

classes.PlotData.objid

Definition at line 28 of file classes.py.

classes.PlotData.text

Definition at line 26 of file classes.py.

Referenced by Vispa.Views.TableView.TableWidgetItem.__lt__(), BeautifulSoup.SoupStrainer.__str__(), and BeautifulSoup.SoupStrainer.search().

classes.PlotData.title

Definition at line 25 of file classes.py.

Referenced by cuy.plotElement.__init__(), cuy.additionElement.__init__(), cuy.superimposeElement.__init__(), cuy.graphElement.__init__(), Vispa.Views.LineDecayView.LineDecayContainer.autolayout(), Vispa.Views.LineDecayView.LineDecayContainer.autolayoutThreadFinished(), python.rootplot.root2matplotlib.HistStack.bar(), python.rootplot.root2matplotlib.HistStack.bar3d(), python.rootplot.root2matplotlib.HistStack.barcluster(), python.rootplot.root2matplotlib.HistStack.barh(), python.rootplot.root2matplotlib.HistStack.barstack(), Vispa.Views.LineDecayView.LineDecayContainer.childFinishedAutolayouting(), python.rootplot.root2matplotlib.HistStack.errorbar(), python.rootplot.root2matplotlib.HistStack.errorbarh(), alignment.Alignment.getRepMap(), Formatter.SimpleHTMLFormatter.headers(), python.rootplot.root2matplotlib.HistStack.histstack(), Vispa.Gui.PortWidget.PortWidget.name(), python.rootplot.root2matplotlib.Hist.show_titles(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), python.rootplot.utilities.Hist2D.TH2F(), and python.rootplot.root2matplotlib.Hist2D.TH2F().

classes.PlotData.unit

Definition at line 33 of file classes.py.

classes.PlotData.usedRange

Definition at line 21 of file classes.py.

classes.PlotData.xyz

Definition at line 31 of file classes.py.