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


Constructor & Destructor Documentation

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

Definition at line 166 of file iovInspector.py.

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


Member Function Documentation

def iovInspector::PayLoad::__str__ (   self)

Definition at line 177 of file iovInspector.py.

00178                       :
00179         return self.__me.dump()

def iovInspector::PayLoad::dump (   self)

Definition at line 186 of file iovInspector.py.

00187                    :
00188         return self.__me.dump()

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

Definition at line 223 of file iovInspector.py.

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

Definition at line 180 of file iovInspector.py.

00181                      :
00182         return self.__me

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

Definition at line 189 of file iovInspector.py.

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

def iovInspector::PayLoad::summary (   self)

Definition at line 183 of file iovInspector.py.

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

Definition at line 210 of file iovInspector.py.

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

Definition at line 198 of file iovInspector.py.

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


Member Data Documentation

Definition at line 166 of file iovInspector.py.

Definition at line 166 of file iovInspector.py.

Definition at line 166 of file iovInspector.py.

Definition at line 166 of file iovInspector.py.

Definition at line 166 of file iovInspector.py.