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 44 of file options.py.


Constructor & Destructor Documentation

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

Definition at line 45 of file options.py.

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

Member Data Documentation

Definition at line 45 of file options.py.

Definition at line 45 of file options.py.

Definition at line 45 of file options.py.

Definition at line 45 of file options.py.