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

In This Package:

Public Member Functions | Static Public Attributes
DybDbi::ilookup::IRunLookup Class Reference
Inheritance diagram for DybDbi::ilookup::IRunLookup:
Inheritance graph
[legend]
Collaboration diagram for DybDbi::ilookup::IRunLookup:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__

Static Public Attributes

string kls = 'GDaqRunInfo'
string ifield = "runNo"
string iattr = "RunNo"
string sqlcontext = "1=1"

Detailed Description

Specialization of :py:class:`DybDbi.ILookup`, for looking for run numbers in GDaqRunInfo, usage::

    iargs = (10,100,1000)
    irl = IRunLookup( *iargs )
    for ia in iargs:
        print ia, irl[ia]

Definition at line 60 of file ilookup.py.


Constructor & Destructor Documentation

def DybDbi::ilookup::IRunLookup::__init__ (   self,
  args,
  kwa 
)

Reimplemented from DybDbi::ilookup::ILookup.

Definition at line 75 of file ilookup.py.

00075                                      : 
00076          ILookup.__init__(self, *args, kls=kwa.get('kls',self.kls), ifield=kwa.get('ifield',self.ifield), iattr=kwa.get('iattr',self.iattr), sqlcontext=kwa.get('sqlcontext',self.sqlcontext) )
00077 
00078 

Member Data Documentation

string DybDbi::ilookup::IRunLookup::kls = 'GDaqRunInfo' [static]

Definition at line 70 of file ilookup.py.

string DybDbi::ilookup::IRunLookup::ifield = "runNo" [static]

Definition at line 71 of file ilookup.py.

string DybDbi::ilookup::IRunLookup::iattr = "RunNo" [static]

Definition at line 72 of file ilookup.py.

string DybDbi::ilookup::IRunLookup::sqlcontext = "1=1" [static]

Definition at line 73 of file ilookup.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:57:24 for DybDbi by doxygen 1.7.4