Classes | |
class | _Col |
class | BoostRunMap |
class | Connection |
class | DbRef |
class | Enum |
class | EnumMetaclass |
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 591 of file conddblib.py.
References KineDebug3.count(), and ALCARECOTkAlBeamHalo_cff.filter.
Referenced by listObject().
|
private |
Definition at line 481 of file conddblib.py.
References communicate(), and digi_MixPreMix_cfi.strip.
Referenced by _getCMSSQLAlchemyConnectionString().
|
private |
Definition at line 485 of file conddblib.py.
References _getCMSFrontierConnectionString().
Referenced by make_url().
|
private |
To be used inside filter().
Definition at line 602 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 539 of file conddblib.py.
References harvestTrackValidationPlots.str.
def conddblib.fq_col | ( | schema, | |
table, | |||
column | |||
) |
def conddblib.fq_name | ( | schema_name, | |
table_name | |||
) |
Definition at line 191 of file conddblib.py.
def conddblib.getPayload | ( | session, | |
hash | |||
) |
Definition at line 654 of file conddblib.py.
References ALCARECOTkAlBeamHalo_cff.filter.
def conddblib.getSchema | ( | tp | ) |
def conddblib.getSessionOnMasterDB | ( | session1, | |
session2 | |||
) |
Definition at line 459 of file conddblib.py.
References make_url().
def conddblib.hash | ( | data | ) |
Definition at line 82 of file conddblib.py.
Definition at line 615 of file conddblib.py.
References _exists(), _inserted_before(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.all(), ALCARECOTkAlBeamHalo_cff.filter, reco.get(), join(), and hitfit.scalar().
def conddblib.make_dbtype | ( | backendName, | |
schemaName, | |||
baseType | |||
) |
Definition at line 215 of file conddblib.py.
References fq_col().
Referenced by conddblib.Connection.get_dbtype().
Definition at line 493 of file conddblib.py.
References _getCMSSQLAlchemyConnectionString().
Referenced by getSessionOnMasterDB().