/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Classes | Functions | Variables
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.

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

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

Definition at line 91 of file TestUserData.py.

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

def RootIOTest::TestUserData::run (   app)

Definition at line 101 of file TestUserData.py.

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

Variable Documentation

Definition at line 89 of file TestUserData.py.

Definition at line 90 of file TestUserData.py.

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

Generated on Fri May 16 2014 10:20:12 for RootIOTest by doxygen 1.7.4