/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::hdrValid Namespace Reference

Classes

class  hdrValid

Functions

def configure
def run

Variables

list __all__ = ['basic']
int debuglevel = 0
int nExec = 0

Function Documentation

def RootIOTest::hdrValid::configure (   argv = [])

Definition at line 171 of file hdrValid.py.

00171                        : #None) :
00172     # note: if argv=None is specified as the arguments to configure, then
00173     #      the parser expects to have at least one option explicitly specified.
00174     #      with argv=[], one does not have specify any arguments (the defaults are used)
00175 
00176     # deal with input arguments
00177     from optparse import OptionParser
00178     parser = OptionParser() #usage=self.__doc__)
00179     parser.add_option("-d","--debug-level",
00180                       default=0,
00181                       help="Debug level 0=none, 1=more. [default: %default]")
00182 
00183 
00184     parser.add_option("-t","--type",type="str",
00185                       default="premix",
00186                       help="Type of input file. [default: %default]\n If `none` or `ignore`, then NO trees are checked in inputfile")
00187 
00188 
00189     parser.add_option("-u","--user-tree",type="str",action="append",
00190                       help="User-specified expected trees. Overrides --type.")
00191 
00192     parser.add_option("-k","--keep-going",action="store_true",
00193                       help="Keep-going even if one file does not have the correct headers. Good for examining a list of files.")
00194 
00195     parser.add_option("-E","--expected-entries",type="int",
00196                       default="-1",
00197                       help="Expected number of execution cycles. Ignored if <0. Not good for examining a list of files. [default: %default]")
00198 
00199     (options,args) = parser.parse_args(args=argv)
00200 
00201     # pass arguments using global variable
00202     global debuglevel, filetype, userTrees, keepgoing, expected, nExec
00203     debuglevel = options.debug_level
00204     filetype = options.type
00205     userTrees = options.user_tree
00206     keepgoing = options.keep_going
00207     expected = options.expected_entries
00208 
00209     return
00210 
def RootIOTest::hdrValid::run (   app)
Configure and add this algorithm to job

Definition at line 211 of file hdrValid.py.

00212             :
00213     '''Configure and add this algorithm to job'''
00214     import sys
00215 
00216     app.ExtSvc += []
00217     hVal = hdrValid("hdrValid")
00218     app.addAlgorithm( hVal )
00219 
00220     pass

Variable Documentation

Definition at line 35 of file hdrValid.py.

Definition at line 47 of file hdrValid.py.

Definition at line 48 of file hdrValid.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