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

In This Package:

RawDataFileInfo.py

Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 """
00003   Usage example :
00004 
00005       python RawDataFileInfo.py
00006 
00007    NB the former way of configuring DB access with ENV_TSQL_*
00008    is replaced with DBCONF approach, note that use of 
00009    os.environ.setdefault allows overriding using 
00010 
00011       DBCONF=otherdb python RawDataFileInfo.py
00012    OR 
00013       export DBCONF=otherdb 
00014       python RawDataFileInfo.py
00015 
00016    Where "otherdb" and "testdb" name sections in the ~/.my.cnf file
00017 
00018 """
00019 
00020 import os
00021 os.environ.setdefault("DBCONF","testdb")
00022 
00023 import gaudimodule as gm
00024 theApp = gm.AppMgr()
00025 theApp.Dlls += ['DbiRawDataFileSvcDict']
00026 theApp.Dlls += ['DatabaseInterfaceDict']
00027 theApp.TopAlg = ['RFileInfoTestAlg']
00028 theApp.EvtSel ="NONE"
00029 theApp.initialize()
00030 theApp.run(4 )
00031 theApp.exit()
00032 
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:16:16 2011 for DbiRawDataFileSvc by doxygen 1.4.7