Classes | |
class | _Col |
class | BoostRunMap |
class | Connection |
class | DbRef |
class | GlobalTag |
class | GlobalTagMap |
class | IOV |
class | Payload |
class | RunInfo |
class | Synchronization |
class | Tag |
class | TagLog |
class | TagMetadata |
class | TimeType |
Functions | |
def | _exists (session, primary_key, value) |
def | _getCMSFrontierConnectionString (database) |
def | _getCMSSQLAlchemyConnectionString (technology, service, schema_name) |
def | _inserted_before (timestamp) |
def | connect (url, authPath=None, verbose=0) |
def | fq_col (schema, table, column) |
def | fq_name (schema_name, table_name) |
def | getPayload (session, hash) |
def | getSchema (tp) |
def | getSessionOnMasterDB (session1, session2) |
def | hash (data) |
def | listObject (session, name, snapshot=None) |
def | make_dbtype (backendName, schemaName, baseType) |
def | make_url (database='pro', read_only=True) |
CMS Conditions DB Python library.
|
private |
Definition at line 563 of file conddblib.py.
References KineDebug3.count(), and ALCARECOTkAlBeamHalo_cff.filter.
Referenced by listObject().
|
private |
Definition at line 448 of file conddblib.py.
References communicate(), and digitizers_cfi.strip.
Referenced by _getCMSSQLAlchemyConnectionString().
|
private |
Definition at line 452 of file conddblib.py.
References _getCMSFrontierConnectionString().
Referenced by make_url().
|
private |
To be used inside filter().
Definition at line 574 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 511 of file conddblib.py.
References str.
def conddblib.fq_col | ( | schema, | |
table, | |||
column | |||
) |
def conddblib.fq_name | ( | schema_name, | |
table_name | |||
) |
Definition at line 158 of file conddblib.py.
def conddblib.getPayload | ( | session, | |
hash | |||
) |
Definition at line 626 of file conddblib.py.
References ALCARECOTkAlBeamHalo_cff.filter.
def conddblib.getSchema | ( | tp | ) |
def conddblib.getSessionOnMasterDB | ( | session1, | |
session2 | |||
) |
Definition at line 426 of file conddblib.py.
References make_url().
def conddblib.hash | ( | data | ) |
Definition at line 49 of file conddblib.py.
Definition at line 587 of file conddblib.py.
References _exists(), _inserted_before(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.all(), ALCARECOTkAlBeamHalo_cff.filter, timingPdfMaker.get, join(), and hitfit.scalar().
def conddblib.make_dbtype | ( | backendName, | |
schemaName, | |||
baseType | |||
) |
Definition at line 182 of file conddblib.py.
References fq_col().
Referenced by conddblib.Connection.get_dbtype().
Definition at line 465 of file conddblib.py.
References _getCMSSQLAlchemyConnectionString().
Referenced by getSessionOnMasterDB().