CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
iovInspector.PayLoad Class Reference

Public Member Functions

def __init__
 
def __str__
 
def dump
 
def dumpFile
 
def object
 
def plot
 
def summary
 
def summary_adv
 
def trend_plot
 

Private Attributes

 __db
 
 __elem
 
 __me
 
 __modName
 
 __tag
 

Detailed Description

Definition at line 173 of file iovInspector.py.

Constructor & Destructor Documentation

def iovInspector.PayLoad.__init__ (   self,
  db,
  tag,
  elem 
)

Definition at line 174 of file iovInspector.py.

175  def __init__(self, db, tag, elem) :
176  self.__db = db
177  self.__tag = tag
178  self.__elem = elem
179  self.__db.startReadOnlyTransaction()
180  self.__modName = str(db.payloadModules(tag)[0])
181  Plug = __import__(self.__modName)
182  self.__me = Plug.Object(db)
183  self.__me.load(elem)
184  self.__db.commitTransaction()

Member Function Documentation

def iovInspector.PayLoad.__str__ (   self)

Definition at line 185 of file iovInspector.py.

Referenced by BeautifulSoup.Tag.__repr__(), BeautifulSoup.Tag.__unicode__(), and BeautifulSoup.Tag.prettify().

186  def __str__(self) :
187  return self.__me.dump()
def iovInspector.PayLoad.dump (   self)

Definition at line 194 of file iovInspector.py.

195  def dump(self) :
196  return self.__me.dump()
def iovInspector.PayLoad.dumpFile (   self,
  fname,
  s,
  il,
  fl,
  sl 
)

Definition at line 231 of file iovInspector.py.

232  def dumpFile(self, fname, s, il, fl, sl):
233  vi = CondDB.VInt()
234  vf = CondDB.VFloat()
235  vs = CondDB.VString()
236  for i in il:
237  vi.append(int(i))
238  for i in fl:
239  vf.append(float(i))
240  for i in sl:
241  vs.append(str(i))
242  return self.__me.dumpFile(fname,s,vi,vf,vs)
def iovInspector.PayLoad.object (   self)

Definition at line 188 of file iovInspector.py.

References iovInspector.WhatDescription.__me, iovInspector.Iov.__me, and iovInspector.PayLoad.__me.

Referenced by Vispa.Views.LineDecayView.LineDecayContainer.createObject(), Vispa.Views.LineDecayView.LineDecayContainer.delete(), Vispa.Views.LineDecayView.DecayLine.delete(), Vispa.Views.LineDecayView.LineDecayContainer.mouseReleaseEvent(), and Vispa.Views.BoxDecayView.BoxDecayContainer.toggleCollapse().

189  def object(self) :
190  return self.__me
def iovInspector.PayLoad.plot (   self,
  fname,
  s,
  il,
  fl 
)

Definition at line 197 of file iovInspector.py.

Referenced by cuy.FindIssue.__init__().

198  def plot(self, fname, s, il, fl) :
199  vi = CondDB.VInt()
200  vf = CondDB.VFloat()
201  for i in il:
202  vi.append(int(i))
203  for i in fl:
204  vf.append(float(i))
205  return self.__me.plot(fname,s,vi,vf)
def iovInspector.PayLoad.summary (   self)

Definition at line 191 of file iovInspector.py.

192  def summary(self) :
193  return self.__me.summary()
def iovInspector.PayLoad.summary_adv (   self,
  s,
  il,
  fl,
  sl 
)

Definition at line 218 of file iovInspector.py.

219  def summary_adv(self, s, il, fl, sl):
220  #i = int(i)
221  vi = CondDB.VInt()
222  vf = CondDB.VFloat()
223  vs = CondDB.VString()
224  for i in il:
225  vi.append(int(i))
226  for i in fl:
227  vf.append(float(i))
228  for i in sl:
229  vs.append(str(i))
230  return self.__me.summary_adv(s,vi,vf,vs)
def iovInspector.PayLoad.trend_plot (   self,
  fname,
  s,
  il,
  fl,
  sl 
)

Definition at line 206 of file iovInspector.py.

207  def trend_plot(self, fname, s, il, fl, sl) :
208  vi = CondDB.VInt()
209  vf = CondDB.VFloat()
210  vs = CondDB.VString()
211  for i in il:
212  vi.append(int(i))
213  for i in fl:
214  vf.append(float(i))
215  for i in sl:
216  vs.append(str(i))
217  return self.__me.trend_plot(fname,s,vi,vf,vs)

Member Data Documentation

iovInspector.PayLoad.__db
private

Definition at line 175 of file iovInspector.py.

iovInspector.PayLoad.__elem
private

Definition at line 177 of file iovInspector.py.

iovInspector.PayLoad.__me
private

Definition at line 181 of file iovInspector.py.

Referenced by iovInspector.PayLoad.object().

iovInspector.PayLoad.__modName
private

Definition at line 179 of file iovInspector.py.

iovInspector.PayLoad.__tag
private

Definition at line 176 of file iovInspector.py.