CMS 3D CMS Logo

Public Member Functions | Public Attributes

options::ConnectionHLTMenu Class Reference

List of all members.

Public Member Functions

def __init__

Public Attributes

 db
 name
 run
 value

Detailed Description

Definition at line 43 of file options.py.


Constructor & Destructor Documentation

def options::ConnectionHLTMenu::__init__ (   self,
  value 
)

Definition at line 44 of file options.py.

00045                            :
00046     self.value = value
00047     self.db    = None
00048     self.name  = None
00049     self.run   = None
00050 
00051     # extract the database and configuration name
00052     if value:
00053       if ':' in self.value:
00054         (db, name) = self.value.split(':')
00055         if db == 'run':
00056           self.run  = name
00057         elif db in ('hltdev', 'orcoff'):
00058           self.db   = db
00059           self.name = name
00060         else:
00061           raise Exception('Unknown ConfDB database "%s", valid values are "hltdev" (default) and "orcoff")' % db)
00062       else:
00063         self.db   = 'hltdev'
00064         self.name = self.value
00065 
00066 
# options marked with a (*) only apply when creating a whole process configuration

Member Data Documentation

Definition at line 44 of file options.py.

Definition at line 44 of file options.py.

Definition at line 44 of file options.py.

Definition at line 44 of file options.py.