CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 7 of file classes.py.

Constructor & Destructor Documentation

def classes.PlotData.__init__ (   self,
  mode 
)

Definition at line 11 of file classes.py.

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

Member Data Documentation

classes.PlotData.binPosition

Definition at line 19 of file classes.py.

classes.PlotData.binShift

Definition at line 17 of file classes.py.

classes.PlotData.data

Definition at line 31 of file classes.py.

Referenced by data_sources.node.__str__(), confdb.HLTProcess._fix_parameter(), confdb.HLTProcess.addEras(), 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(), data_sources.json_list.get_members(), 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.loadSetupCff(), confdb.HLTProcess.overrideGlobalTag(), confdb.HLTProcess.overrideL1MenuXml(), confdb.HLTProcess.overrideOutput(), confdb.HLTProcess.overrideParameters(), confdb.HLTProcess.overrideProcessName(), confdb.HLTProcess.removeElementFromSequencesTasksAndPaths(), confdb.HLTProcess.runL1Emulator(), confdb.HLTProcess.specificCustomize(), cuy.FindIssue.startElement(), edmStreamStallGrapher.Stack.update(), and confdb.HLTProcess.updateMessageLogger().

classes.PlotData.hiddenEntries

Definition at line 18 of file classes.py.

classes.PlotData.histo

Definition at line 21 of file classes.py.

classes.PlotData.histoAxis

Definition at line 22 of file classes.py.

classes.PlotData.label

Definition at line 26 of file classes.py.

Referenced by python.rootplot.root2matplotlib.Hist.bar(), python.rootplot.root2matplotlib.Hist.barh(), python.rootplot.root2matplotlib.Hist.errorbar(), python.rootplot.root2matplotlib.Hist.errorbarh(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), core.AutoHandle.AutoHandle.ReallyLoad(), and MatrixInjector.MatrixInjector.uploadConf().

classes.PlotData.maxBinShift

Definition at line 15 of file classes.py.

classes.PlotData.maxShift

Definition at line 13 of file classes.py.

classes.PlotData.minShift

Definition at line 14 of file classes.py.

classes.PlotData.numberOfBins

Definition at line 12 of file classes.py.

classes.PlotData.objid

Definition at line 27 of file classes.py.

classes.PlotData.text

Definition at line 25 of file classes.py.

Referenced by BeautifulSoup.SoupStrainer.__str__(), and BeautifulSoup.SoupStrainer.search().

classes.PlotData.title

Definition at line 24 of file classes.py.

Referenced by 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(), TkAlMap.TkAlMap.draw_title(), python.rootplot.root2matplotlib.HistStack.errorbar(), python.rootplot.root2matplotlib.HistStack.errorbarh(), alignment.Alignment.getRepMap(), Formatter.SimpleHTMLFormatter.headers(), python.rootplot.root2matplotlib.HistStack.histstack(), presentation.SubsectionOnePage.pages(), presentation.SubsectionFromList.pages(), presentation.SummarySection.pages(), python.rootplot.root2matplotlib.Hist.show_titles(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), python.rootplot.utilities.Hist2D.TH2F(), python.rootplot.root2matplotlib.Hist2D.TH2F(), and presentation.SubsectionBase.write().

classes.PlotData.unit

Definition at line 32 of file classes.py.

classes.PlotData.usedRange

Definition at line 20 of file classes.py.

classes.PlotData.xyz

Definition at line 30 of file classes.py.