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


Constructor & Destructor Documentation

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

Definition at line 174 of file iovInspector.py.

00175                                       :
00176         self.__db = db
00177         self.__tag = tag
00178         self.__elem = elem
00179         self.__db.startReadOnlyTransaction()
00180         self.__modName = str(db.payloadModules(tag)[0])
00181         Plug = __import__(self.__modName)
00182         self.__me = Plug.Object(db)
00183         self.__me.load(elem)
00184         self.__db.commitTransaction()


Member Function Documentation

def iovInspector::PayLoad::__str__ (   self)

Definition at line 185 of file iovInspector.py.

00186                       :
00187         return self.__me.dump()

def iovInspector::PayLoad::dump (   self)

Definition at line 194 of file iovInspector.py.

00195                    :
00196         return self.__me.dump()

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

Definition at line 231 of file iovInspector.py.

00232                                             :
00233         vi = CondDB.VInt()
00234         vf = CondDB.VFloat()
00235         vs = CondDB.VString()
00236         for i in il:
00237             vi.append(int(i))
00238         for i in fl:
00239             vf.append(float(i))
00240         for i in sl:
00241             vs.append(str(i))
00242         return self.__me.dumpFile(fname,s,vi,vf,vs)
def iovInspector::PayLoad::object (   self)

Definition at line 188 of file iovInspector.py.

00189                      :
00190         return self.__me

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

Definition at line 197 of file iovInspector.py.

00198                                      :
00199         vi = CondDB.VInt()
00200         vf = CondDB.VFloat()
00201         for i in il:
00202             vi.append(int(i))
00203         for i in fl:
00204             vf.append(float(i))
00205         return self.__me.plot(fname,s,vi,vf)

def iovInspector::PayLoad::summary (   self)

Definition at line 191 of file iovInspector.py.

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

Definition at line 218 of file iovInspector.py.

00219                                         :
00220         #i = int(i)
00221         vi = CondDB.VInt()
00222         vf = CondDB.VFloat()
00223         vs = CondDB.VString()
00224         for i in il:
00225             vi.append(int(i))
00226         for i in fl:
00227             vf.append(float(i))
00228         for i in sl:
00229             vs.append(str(i))
00230         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.

00207                                                :
00208         vi = CondDB.VInt()
00209         vf = CondDB.VFloat()
00210         vs = CondDB.VString()
00211         for i in il:
00212             vi.append(int(i))
00213         for i in fl:
00214             vf.append(float(i))
00215         for i in sl:
00216             vs.append(str(i))
00217         return self.__me.trend_plot(fname,s,vi,vf,vs)


Member Data Documentation

Definition at line 174 of file iovInspector.py.

Definition at line 174 of file iovInspector.py.

Definition at line 174 of file iovInspector.py.

Definition at line 174 of file iovInspector.py.

Definition at line 174 of file iovInspector.py.