| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

RootIOTest::TestUserData Namespace Reference


Classes

class  SomeUserData
class  SomeMoreUserData

Functions

def spew
def configure
def run

Variables

 do_write = True
 do_read = True

Function Documentation

def RootIOTest::TestUserData::spew (   udh  ) 

Definition at line 17 of file TestUserData.py.

00017              :
00018     s = '#%d @ %s count=%d aFloat=%f anInt=%d'%(\
00019         udh.execNumber(), udh.timeStamp().AsString(),
00020         udh.getInt("count"), udh.getFloat("aFloat"),udh.getInt("anInt"))
00021     return s
00022 
00023 
class SomeUserData(GaudiAlgo):

def RootIOTest::TestUserData::configure (   argv = None  ) 

Definition at line 91 of file TestUserData.py.

00091                         :
00092     global do_write
00093     global do_read
00094 
00095     if argv and argv[0] == "read":
00096         do_write = False
00097     if argv and argv[0] == "write":
00098         do_read = False
00099         
00100 
def run(app):

def RootIOTest::TestUserData::run (   app  ) 

Definition at line 101 of file TestUserData.py.

00101             :
00102     global do_write
00103     global do_read
00104 
00105     print 'TestUserData: configured with write="%s" and read="%s"'%(do_write,do_read)
00106 
00107     if do_write:
00108         alg = SomeUserData()
00109         app.addAlgorithm(alg)
00110     if do_read:
00111         alg = SomeMoreUserData()
00112         app.addAlgorithm(alg)
00113 
00114     return
00115     
    


Variable Documentation

RootIOTest::TestUserData::do_write = True [static]

Definition at line 89 of file TestUserData.py.

RootIOTest::TestUserData::do_read = True [static]

Definition at line 90 of file TestUserData.py.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:58:43 2011 for RootIOTest by doxygen 1.4.7