Classes | |
class | Connection |
class | Enum |
class | EnumMetaclass |
class | GlobalTag |
class | GlobalTagMap |
class | IOV |
class | Payload |
class | Synchronization |
class | Tag |
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 | 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 |
int | description_length = 4000 |
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' |
string | web_experts_email = 'cms-cond-dev@cern.ch' |
CMS Conditions DB Python library.
|
private |
Definition at line 411 of file conddblib.py.
References prof2calltree.count, and alcazmumu_cfi.filter.
Referenced by listObject().
|
private |
Definition at line 336 of file conddblib.py.
References communicate().
Referenced by _getCMSFrontierSQLAlchemyConnectionString().
|
private |
Definition at line 341 of file conddblib.py.
References _getCMSFrontierConnectionString().
Referenced by make_url().
|
private |
Definition at line 346 of file conddblib.py.
Referenced by make_url().
|
private |
To be used inside filter().
Definition at line 422 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 386 of file conddblib.py.
def conddblib.getPayload | ( | session, | |
hash | |||
) |
Definition at line 474 of file conddblib.py.
References alcazmumu_cfi.filter.
def conddblib.hash | ( | data | ) |
Definition at line 63 of file conddblib.py.
def conddblib.listObject | ( | session, | |
name, | |||
snapshot = None |
|||
) |
Definition at line 435 of file conddblib.py.
References _exists(), _inserted_before(), cond::ecalcond.all, alcazmumu_cfi.filter, reco.get(), join(), and hitfit.scalar().
def conddblib.make_url | ( | database = 'pro' | ) |
Definition at line 352 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 171 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 78 of file conddblib.py.
string conddblib.database_help |
Definition at line 79 of file conddblib.py.
int conddblib.description_length = 4000 |
Definition at line 71 of file conddblib.py.
string conddblib.empty_label = '-' |
Definition at line 68 of file conddblib.py.
tuple conddblib.hash_length = len(hash('')) |
Definition at line 72 of file conddblib.py.
tuple conddblib.logger = logging.getLogger(__name__) |
Definition at line 20 of file conddblib.py.
Referenced by cscdqm::Configuration.printStats().
int conddblib.name_length = 100 |
Definition at line 70 of file conddblib.py.
string conddblib.offline_db_experts_email = 'cms-offlinedb-exp@cern.ch' |
Definition at line 75 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 76 of file conddblib.py.
string conddblib.web_experts_email = 'cms-cond-dev@cern.ch' |
Definition at line 74 of file conddblib.py.