CMS 3D CMS Logo

Public Member Functions | Private Attributes

iovInspector::PayLoad Class Reference

List of all members.

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 167 of file iovInspector.py.


Constructor & Destructor Documentation

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

Definition at line 168 of file iovInspector.py.

00169                                       :
00170         self.__db = db
00171         self.__tag = tag
00172         self.__elem = elem
00173         self.__db.startReadOnlyTransaction()
00174         self.__modName = str(db.payloadModules(tag)[0])
00175         Plug = __import__(self.__modName)
00176         self.__me = Plug.Object(db)
00177         self.__me.load(elem)
00178         self.__db.commitTransaction()


Member Function Documentation

def iovInspector::PayLoad::__str__ (   self)

Definition at line 179 of file iovInspector.py.

00180                       :
00181         return self.__me.dump()

def iovInspector::PayLoad::dump (   self)

Definition at line 188 of file iovInspector.py.

00189                    :
00190         return self.__me.dump()

def iovInspector::PayLoad::dumpFile (   self,
  fname,
  s,
  il,
  fl,
  sl 
)

Definition at line 225 of file iovInspector.py.

00226                                             :
00227         vi = CondDB.VInt()
00228         vf = CondDB.VFloat()
00229         vs = CondDB.VString()
00230         for i in il:
00231             vi.append(int(i))
00232         for i in fl:
00233             vf.append(float(i))
00234         for i in sl:
00235             vs.append(str(i))
00236         return self.__me.dumpFile(fname,s,vi,vf,vs)
def iovInspector::PayLoad::object (   self)

Definition at line 182 of file iovInspector.py.

00183                      :
00184         return self.__me

def iovInspector::PayLoad::plot (   self,
  fname,
  s,
  il,
  fl 
)

Definition at line 191 of file iovInspector.py.

00192                                      :
00193         vi = CondDB.VInt()
00194         vf = CondDB.VFloat()
00195         for i in il:
00196             vi.append(int(i))
00197         for i in fl:
00198             vf.append(float(i))
00199         return self.__me.plot(fname,s,vi,vf)

def iovInspector::PayLoad::summary (   self)

Definition at line 185 of file iovInspector.py.

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

Definition at line 212 of file iovInspector.py.

00213                                         :
00214         #i = int(i)
00215         vi = CondDB.VInt()
00216         vf = CondDB.VFloat()
00217         vs = CondDB.VString()
00218         for i in il:
00219             vi.append(int(i))
00220         for i in fl:
00221             vf.append(float(i))
00222         for i in sl:
00223             vs.append(str(i))
00224         return self.__me.summary_adv(s,vi,vf,vs)
    
def iovInspector::PayLoad::trend_plot (   self,
  fname,
  s,
  il,
  fl,
  sl 
)

Definition at line 200 of file iovInspector.py.

00201                                                :
00202         vi = CondDB.VInt()
00203         vf = CondDB.VFloat()
00204         vs = CondDB.VString()
00205         for i in il:
00206             vi.append(int(i))
00207         for i in fl:
00208             vf.append(float(i))
00209         for i in sl:
00210             vs.append(str(i))
00211         return self.__me.trend_plot(fname,s,vi,vf,vs)


Member Data Documentation

Definition at line 168 of file iovInspector.py.

Definition at line 168 of file iovInspector.py.

Definition at line 168 of file iovInspector.py.

Definition at line 168 of file iovInspector.py.

Definition at line 168 of file iovInspector.py.