Definition at line 7 of file AtlCoolSchemaLib.py.
◆ __init__()
def python.AtlCoolSchemaLib.coolSchema.__init__ |
( |
|
self, |
|
|
|
schema, |
|
|
|
instance, |
|
|
|
extra = 0 |
|
) |
| |
initialise from a schema ('ATLAS_COOLONL_INDET')
and instance ('OFLP200')
Definition at line 9 of file AtlCoolSchemaLib.py.
9 def __init__(self,schema,instance,extra=0):
10 """initialise from a schema ('ATLAS_COOLONL_INDET')
11 and instance ('OFLP200')"""
13 x2=schema.index(
'_',x1+1)
15 self._logic=schema[x1+1:]
16 self._detector=schema[x2+1:]
17 self._instance=instance
◆ detector()
def python.AtlCoolSchemaLib.coolSchema.detector |
( |
|
self | ) |
|
◆ instance()
def python.AtlCoolSchemaLib.coolSchema.instance |
( |
|
self | ) |
|
◆ logical()
def python.AtlCoolSchemaLib.coolSchema.logical |
( |
|
self | ) |
|
Definition at line 24 of file AtlCoolSchemaLib.py.
25 "Return logical (readonly) connection name"
26 return self._logic+
'/'+self._instance
◆ offline()
def python.AtlCoolSchemaLib.coolSchema.offline |
( |
|
self | ) |
|
Definition at line 36 of file AtlCoolSchemaLib.py.
37 "Returns true if the connection is to an offline DB"
38 return (self._schema.
find(
'ONL')<0)
◆ schema()
def python.AtlCoolSchemaLib.coolSchema.schema |
( |
|
self | ) |
|
◆ _detector
python.AtlCoolSchemaLib.coolSchema._detector |
|
private |
◆ _extra
python.AtlCoolSchemaLib.coolSchema._extra |
|
private |
◆ _instance
python.AtlCoolSchemaLib.coolSchema._instance |
|
private |
◆ _logic
python.AtlCoolSchemaLib.coolSchema._logic |
|
private |
◆ _schema
python.AtlCoolSchemaLib.coolSchema._schema |
|
private |
The documentation for this class was generated from the following file: