Classes | |
class | _Col |
class | Connection |
class | DbRef |
class | Enum |
class | EnumMetaclass |
class | GlobalTag |
class | GlobalTagMap |
class | IOV |
class | Payload |
class | Synchronization |
class | Tag |
class | TagLog |
class | TimeType |
Variables | |
string | __author__ = 'Miguel Ojeda' |
string | __copyright__ = 'Copyright 2013, CERN' |
list | __credits__ = ['Giacomo Govi', 'Miguel Ojeda', 'Andreas Pfeiffer'] |
string | __email__ = 'mojedasa@cern.ch' |
string | __license__ = 'Unknown' |
string | __maintainer__ = 'Miguel Ojeda' |
tuple | _Base = sqlalchemy.ext.declarative.declarative_base() |
string | authPathEnvVar = 'COND_AUTH_PATH' |
string | contact_help = 'If you need assistance, please write an email to %s and %s. If you need immediate/urgent assistance, you can call the Offline DB expert on call (%s).' |
string | database_help |
dictionary | db_models = {} |
string | dbreader_user_name = 'cms_cond_general_r' |
string | dbuser_name = 'cms_conditions' |
string | dbwriter_user_name = 'cms_cond_general_w' |
int | description_length = 4000 |
string | devdbwriter_user_name = 'cms_test_conditions' |
string | empty_label = '-' |
tuple | hash_length = len(hash('')) |
tuple | logger = logging.getLogger(__name__) |
int | name_length = 100 |
string | offline_db_experts_email = 'cms-offlinedb-exp@cern.ch' |
string | offline_db_experts_phone = '+41 22 76 70817, or 70817 from CERN; check https://twiki.cern.ch/twiki/bin/viewauth/CMS/DBShifterHelpPage if it does not work; availability depends on the state of the LHC' |
dictionary | ora_types = {} |
string | schema_name = 'CMS_CONDITIONS' |
dictionary | sqlite_types = {} |
string | web_experts_email = 'cms-cond-dev@cern.ch' |
CMS Conditions DB Python library.
|
private |
Definition at line 553 of file conddblib.py.
References KineDebug3.count(), and alcazmumu_cfi.filter.
Referenced by listObject().
|
private |
Definition at line 452 of file conddblib.py.
References communicate().
Referenced by _getCMSFrontierSQLAlchemyConnectionString().
|
private |
Definition at line 457 of file conddblib.py.
References _getCMSFrontierConnectionString().
Referenced by make_url().
|
private |
Definition at line 462 of file conddblib.py.
Referenced by make_url().
|
private |
To be used inside filter().
Definition at line 564 of file conddblib.py.
Referenced by listObject().
Returns a Connection instance to the CMS Condition DB. See database_help for the description of the database parameter. The verbosity level is as follows: 0 = No output (default). 1 = SQL statements issued, including their parameters. 2 = In addition, results of the queries (all rows and the column headers).
Definition at line 506 of file conddblib.py.
def conddblib.fq_col | ( | schema, | |
table, | |||
column | |||
) |
def conddblib.fq_name | ( | schema_name, | |
table_name | |||
) |
Definition at line 177 of file conddblib.py.
def conddblib.getPayload | ( | session, | |
hash | |||
) |
Definition at line 616 of file conddblib.py.
References alcazmumu_cfi.filter.
def conddblib.getSchema | ( | tp | ) |
Definition at line 237 of file conddblib.py.
Referenced by conddblib.Connection.is_valid().
def conddblib.hash | ( | data | ) |
Definition at line 68 of file conddblib.py.
def conddblib.listObject | ( | session, | |
name, | |||
snapshot = None |
|||
) |
Definition at line 577 of file conddblib.py.
References _exists(), _inserted_before(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.all(), alcazmumu_cfi.filter, reco.get(), join(), and hitfit.scalar().
def conddblib.make_dbtype | ( | backendName, | |
schemaName, | |||
baseType | |||
) |
Definition at line 203 of file conddblib.py.
References fq_col().
Referenced by conddblib.Connection.get_dbtype().
Definition at line 468 of file conddblib.py.
References _getCMSFrontierSQLAlchemyConnectionString(), and _getCMSOracleSQLAlchemyConnectionString().
string conddblib.__author__ = 'Miguel Ojeda' |
Definition at line 4 of file conddblib.py.
string conddblib.__copyright__ = 'Copyright 2013, CERN' |
Definition at line 5 of file conddblib.py.
list conddblib.__credits__ = ['Giacomo Govi', 'Miguel Ojeda', 'Andreas Pfeiffer'] |
Definition at line 6 of file conddblib.py.
string conddblib.__email__ = 'mojedasa@cern.ch' |
Definition at line 9 of file conddblib.py.
string conddblib.__license__ = 'Unknown' |
Definition at line 7 of file conddblib.py.
string conddblib.__maintainer__ = 'Miguel Ojeda' |
Definition at line 8 of file conddblib.py.
tuple conddblib._Base = sqlalchemy.ext.declarative.declarative_base() |
Definition at line 175 of file conddblib.py.
string conddblib.authPathEnvVar = 'COND_AUTH_PATH' |
Definition at line 19 of file conddblib.py.
string conddblib.contact_help = 'If you need assistance, please write an email to %s and %s. If you need immediate/urgent assistance, you can call the Offline DB expert on call (%s).' |
Definition at line 83 of file conddblib.py.
string conddblib.database_help |
Definition at line 84 of file conddblib.py.
dictionary conddblib.db_models = {} |
Definition at line 183 of file conddblib.py.
string conddblib.dbreader_user_name = 'cms_cond_general_r' |
Definition at line 22 of file conddblib.py.
string conddblib.dbuser_name = 'cms_conditions' |
Definition at line 21 of file conddblib.py.
string conddblib.dbwriter_user_name = 'cms_cond_general_w' |
Definition at line 23 of file conddblib.py.
int conddblib.description_length = 4000 |
Definition at line 76 of file conddblib.py.
string conddblib.devdbwriter_user_name = 'cms_test_conditions' |
Definition at line 24 of file conddblib.py.
string conddblib.empty_label = '-' |
Definition at line 73 of file conddblib.py.
tuple conddblib.hash_length = len(hash('')) |
Definition at line 77 of file conddblib.py.
tuple conddblib.logger = logging.getLogger(__name__) |
Definition at line 25 of file conddblib.py.
Referenced by cscdqm::Configuration.printStats().
int conddblib.name_length = 100 |
Definition at line 75 of file conddblib.py.
string conddblib.offline_db_experts_email = 'cms-offlinedb-exp@cern.ch' |
Definition at line 80 of file conddblib.py.
string conddblib.offline_db_experts_phone = '+41 22 76 70817, or 70817 from CERN; check https://twiki.cern.ch/twiki/bin/viewauth/CMS/DBShifterHelpPage if it does not work; availability depends on the state of the LHC' |
Definition at line 81 of file conddblib.py.
dictionary conddblib.ora_types = {} |
Definition at line 184 of file conddblib.py.
string conddblib.schema_name = 'CMS_CONDITIONS' |
Definition at line 20 of file conddblib.py.
dictionary conddblib.sqlite_types = {} |
Definition at line 185 of file conddblib.py.
string conddblib.web_experts_email = 'cms-cond-dev@cern.ch' |
Definition at line 79 of file conddblib.py.